Changeset View
Changeset View
Standalone View
Standalone View
audio/lollypop/Makefile
# Created by: Olivier Duchateau | # Created by: Olivier Duchateau | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= lollypop | PORTNAME= lollypop | ||||
PORTVERSION= 0.9.15 | PORTVERSION= 0.9.15 | ||||
PORTREVISION= 2 | PORTREVISION= 2 | ||||
CATEGORIES= audio | CATEGORIES= audio | ||||
MASTER_SITES= https://github.com/gnumdk/${PORTNAME}/releases/download/${PORTVERSION}/ | MASTER_SITES= https://github.com/gnumdk/${PORTNAME}/releases/download/${PORTVERSION}/ | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Play and organize your music collection | COMMENT= Play and organize your music collection | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.8:databases/py-sqlite3 \ | BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.8:databases/py-sqlite3@${PY_FLAVOR} \ | ||||
itstool:textproc/itstool \ | itstool:textproc/itstool \ | ||||
${PYTHON_PKGNAMEPREFIX}dbus>=1.1.1:devel/py3-dbus \ | ${PYTHON_PKGNAMEPREFIX}dbus>=1.1.1:devel/py-dbus@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.4.0:multimedia/py3-gstreamer1 | ${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.4.0:multimedia/py-gstreamer1@${PY_FLAVOR} | ||||
LIB_DEPENDS= libnotify.so:devel/libnotify \ | LIB_DEPENDS= libnotify.so:devel/libnotify \ | ||||
libtotem-plparser.so:multimedia/totem-pl-parser | libtotem-plparser.so:multimedia/totem-pl-parser | ||||
USES= shebangfix python:3 pkgconfig gettext gmake sqlite tar:xz | USES= shebangfix python:3.4+ pkgconfig gettext gmake sqlite tar:xz | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USE_GNOME= glib20 gtk30 py3gobject3 introspection:build intltool intlhack | USE_GNOME= glib20 gtk30 py3gobject3 introspection:build intltool intlhack | ||||
USE_GSTREAMER1= yes mpg123 ogg flac opus libav faad good speex | USE_GSTREAMER1= yes mpg123 ogg flac opus libav faad good speex | ||||
USE_PYTHON= py3kplist | USE_PYTHON= py3kplist | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
SHEBANG_FILES= src/*.py | SHEBANG_FILES= src/*.py | ||||
GLIB_SCHEMAS= org.gnome.Lollypop.gschema.xml | GLIB_SCHEMAS= org.gnome.Lollypop.gschema.xml | ||||
OPTIONS_DEFINE= PULSEAUDIO | OPTIONS_DEFINE= PULSEAUDIO | ||||
PULSEAUDIO_USE= gstreamer1=pulse | PULSEAUDIO_USE= gstreamer1=pulse | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.mk> | ||||
.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \ | |||||
${PYTHON_VER} != ${PYTHON_DEFAULT} | |||||
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER} | |||||
.endif | |||||
.include <bsd.port.post.mk> |