Bug 185325 - audio/xmms-sid: Update to version 0.9.2
Summary: audio/xmms-sid: Update to version 0.9.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-30 21:10 UTC by tkato432
Modified: 2014-01-03 23:00 UTC (History)
0 users

See Also:


Attachments
file.diff (2.05 KB, patch)
2013-12-30 21:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-12-30 21:10:05 UTC
- Update to version 0.9.2
Comment 1 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-12-31 02:57:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-03 22:40:30 UTC
Author: danilo
Date: Fri Jan  3 22:40:22 2014
New Revision: 338586
URL: http://svnweb.freebsd.org/changeset/ports/338586

Log:
  - 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>

Modified:
  head/audio/xmms-sid/Makefile
  head/audio/xmms-sid/distinfo
  head/audio/xmms-sid/pkg-plist

Modified: head/audio/xmms-sid/Makefile
==============================================================================
--- head/audio/xmms-sid/Makefile	Fri Jan  3 22:21:54 2014	(r338585)
+++ head/audio/xmms-sid/Makefile	Fri Jan  3 22:40:22 2014	(r338586)
@@ -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>

Modified: head/audio/xmms-sid/distinfo
==============================================================================
--- head/audio/xmms-sid/distinfo	Fri Jan  3 22:21:54 2014	(r338585)
+++ head/audio/xmms-sid/distinfo	Fri Jan  3 22:40:22 2014	(r338586)
@@ -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

Modified: head/audio/xmms-sid/pkg-plist
==============================================================================
--- head/audio/xmms-sid/pkg-plist	Fri Jan  3 22:21:54 2014	(r338585)
+++ head/audio/xmms-sid/pkg-plist	Fri Jan  3 22:40:22 2014	(r338586)
@@ -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%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-03 23:00:43 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!