44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
# DOES NOT CURRENTLY BUILD
|
|
# ../../../go/pkg/mod/github.com/wildeyedskies/go-mpv@v0.0.0-20221204042335-e8961dc66756/mpv/procaddr.go:56:8: could not determine kind of name for C.free
|
|
# ../../../go/pkg/mod/github.com/wildeyedskies/go-mpv@v0.0.0-20221204042335-e8961dc66756/mpv/procaddr.go:57:9: could not determine kind of name for C.glGetProcAddress
|
|
# *** Error 1 in . (/usr/ports/lang/go/go.port.mk:173 'do-build')
|
|
# *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3030 '/usr/ports/pobj/stmp-0.0.3/build-amd64/.build_done': @cd /usr/ports/mystuff...)
|
|
# *** Error 2 in /usr/ports/mystuff/audio/stmp (/usr/ports/infrastructure/mk/bsd.port.mk:2677 'fake': @lock=stmp-0.0.3; export _LOCKS_HELD=" ...)
|
|
|
|
COMMENT = Subsonic terminal music player
|
|
|
|
MODGO_MODNAME = github.com/wildeyedskies/stmp
|
|
MODGO_VERSION = v0.0.0-20231029181715-dc2d7782217a
|
|
PKGNAME = stmp-0.0.3
|
|
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = https://github.com/wildeyedskies/stmp
|
|
|
|
MAINTAINER = Russ Sharek <bsdclown@disroot.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
|
|
WANTLIB += c mpv pthread
|
|
LIB_DEPENDS = multimedia/mpv
|
|
|
|
CFLAGS += -I${LOCALBASE}/include
|
|
LDFLAGS += -L ${LOCALBASE}/lib
|
|
|
|
MAKE_FLAGS = CFLAGS="${CFLAGS}" \
|
|
CGO_CFLAGS="${CFLAGS}" \
|
|
CGO_LDFLAGS="${LDFLAGS}" \
|
|
GO_EXTRA_LDFLAGS="${LDFLAGS}" \
|
|
GOFLAGS="${MODGO_FLAGS}"
|
|
|
|
|
|
MODULES = lang/go
|
|
|
|
|
|
.include "modules.inc"
|
|
|
|
.include <bsd.port.mk>
|
|
|