svn commit: r423476 - head/audio/xmms-gbsplay
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Oct 7 18:16:22 UTC 2016
Author: ehaupt
Date: Fri Oct 7 18:16:21 2016
New Revision: 423476
URL: https://svnweb.freebsd.org/changeset/ports/423476
Log:
- While the main CLI player of gbsplay is receiving updates and is actively
maintained the XMMS plugin doesn't work past this version. Rather than
removing the still working XMMS plugin in this version, decouple the slave
port from master port and leave it at this version. This allows for the CLI
player to be updated independently.
- Add NLS option and therefore bump PORTREVISION
- The CLI player is not needed as a run-dependency
- Update WWW
- Add license
Added:
head/audio/xmms-gbsplay/distinfo (contents, props changed)
Modified:
head/audio/xmms-gbsplay/Makefile
head/audio/xmms-gbsplay/pkg-descr
Modified: head/audio/xmms-gbsplay/Makefile
==============================================================================
--- head/audio/xmms-gbsplay/Makefile Fri Oct 7 18:15:56 2016 (r423475)
+++ head/audio/xmms-gbsplay/Makefile Fri Oct 7 18:16:21 2016 (r423476)
@@ -1,30 +1,40 @@
# Created by: Emanuel Haupt <ehaupt at critical.ch>
# $FreeBSD$
+PORTNAME= gbsplay
+PORTVERSION= 0.0.8
+PORTREVISION= 8
+CATEGORIES= audio
+MASTER_SITES= LOCAL/ehaupt
PKGNAMEPREFIX= xmms-
+MAINTAINER= ehaupt at FreeBSD.org
COMMENT= XMMS plugin for playing Nintendo Game Boy(TM) audio
-MASTERDIR= ${.CURDIR}/../gbsplay
+LICENSE= GPLv2
BUILD_DEPENDS= xmms:multimedia/xmms
-RUN_DEPENDS= xmms:multimedia/xmms \
- gbsplay:audio/gbsplay
+RUN_DEPENDS= xmms:multimedia/xmms
USE_GNOME= glib12
USE_GCC= any
+HAS_CONFIGURE= yes
+USES= gmake
+USE_CSTD= gnu89
-CONFIGURE_ARGS= --disable-nas
+OPTIONS_DEFINE= NLS
-DESCR= ${.CURDIR}/pkg-descr
-PLIST= ${.CURDIR}/pkg-plist
+NLS_CONFIGURE_OFF= --disable-i18n
+NLS_USES= gettext-runtime
+
+CONFIGURE_ARGS= --disable-nas --prefix=${PREFIX}
PLIST_FILES= lib/xmms/Input/gbsxmms.so
post-extract:
@${RM} -f ${WRKSRC}/po/subdir.mk
-gbsplay-post-patch:
+post-patch:
@${REINPLACE_CMD} -e \
's|`which xmms-config`||; \
s|\(xmms-config\)|${LOCALBASE}/bin/\1|g; \
@@ -36,10 +46,23 @@ gbsplay-post-patch:
's|^objs += $$(objs_gbsplay) $$(objs_gbsinfo)||; \
s|^dsts += gbsplay gbsinfo||; \
/^default:/ s|$$(mans)||' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|^\(default.*\)test|\1|' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e \
+ '/^need_include\ /d; \
+ 468s|char argc|int argc|; \
+ s|/usr/local/include|${LOCALBASE}/include|; \
+ s|/usr/local/lib|${LOCALBASE}/lib|; \
+ s|/usr/X11R6/include||; \
+ s|/usr/X11R6/lib||; \
+ s|/usr/X11/lib|${LOCALBASE}/lib|; \
+ s|/usr/lib/X11|${LOCALBASE}/lib/X11|; \
+ s|-Os||; s|-pipe||; s|-fomit-frame-pointer||; \
+ s|-march=$$ARCH||' \
+ ${WRKSRC}/configure
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Input
${INSTALL_PROGRAM} ${WRKSRC}/gbsxmms.so \
${STAGEDIR}${PREFIX}/lib/xmms/Input
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>
Added: head/audio/xmms-gbsplay/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/xmms-gbsplay/distinfo Fri Oct 7 18:16:21 2016 (r423476)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475768149
+SHA256 (gbsplay-0.0.8.tar.gz) = 9bd95118741315e991dfe4f5108128817725c924ba81bb4938de45290e8f0926
+SIZE (gbsplay-0.0.8.tar.gz) = 57033
Modified: head/audio/xmms-gbsplay/pkg-descr
==============================================================================
--- head/audio/xmms-gbsplay/pkg-descr Fri Oct 7 18:15:56 2016 (r423475)
+++ head/audio/xmms-gbsplay/pkg-descr Fri Oct 7 18:16:21 2016 (r423476)
@@ -2,4 +2,4 @@ xmms-gbsplay is a XMMS input plugin whic
Nintendo Game Boy(TM). It is able to play the sounds from a Game Boy(TM)
module dump (.GBS format) in XMMS.
-WWW: http://gbsplay.berlios.de/
+WWW: https://www.cgarbs.de/gbsplay.en.html
More information about the svn-ports-head
mailing list