aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-08-12 11:28:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-08-12 11:28:28 +0000
commitb4fb157d26df35f970780f56a7fd35960b42b976 (patch)
tree306a9b7568f18da9488b97dbaf75b0d2052de7b2
parent0ecf646abbbb657352ee1e959dc8b8d659f4ad3b (diff)
downloadports-b4fb157d26df35f970780f56a7fd35960b42b976.tar.gz
ports-b4fb157d26df35f970780f56a7fd35960b42b976.zip
Notes
-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