aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2007-06-06 22:01:06 +0800
committernaddy <naddy@FreeBSD.org>2007-06-06 22:01:06 +0800
commit55a2e232a5e694e9700f6674d5450d22f5b20e32 (patch)
tree5365e160b184632ffbc529a4380a99260138660d
parent813c6bc7c0ac3dd1a8f537c4baf56205671fc52c (diff)
downloadfreebsd-ports-gnome-55a2e232a5e694e9700f6674d5450d22f5b20e32.tar.gz
freebsd-ports-gnome-55a2e232a5e694e9700f6674d5450d22f5b20e32.tar.zst
freebsd-ports-gnome-55a2e232a5e694e9700f6674d5450d22f5b20e32.zip
Support the speex codec again.
Approved by: lofi
-rw-r--r--audio/akode-plugins-xiph/Makefile1
-rw-r--r--audio/akode-plugins-xiph/files/patch-akode_plugins_xiph__decoder_speex__decoder.cpp20
-rw-r--r--audio/akode-plugins-xiph/files/patch-configure31
3 files changed, 52 insertions, 0 deletions
diff --git a/audio/akode-plugins-xiph/Makefile b/audio/akode-plugins-xiph/Makefile
index cd74bbdeac93..b64c20ff414c 100644
--- a/audio/akode-plugins-xiph/Makefile
+++ b/audio/akode-plugins-xiph/Makefile
@@ -7,6 +7,7 @@
PORTNAME= akode-plugins-${PORTNAMESUFX}
PORTVERSION= 2.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_GENTOO}
diff --git a/audio/akode-plugins-xiph/files/patch-akode_plugins_xiph__decoder_speex__decoder.cpp b/audio/akode-plugins-xiph/files/patch-akode_plugins_xiph__decoder_speex__decoder.cpp
new file mode 100644
index 000000000000..70047f2abf3d
--- /dev/null
+++ b/audio/akode-plugins-xiph/files/patch-akode_plugins_xiph__decoder_speex__decoder.cpp
@@ -0,0 +1,20 @@
+
+$FreeBSD$
+
+--- akode/plugins/xiph_decoder/speex_decoder.cpp.orig
++++ akode/plugins/xiph_decoder/speex_decoder.cpp
+@@ -25,10 +25,10 @@
+ extern "C" {
+ #include <string.h>
+ #include <stdlib.h>
+-#include <speex.h>
+-#include <speex_header.h>
+-#include <speex_callbacks.h>
+-#include <speex_stereo.h>
++#include <speex/speex.h>
++#include <speex/speex_header.h>
++#include <speex/speex_callbacks.h>
++#include <speex/speex_stereo.h>
+ #include <ogg/ogg.h>
+ }
+
diff --git a/audio/akode-plugins-xiph/files/patch-configure b/audio/akode-plugins-xiph/files/patch-configure
new file mode 100644
index 000000000000..79349892b584
--- /dev/null
+++ b/audio/akode-plugins-xiph/files/patch-configure
@@ -0,0 +1,31 @@
+
+$FreeBSD$
+
+--- configure.orig
++++ configure
+@@ -22200,8 +22200,8 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+- #include <speex.h>
+- #include <speex_callbacks.h>
++ #include <speex/speex.h>
++ #include <speex/speex_callbacks.h>
+ #include <ogg/ogg.h>
+
+ int
+@@ -22350,10 +22350,10 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+- #include <speex.h>
+- #include <speex_callbacks.h>
+- #include <speex_echo.h>
+- #include <speex_preprocess.h>
++ #include <speex/speex.h>
++ #include <speex/speex_callbacks.h>
++ #include <speex/speex_echo.h>
++ #include <speex/speex_preprocess.h>
+ #include <ogg/ogg.h>
+
+ int