1 # Created by: Gustau Perez <gustau.perez@gmail.com>
6 CATEGORIES= audio gnome
10 MAINTAINER= gnome@FreeBSD.org
11 COMMENT= GNOME music playing application
13 BUILD_DEPENDS= itstool:textproc/itstool
14 LIB_DEPENDS= libgrilo-0.2.so:net/grilo \
15 libmediaart-2.0.so:multimedia/libmediaart
17 PORTSCOUT= limitw:1,even
19 USES= gettext gmake gnome libtool pathfix pkgconfig python:3 tar:xz
21 USE_GNOME= gnomedesktop3 gtk30 intltool introspection:build
23 USE_GSTREAMER1= ogg mad
25 CPPFLAGS+= -I${LOCALBASE}/include
26 LDFLAGS+= -L${LOCALBASE}/lib
27 MAKE_ENV= XDG_CACHE_HOME=${WRKDIR}
28 INSTALL_TARGET= install-strip
30 GLIB_SCHEMAS= org.gnome.Music.gschema.xml
32 .include <bsd.port.pre.mk>
34 .if ${PYTHON_REL} < 3500
37 PYOEXTENSION= opt-1.pyc
40 PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} \
41 PYVER=${PYTHON_VER:S/.//}
43 .include <bsd.port.post.mk>