1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Support the speex codec again.

Approved by:	lofi
This commit is contained in:
Christian Weisgerber 2007-06-06 14:01:06 +00:00
parent b05482dc57
commit 0f3da62f57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192926
3 changed files with 52 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= akode-plugins-${PORTNAMESUFX}
PORTVERSION= 2.0.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_GENTOO}

View File

@ -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>
}

View File

@ -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