- update to 3.3.0
- convert Makefile header into two-line format - use PORTVERSION and common launchpad download url, as other launchpad ports do to remove complexity - update COMMENT (indefinite article removed) - remove LICENSE_FILE for common license (GPLv2) - convert py-* to ${PYTHON_PKGNAMEPREFIX} in dependencies - remove shlib version from hal library dependency - limit python version to 2.x only - remove conflicts with unexisting exaile-devel - convert to optionsng - remove reinplace (XDG), that's not needed anymore - remove deprecated attribution from pkg-descr - sort pkg-plist changelog: - see first news article on www.exaile.org PR: 171911 Submitted by: rm (myself) Approved by: jsa (maintainer)
This commit is contained in:
parent
a149596156
commit
5654168e6d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304817
@ -1,79 +1,58 @@
|
||||
# New ports collection makefile for: exaile
|
||||
# Date created: 19 December 2006
|
||||
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||
#
|
||||
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= exaile
|
||||
PORTVERSION= ${PORTVERSION_MAJOR}.${PORTVERSION_MINOR} # See below
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.3.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://launchpad.net/${LP_DIR}/ \
|
||||
MASTER_SITES= https://launchpadlibrarian.net/116926188/ \
|
||||
http://wickedmachine.net/mirror/
|
||||
|
||||
MAINTAINER= jsa@FreeBSD.org
|
||||
COMMENT= A full featured python-based music player for GTK+
|
||||
COMMENT= Full featured python-based music player for GTK+
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
RUN_DEPENDS= py*-mutagen>=1.11:${PORTSDIR}/audio/py-mutagen
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>=1.11:${PORTSDIR}/audio/py-mutagen
|
||||
|
||||
FETCH_ARGS= -pRr
|
||||
MAKE_ENV+= PYTHON2_CMD=${PYTHON_CMD} XDGCONFDIR=${PREFIX}/etc/xdg
|
||||
USE_GNOME= pygtk2 librsvg2
|
||||
USE_GSTREAMER= python good faad
|
||||
USE_PYTHON= 2.5+
|
||||
|
||||
CONFLICTS= exaile-devel-[0-9]*
|
||||
USE_PYTHON= -2.7
|
||||
|
||||
# The reality with these options is that they all will be autodetected and used
|
||||
# if already installed. These just force Exaile to bring them in as well.
|
||||
OPTIONS= BAD "Install bad GStreamer plugins" On \
|
||||
BDB "Install Python Berkley DB module" On \
|
||||
CDDB "Lookup CD information within Exaile" On \
|
||||
DBUS "Rely on Python D-Bus bindings" On \
|
||||
HAL "Force depend on HAL" On \
|
||||
NOTIFY "Enable desktop event notification" On \
|
||||
NLS "Native Language Support" On \
|
||||
SEXY "UI enhancements" On
|
||||
|
||||
PORTVERSION_MAJOR= 0.3.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION_MINOR= 2
|
||||
PORTREVISION= 1
|
||||
LP_DIR= ${PORTNAME}/${PORTVERSION_MAJOR}/${PORTVERSION}/+download
|
||||
OPTIONS_DEFINE= BAD BDB CDDB DBUS HAL NOTIFY NLS SEXY
|
||||
OPTIONS_DEFAULT=BAD BDB CDDB DBUS HAL NOTIFY NLS SEXY
|
||||
BAD_DESC= Install bad GStreamer plugins
|
||||
SEXY_DESC= UI enhancements
|
||||
|
||||
MANCOMPRESSED= yes
|
||||
MAN1= exaile.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !defined(WITHOUT_BAD)
|
||||
.if ${PORT_OPTIONS:MBAD}
|
||||
USE_GSTREAMER+= bad
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_BDB)
|
||||
RUN_DEPENDS+= py*-bsddb>=2.5:${PORTSDIR}/databases/py-bsddb
|
||||
.if ${PORT_OPTIONS:MCDDB}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cddb>=1.4:${PORTSDIR}/audio/py-cddb
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_CDDB)
|
||||
RUN_DEPENDS+= py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb
|
||||
.if ${PORT_OPTIONS:MDBUS}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.1:${PORTSDIR}/devel/py-dbus
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_DBUS)
|
||||
RUN_DEPENDS+= py*-dbus>=0.82.1:${PORTSDIR}/devel/py-dbus
|
||||
.if ${PORT_OPTIONS:MHAL}
|
||||
LIB_DEPENDS+= hal:${PORTSDIR}/sysutils/hal
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_HAL)
|
||||
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
||||
.if ${PORT_OPTIONS:MNOTIFY}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}notify>=0.1.1:${PORTSDIR}/devel/py-notify
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_NOTIFY)
|
||||
RUN_DEPENDS+= py*-notify>=0.1.1:${PORTSDIR}/devel/py-notify
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
@ -81,12 +60,11 @@ PLIST_SUB+= NLS="@comment "
|
||||
INSTALL_TARGET= install_no_locale
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SEXY)
|
||||
RUN_DEPENDS+= py*-sexy>=0.1.9:${PORTSDIR}/x11-toolkits/py-sexy
|
||||
.if ${PORT_OPTIONS:MSEXY}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sexy>=0.1.9:${PORTSDIR}/x11-toolkits/py-sexy
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$$(XDG|$$(PREFIX)$$(XDG|g' \
|
||||
-e 's|share\/man|man|g' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|share\/man|man|g' ${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (exaile-0.3.2.2.tar.gz) = e01a6b8c866187d3a29278226f883c59988291c27dcec1a1db3e03c9f14e1cfe
|
||||
SIZE (exaile-0.3.2.2.tar.gz) = 2072973
|
||||
SHA256 (exaile-3.3.0.tar.gz) = 556c65c4bb71a12e239387386a8aef2600afc0ed290b13e17f676bc13abede31
|
||||
SIZE (exaile-3.3.0.tar.gz) = 3118961
|
||||
|
@ -4,5 +4,4 @@ information via Wikipedia, Last.fm scrobbling, support for many portable
|
||||
media players including iPods, internet radio such as shoutcast, and tabbed
|
||||
playlists.
|
||||
|
||||
Author: Adam Olsen <arolsen@gmail.com>
|
||||
WWW: http://www.exaile.org/
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user