aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-08-12 19:28:28 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-08-12 19:28:28 +0800
commitc0644233e3a8a6e12fa137bab6a24fb093904a82 (patch)
tree9918d50a5998c77c1099509eda551b0e1a1d45c7 /audio
parent3c25c423e788a45069360a5fa02e37c1292e1c7d (diff)
downloadfreebsd-ports-gnome-c0644233e3a8a6e12fa137bab6a24fb093904a82.tar.gz
freebsd-ports-gnome-c0644233e3a8a6e12fa137bab6a24fb093904a82.tar.zst
freebsd-ports-gnome-c0644233e3a8a6e12fa137bab6a24fb093904a82.zip
- Update to 0.6
- Add license PR: 159428 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-fc/Makefile44
-rw-r--r--audio/xmms-fc/distinfo6
2 files changed, 39 insertions, 11 deletions
diff --git a/audio/xmms-fc/Makefile b/audio/xmms-fc/Makefile
index 0c3f15e4c161..79141417cd07 100644
--- a/audio/xmms-fc/Makefile
+++ b/audio/xmms-fc/Makefile
@@ -6,25 +6,51 @@
#
PORTNAME= xmms-fc
-PORTVERSION= 0.5.4
-PORTREVISION= 4
+PORTVERSION= 0.6
CATEGORIES= audio
-MASTER_SITES= SF
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME} \
+ SF/${PORTNAME}/${LIBFC_PORTNAME}:libfc
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${LIBFC_DISTNAME}${EXTRACT_SUFX}:libfc
MAINTAINER= ports@FreeBSD.org
COMMENT= A XMMS future composer input plugin
-BROKEN= does not fetch
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
-PLIST_FILES= lib/xmms/Input/libfc.so lib/xmms/Input/libfc.la
-GNU_CONFIGURE= yes
+USE_BZIP2= yes
USE_GNOME= gtk12
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" \
+ ac_cv_lib_fc14audiodecoder_fc14dec_new=yes
+CONFIGURE_ARGS= --disable-gtktest
USE_LDCONFIG= yes
-post-patch:
- @${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
+PLIST_FILES= lib/xmms/Input/fcdecoder.so lib/xmms/Input/fcdecoder.la
+
+CPPFLAGS= -I${WRKDIR}/${LIBFC_DISTNAME}/src
+LDFLAGS= -L${WRKDIR}/${LIBFC_DISTNAME}/src/.libs -lstdc++
+
+LIBFC_PORTNAME= libfc14audiodecoder
+LIBFC_PORTVERSION= 1.0.2
+LIBFC_DISTNAME= ${LIBFC_PORTNAME}-${LIBFC_PORTVERSION}
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CXXFLAGS+= -fPIC -DPIC
+.endif
+
+pre-configure:
+ @(cd ${WRKDIR}/${LIBFC_DISTNAME} && ./configure --disable-shared \
+ CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}")
+
+pre-build:
+ @(cd ${WRKDIR}/${LIBFC_DISTNAME} && ${SETENV} ${MAKE_ENV} ${MAKE} \
+ ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET} ${MAKE_ARGS})
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/audio/xmms-fc/distinfo b/audio/xmms-fc/distinfo
index 48795fe4bddf..a6fa05e3037f 100644
--- a/audio/xmms-fc/distinfo
+++ b/audio/xmms-fc/distinfo
@@ -1,2 +1,4 @@
-SHA256 (xmms-fc-0.5.4.tar.gz) = 406c362f2f00b5569940bf3ae4e78927cb93eb724016323547fd6f4c36c65c62
-SIZE (xmms-fc-0.5.4.tar.gz) = 326474
+SHA256 (xmms-fc-0.6.tar.bz2) = 75882111045f9443a8d64743aaa5aa06697e80ed0fcd261471ae4a2b72d2f0ca
+SIZE (xmms-fc-0.6.tar.bz2) = 260473
+SHA256 (libfc14audiodecoder-1.0.2.tar.bz2) = 41065b4ec18a2fb453dbc193072b01b9ec6feb64938a5cb63b3ce5ccea92145f
+SIZE (libfc14audiodecoder-1.0.2.tar.bz2) = 271043