# $OpenBSD: Makefile.template,v 1.90 2021/02/25 21:59:27 sthen Exp $
#

#
# Very short description of the package (<=60 chars, usually starts lower-case)
#		|----------------------------------------------------------|
COMMENT = MPRIS command-line controller and library
# COMMENT-foo =	???	for multi packages


#
# github:
# /releases/ -> preferred. ignore GH_*, just use MASTER_SITES and DISTNAME.
# /archive/ ->  GH_ACCOUNT and GH_PROJECT, plus either GH_TAGNAME or GH_COMMIT.
#
# set DISTNAME if using GH_COMMIT, or if using GH_TAGNAME and the tag is not in
# the format "v1.00" or "1.00".
#
GH_ACCOUNT =    altdesktop
GH_PROJECT =	playerctl
GH_TAGNAME =	v2.4.1
#GH_COMMIT =	b19a71cb9dba635df68d271bd2b3f6a99336a223

# for any port that creates shared libraries.
# both libtool and cmake automatically set filenames based on this variable.
# for libtool- or cmake-based ports, have a look at WRKBUILD/shared_libs.log
SHARED_LIBS =	playerctl	0.0

# the category used in the directory name, /usr/ports/<category>/portname,
# must be included and listed first.
CATEGORIES = audio multimedia

# https preferred for HOMEPAGE
#HOMEPAGE =	???	URL

# person who is responsible for the port. Use a complete email address with
# a real name, e.g., "MAINTAINER = John Doe <doe57@machine.somewhere.org>".
# If you maintain several ports, use the same line each time.
# If you no longer use the port, or are unwilling/unable to handle issues
# in a timely manner, *leave the field blank*.
# Default value is ports@openbsd.org, no need to fill in
#MAINTAINER =		???

# LGPL3+
PERMIT_PACKAGE 	  =	Yes 
#PERMIT_DISTFILES =	Yes

# "make port-lib-depends-check" can help
WANTLIB = c gio-2.0 glib-2.0 gobject-2.0


# Any modules we may be using
MODULES =	devel/meson devel/cmake

# Dependencies
BUILD_DEPENDS =	textproc/gtk-doc
#RUN_DEPENDS =		???
LIB_DEPENDS   =	devel/glib2
#TEST_DEPENDS =		???
# build/configuration variables
#
SEPARATE_BUILD =	Yes (build in a directory other than WRKSRC)
#SEPARATE_BUILD =	flavored (distinct flavors may share a common WRKSRC)
#USE_GMAKE =		Yes
#USE_GROFF =		Yes
#USE_LIBTOOL=		gnu

# Things that we don't want to do for this port/package
# Generally, DON'T set anything to No if it's not needed.
# The time gained is not worth it.
#
#NO_BUILD =		Yes
NO_TEST =		Yes


.include <bsd.port.mk>
