1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Update from 0.9.0 to 0.9.2

- Add SIDPLAY2 option

while here
- Add NLS option

PR:		ports/185325
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Danilo Egea Gondolfo 2014-01-03 22:40:22 +00:00
parent 6e5f6f489d
commit 4b7ad650f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338586
3 changed files with 44 additions and 18 deletions

View File

@ -2,23 +2,49 @@
# $FreeBSD$
PORTNAME= xmms-sid
PORTVERSION= 0.9.0
PORTVERSION= 0.9.2
CATEGORIES= audio
MASTER_SITES= http://www.tnsp.org/xs-files/
MAINTAINER= ports@FreeBSD.org
COMMENT= XMMS input plugin to play SID files
LIB_DEPENDS= libsidplay.so:${PORTSDIR}/audio/libsidplay
BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms
OPTIONS_DEFINE= NLS SIDPLAY2
SIDPLAY2_DESC= LibSIDPlay2 support
OPTIONS_SUB= yes
USE_BZIP2= yes
USES= gettext
USE_GNOME= gtk12
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules
USE_LDCONFIG= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} \
--with-sidplay1=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSIDPLAY2}
LIB_DEPENDS+= libsidplay2.so:${PORTSDIR}/audio/libsidplay2
USES+= pkgconfig
CONFIGURE_ARGS+=--with-sidplay2 --without-sidplay1
.else
LIB_DEPENDS+= libsidplay.so:${PORTSDIR}/audio/libsidplay
CONFIGURE_ARGS+=--with-sidplay1 --without-sidplay2
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|--libs libsidplay2|--libs-only-L libsidplay2|' \
${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (xmms-sid-0.9.0.tar.bz2) = 49e86dfc46f192b654150f1d8ac8db6658e86f7dff2ca9b730fca80b637584b6
SIZE (xmms-sid-0.9.0.tar.bz2) = 640314
SHA256 (xmms-sid-0.9.2.tar.bz2) = c73fe24b31f5aa846fe16a0220d0166dab08562be048b68f2b1a38b0cb7ecd3a
SIZE (xmms-sid-0.9.2.tar.bz2) = 647227

View File

@ -1,11 +1,11 @@
lib/xmms/Input/libxmmssid.so
share/locale/de/LC_MESSAGES/xmms-sid.mo
share/locale/en@boldquot/LC_MESSAGES/xmms-sid.mo
share/locale/en@quot/LC_MESSAGES/xmms-sid.mo
share/locale/fi/LC_MESSAGES/xmms-sid.mo
share/xmms-sid/Kummatti_City.sid
@dirrmtry share/locale/en@quot
@dirrmtry share/locale/en@quot/LC_MESSAGES
@dirrmtry share/locale/en@boldquot
@dirrmtry share/locale/en@boldquot/LC_MESSAGES
@dirrm share/xmms-sid
%%NLS%%share/locale/de/LC_MESSAGES/xmms-sid.mo
%%NLS%%share/locale/en@boldquot/LC_MESSAGES/xmms-sid.mo
%%NLS%%share/locale/en@quot/LC_MESSAGES/xmms-sid.mo
%%NLS%%share/locale/fi/LC_MESSAGES/xmms-sid.mo
%%DATADIR%%/Kummatti_City.sid
%%NLS%%@dirrmtry share/locale/en@quot
%%NLS%%@dirrmtry share/locale/en@quot/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/en@boldquot
%%NLS%%@dirrmtry share/locale/en@boldquot/LC_MESSAGES
@dirrm %%DATADIR%%