Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2013 05:46:40 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/185325: audio/xmms-sid: Update to version 0.9.2
Message-ID:  <20131231054640.7dbaa1e59213cfa39be8a95c@yahoo.com>
Resent-Message-ID: <201312302110.rBULA5FV098709@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185325
>Category:       ports
>Synopsis:       audio/xmms-sid: Update to version 0.9.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 30 21:10:05 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.2

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/xmms-sid/Makefile audio/xmms-sid/Makefile
--- /usr/ports/audio/xmms-sid/Makefile	2013-12-12 02:41:57.000000000 +0900
+++ audio/xmms-sid/Makefile	2013-12-31 00:00:05.000000000 +0900
@@ -2,23 +2,45 @@
 # $FreeBSD: head/audio/xmms-sid/Makefile 336166 2013-12-11 14:35:36Z bapt $
 
 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=	SIDPLAY2
+SIDPLAY2_DESC=	LibSIDPlay2 support
 
 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
+
+.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>
diff -urN /usr/ports/audio/xmms-sid/distinfo audio/xmms-sid/distinfo
--- /usr/ports/audio/xmms-sid/distinfo	2013-11-06 21:52:08.000000000 +0900
+++ audio/xmms-sid/distinfo	2013-12-31 00:00:05.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131231054640.7dbaa1e59213cfa39be8a95c>