summaryrefslogtreecommitdiffstats
path: root/audio/exaile/Makefile
blob: bb9a025673f1b4f626d2f6c865b43a6e4f5dc136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	exaile
PORTVERSION=	3.4.5
CATEGORIES=	audio
MASTER_SITES=	https://github.com/exaile/exaile/releases/download/${PORTVERSION}/

MAINTAINER=	rm@FreeBSD.org
COMMENT=	Full featured python-based music player for GTK+

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mutagen>=1.11:audio/py-mutagen

MAKE_ENV+=	PYTHON2_CMD=${PYTHON_CMD} XDGCONFDIR=${PREFIX}/etc/xdg
USES=		desktop-file-utils gmake python:2
USE_GNOME=	pygtk2 librsvg2
USE_GSTREAMER=	good faad python
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE=		BAD CDDB DBUS HAL NOTIFY NLS SEXY
OPTIONS_DEFAULT=	BAD CDDB DBUS HAL NOTIFY NLS SEXY
OPTIONS_SUB=		yes
BAD_DESC=		Install bad GStreamer plugins
BAD_USE=		GSTREAMER=bad
CDDB_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cddb>=1.4:audio/py-cddb
DBUS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>=0.82.1:devel/py-dbus
HAL_LIB_DEPENDS=	libhal.so:sysutils/hal
NOTIFY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}notify>=0.1.1:devel/py-notify
NLS_USES=		gettext
NLS_INSTALL_TARGET_OFF=	install_no_locale
SEXY_DESC=		UI enchancements
SEXY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sexy>=0.1.9:x11-toolkits/py-sexy

post-patch:
	@${REINPLACE_CMD} -e 's|share/man|man|g' ${WRKSRC}/Makefile

.include <bsd.port.mk>
OpenPOWER on IntegriCloud