diff options
Diffstat (limited to 'opencore-amr')
-rw-r--r-- | opencore-amr/PKGBUILD | 21 | ||||
-rw-r--r-- | opencore-amr/no_segfault_configure.diff | 11 | ||||
-rw-r--r-- | opencore-amr/opencore-amr-0.1.1-arch-paths.patch | 28 | ||||
-rw-r--r-- | opencore-amr/opencore-amr-0.1.1-gentoo-pic.patch | 66 |
4 files changed, 0 insertions, 126 deletions
diff --git a/opencore-amr/PKGBUILD b/opencore-amr/PKGBUILD deleted file mode 100644 index 755a7c8..0000000 --- a/opencore-amr/PKGBUILD +++ /dev/null @@ -1,21 +0,0 @@ -# Contributor: WAntilles <wantilles@adslgr.com> - -pkgname=opencore-amr -pkgver=0.1.2 -pkgrel=1 -pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec" -arch=('i686' 'x86_64') -license=('GPL') -url="http://opencore-amr.sourceforge.net/" -depends=('glibc') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('8e8b8b253eb046340ff7b6bf7a6ccd3e') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR=${pkgdir}/ install || return 1 -} - diff --git a/opencore-amr/no_segfault_configure.diff b/opencore-amr/no_segfault_configure.diff deleted file mode 100644 index 2dd5fe4..0000000 --- a/opencore-amr/no_segfault_configure.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.old 2008-11-15 23:27:59.000000000 +0100 -+++ b/configure 2008-11-15 23:28:26.000000000 +0100 -@@ -79,7 +79,7 @@ - } - - tmp_run() { -- "$TMPEXE" >> "$TMPLOG" 2>&1 -+ : - } - - # Display error message, flushes tempfile, exit diff --git a/opencore-amr/opencore-amr-0.1.1-arch-paths.patch b/opencore-amr/opencore-amr-0.1.1-arch-paths.patch deleted file mode 100644 index 36a4cfe..0000000 --- a/opencore-amr/opencore-amr-0.1.1-arch-paths.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: opencore-amr/amrnb/Makefile -=================================================================== ---- opencore-amr.orig/amrnb/Makefile -+++ opencore-amr/amrnb/Makefile -@@ -10,7 +10,7 @@ - endif - - ifeq (, $(PREFIX)) -- PREFIX = /usr/local -+ PREFIX = /usr - endif - - DEC_DIR = $(AMR_BASE)/amr_nb/dec - -Index: opencore-amr/amrwb/Makefile -=================================================================== ---- opencore-amr.orig/amrwb/Makefile -+++ opencore-amr/amrwb/Makefile -@@ -10,7 +10,7 @@ - endif - - ifeq (, $(PREFIX)) -- PREFIX = /usr/local -+ PREFIX = /usr - endif - - DEC_DIR = $(AMR_BASE)/amr_wb/dec - diff --git a/opencore-amr/opencore-amr-0.1.1-gentoo-pic.patch b/opencore-amr/opencore-amr-0.1.1-gentoo-pic.patch deleted file mode 100644 index 1664ac4..0000000 --- a/opencore-amr/opencore-amr-0.1.1-gentoo-pic.patch +++ /dev/null @@ -1,66 +0,0 @@ -Index: opencore-amr/amrnb/Makefile -=================================================================== ---- opencore-amr.orig/amrnb/Makefile -+++ opencore-amr/amrnb/Makefile -@@ -41,6 +41,7 @@ COMMON_OBJS := $(COMMON_SRC:.cpp=.o) - COMMON_OBJS := $(patsubst %,$(COMMON_SRC_DIR)/%, $(COMMON_OBJS)) - - OBJS = wrapper.o $(DEC_OBJS) $(ENC_OBJS) $(COMMON_OBJS) -+SOBJS = $(OBJS:%.o=%.lo) - - #Versioning - MAJOR = 0 -@@ -59,13 +60,19 @@ SHLIB = libopencore-amrnb.$(SHLIB_EXT) - - all: libopencore-amrnb.a $(SHLIB) - --$(SHLIB): $(OBJS) -+$(SHLIB): $(SOBJS) - ifeq ($(shell uname), Darwin) - $(CXX) $(SHLIB_FLAGS) -o $@ $+ $(LDFLAGS) - else - $(CXX) $(SHLIB_FLAGS) -o $@ $+ -Wl,-soname,$(SONAME) $(LDFLAGS) - endif - -+%.lo: %.c -+ $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -DPIC -c $< -o $@ -+ -+%.lo: %.cpp -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -fPIC -DPIC -c $< -o $@ -+ - libopencore-amrnb.a: $(OBJS) - ar rcs $@ $+ - -Index: opencore-amr/amrwb/Makefile -=================================================================== ---- opencore-amr.orig/amrwb/Makefile -+++ opencore-amr/amrwb/Makefile -@@ -27,6 +27,7 @@ DEC_OBJS := $(DEC_SRC:.cpp=.o) - DEC_OBJS := $(patsubst %,$(DEC_SRC_DIR)/%, $(DEC_OBJS)) - - OBJS = wrapper.o $(DEC_OBJS) -+SOBJS = $(OBJS:%.o=%.lo) - - #Versioning - MAJOR = 0 -@@ -45,13 +46,19 @@ SHLIB = libopencore-amrwb.$(SHLIB_EXT) - - all: libopencore-amrwb.a $(SHLIB) - --$(SHLIB): $(OBJS) -+$(SHLIB): $(SOBJS) - ifeq ($(shell uname), Darwin) - $(CXX) $(SHLIB_FLAGS) -o $@ $+ $(LDFLAGS) - else - $(CXX) $(SHLIB_FLAGS) -o $@ $+ -Wl,-soname,$(SONAME) $(LDFLAGS) - endif - -+%.lo: %.c -+ $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -DPIC -c $< -o $@ -+ -+%.lo: %.cpp -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -fPIC -DPIC -c $< -o $@ -+ - libopencore-amrwb.a: $(OBJS) - ar rcs $@ $+ - |