aboutsummaryrefslogtreecommitdiff
path: root/audio/akode-plugins-oss
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2006-01-08 19:32:36 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2006-01-08 19:32:36 +0000
commit7710b55bc3f0d213f6344fa1a608919c44a344b5 (patch)
tree55eace3b8e7907f8b07ed3c7b0695add019fe3b0 /audio/akode-plugins-oss
parent27f7ce2fe2b84f6569fce9b395c31ff011d9ae1a (diff)
downloadports-7710b55bc3f0d213f6344fa1a608919c44a344b5.tar.gz
ports-7710b55bc3f0d213f6344fa1a608919c44a344b5.zip
Notes
Diffstat (limited to 'audio/akode-plugins-oss')
-rw-r--r--audio/akode-plugins-oss/Makefile38
-rw-r--r--audio/akode-plugins-oss/distinfo5
-rw-r--r--audio/akode-plugins-oss/files/patch-akode_Makefile.in11
-rw-r--r--audio/akode-plugins-oss/files/patch-akode_plugins-Makefile.in15
-rw-r--r--audio/akode-plugins-oss/files/patch_akode_plugins_Makefile.in14
5 files changed, 50 insertions, 33 deletions
diff --git a/audio/akode-plugins-oss/Makefile b/audio/akode-plugins-oss/Makefile
index cea2107ecc8f..eb1fbed6f186 100644
--- a/audio/akode-plugins-oss/Makefile
+++ b/audio/akode-plugins-oss/Makefile
@@ -6,42 +6,46 @@
#
PORTNAME= akode-plugins-${PORTNAMESUFX}
-PORTVERSION= ${KDE_VERSION}
+PORTVERSION= 2.0.r1
+PORTEPOCH= 1
CATEGORIES= audio kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
-PKGNAMEPREFIX= kdemultimedia-
-DISTNAME= kdemultimedia-${PORTVERSION}
-DIST_SUBDIR= KDE
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
+ http://www.kde-apps.org/content/
+MASTER_SITE_SUBDIR=lofi
+DISTNAME= 'download.php?content=30375'
+EXTRACT_SUFX= # none
MAINTAINER= kde@FreeBSD.org
COMMENT= OSS output plugin for akode
-EXTRA_PATCHES= ${.CURDIR}/../../multimedia/kdemultimedia3/files/patch-configure
-
CONFLICTS= kdemultimedia-3.[1-3]*
+FETCH_CMD= /usr/bin/fetch -Rr
+
PLUGIN= oss_sink
PORTNAMESUFX= ${PLUGIN:S/_sink//:S/_decoder//:S/src_//}
-USE_KDELIBS_VER=3
-PREFIX= ${KDE_PREFIX}
-
-USE_BZIP2= yes
+USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
USE_GMAKE= yes
-WRKSRC= ${WRKDIR}/kdemultimedia-${PORTVERSION}
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/akode-2.0rc1
INSTALLS_SHLIB= yes
+CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
+ --with-extra-includes=${LOCALBASE}/include
+
+post-patch:
+ @${SETENV} TZ=UTC \
+ ${TOUCH} -t 200511231529.06 ${WRKSRC}/akode/lib/akode_export.h.in
+
pre-configure:
@${REINPLACE_CMD} -e 's@%%SUBDIRS%%@${PLUGIN}@g' ${WRKSRC}/akode/plugins/Makefile.in
do-build:
- cd ${WRKSRC}/arts/runtime && gmake
- cd ${WRKSRC}/akode && gmake
+ cd ${WRKSRC}/akode && ${GMAKE}
do-install:
- cd ${WRKSRC}/akode/plugins/${PLUGIN} && gmake install
+ cd ${WRKSRC}/akode/plugins/${PLUGIN} && ${GMAKE} install
-.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.mk>
diff --git a/audio/akode-plugins-oss/distinfo b/audio/akode-plugins-oss/distinfo
index 87b7455e0327..fb41904535c8 100644
--- a/audio/akode-plugins-oss/distinfo
+++ b/audio/akode-plugins-oss/distinfo
@@ -1,2 +1,3 @@
-MD5 (KDE/kdemultimedia-3.4.3.tar.bz2) = 49fed5afad01c322d3bc8c6a175d1898
-SIZE (KDE/kdemultimedia-3.4.3.tar.bz2) = 5495757
+MD5 (download.php?content=30375) = 9d3f06d36cdcbf3c5f3a57021d2abc4e
+SHA256 (download.php?content=30375) = 26f77ca7f41e494b7e97c2cf2f7aad2a3cd77f7f6728118d0b8b9b752a655b1a
+SIZE (download.php?content=30375) = 650104
diff --git a/audio/akode-plugins-oss/files/patch-akode_Makefile.in b/audio/akode-plugins-oss/files/patch-akode_Makefile.in
new file mode 100644
index 000000000000..2b2f77e6972a
--- /dev/null
+++ b/audio/akode-plugins-oss/files/patch-akode_Makefile.in
@@ -0,0 +1,11 @@
+--- akode/Makefile.in.orig Tue Nov 29 17:51:19 2005
++++ akode/Makefile.in Tue Nov 29 17:51:05 2005
+@@ -247,7 +247,7 @@
+ unsermake_enable_pch_FALSE = @unsermake_enable_pch_FALSE@
+ unsermake_enable_pch_TRUE = @unsermake_enable_pch_TRUE@
+ bin_SCRIPTS = akode-config
+-SUBDIRS = lib plugins akodeplay
++SUBDIRS = lib plugins
+ #>- all: all-recursive
+ #>+ 1
+ all: docs-am all-recursive
diff --git a/audio/akode-plugins-oss/files/patch-akode_plugins-Makefile.in b/audio/akode-plugins-oss/files/patch-akode_plugins-Makefile.in
new file mode 100644
index 000000000000..c43387754ff0
--- /dev/null
+++ b/audio/akode-plugins-oss/files/patch-akode_plugins-Makefile.in
@@ -0,0 +1,15 @@
+--- akode/plugins/Makefile.in.orig Tue Nov 29 18:10:20 2005
++++ akode/plugins/Makefile.in Tue Nov 29 18:10:45 2005
+@@ -252,11 +252,7 @@
+ @include_sun_sink_TRUE@AKODE_SUN_SINK = sun_sink
+ @include_jack_sink_TRUE@AKODE_JACK_SINK = jack_sink
+ @include_polyp_sink_TRUE@AKODE_POLYP_SINK = polyp_sink
+-SUBDIRS = $(AKODE_MPC_DECODER) $(AKODE_XIPH_DECODER) \
+- $(AKODE_MPEG_DECODER) $(AKODE_FFMPEG_DECODER) \
+- $(AKODE_ALSA_SINK) $(AKODE_OSS_SINK) $(AKODE_SUN_SINK) \
+- $(AKODE_JACK_SINK) $(AKODE_POLYP_SINK) \
+- $(AKODE_SRC_RESAMPLER)
++SUBDIRS = %%SUBDIRS%%
+
+ #>- all: all-recursive
+ #>+ 1
diff --git a/audio/akode-plugins-oss/files/patch_akode_plugins_Makefile.in b/audio/akode-plugins-oss/files/patch_akode_plugins_Makefile.in
deleted file mode 100644
index b83c697c3593..000000000000
--- a/audio/akode-plugins-oss/files/patch_akode_plugins_Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- akode/plugins/Makefile.in.orig Wed Mar 16 14:00:40 2005
-+++ akode/plugins/Makefile.in Wed Mar 16 14:02:20 2005
-@@ -468,10 +468,7 @@
- @include_oss_sink_TRUE@AKODE_OSS_SINK = oss_sink
- @include_jack_sink_TRUE@AKODE_JACK_SINK = jack_sink
- @include_polyp_sink_TRUE@AKODE_POLYP_SINK = polyp_sink
--SUBDIRS = $(AKODE_MPC_DECODER) $(AKODE_XIPH_DECODER) $(AKODE_MPEG_DECODER) \
-- $(AKODE_ALSA_SINK) $(AKODE_OSS_SINK) $(AKODE_JACK_SINK) $(AKODE_POLYP_SINK) \
-- $(AKODE_SRC_RESAMPLER)
--
-+SUBDIRS = %%SUBDIRS%%
- #>- all: all-recursive
- #>+ 1
- all: docs-am all-recursive