diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-22 00:18:44 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-22 00:18:44 +0000 |
commit | cea1fbaf3e60127c5d3959429af7277008d95efe (patch) | |
tree | ee9b7597cc5be165aef59ced201b828d71d21bdb /media-libs/opencore-amr | |
parent | Version bump. Bug fixes. (diff) | |
download | gentoo-2-cea1fbaf3e60127c5d3959429af7277008d95efe.tar.gz gentoo-2-cea1fbaf3e60127c5d3959429af7277008d95efe.tar.bz2 gentoo-2-cea1fbaf3e60127c5d3959429af7277008d95efe.zip |
old
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/opencore-amr')
-rw-r--r-- | media-libs/opencore-amr/Manifest | 4 | ||||
-rw-r--r-- | media-libs/opencore-amr/files/opencore-amr-0.1.1-libdir.patch | 60 | ||||
-rw-r--r-- | media-libs/opencore-amr/files/opencore-amr-0.1.1-pic.patch | 66 | ||||
-rw-r--r-- | media-libs/opencore-amr/opencore-amr-0.1.1.ebuild | 35 |
4 files changed, 0 insertions, 165 deletions
diff --git a/media-libs/opencore-amr/Manifest b/media-libs/opencore-amr/Manifest index 08aa84ec93b1..79406a1c0f1b 100644 --- a/media-libs/opencore-amr/Manifest +++ b/media-libs/opencore-amr/Manifest @@ -1,8 +1,4 @@ -AUX opencore-amr-0.1.1-libdir.patch 2394 RMD160 75e1abaa08159e4acfa9389cecdc25484ab0f00b SHA1 ad583b15fceaeb901fea9c2cb0d059c1e6466e36 SHA256 c4e0ac54b905c8aed761bc9bd59d8e563d634d465f7b75a61b134e4052ff1ea4 -AUX opencore-amr-0.1.1-pic.patch 1724 RMD160 2080c43e20f6b49f396e31cf40edba7d898f67ec SHA1 3fd45d3cfd88ce87b041219affcbf5060ed46fe0 SHA256 83cce71c7bac50781cca800fbd0a81f7fd1f52714b9bd7cad46b242cc79000fa -DIST opencore-amr-0.1.1.tar.gz 559148 RMD160 87421feda95da1f2833478704dab74cf980f1a7f SHA1 ab458847db507b548a9e7f2ede511045c61e7489 SHA256 c5614a0e8c2fcaa1574738e79a402c82c92ee26545bd4cc73134147defd65ebe DIST opencore-amr-0.1.2.tar.gz 868977 RMD160 f23f7e9eabb3c6d046d67572a6a25e09b8dc2988 SHA1 289478d49701213255e9d63a93aae9ad472125cc SHA256 277d0c13b722c1bae6ebdf8959df7b55129f8e005edd12f5d2c38baf76ba71a9 -EBUILD opencore-amr-0.1.1.ebuild 863 RMD160 3042b101d405ce43aa34d4c231bd2d858b9bcc6a SHA1 4f4e9c15d837f8bd6f1be890613c62f68f015ede SHA256 7eb6369e92ced2b566d31a9e6a9a6cebbf6af055f6023c88d2dff15f675ac0de EBUILD opencore-amr-0.1.2.ebuild 781 RMD160 f9536c131786124525b701470996edb7d2d1e575 SHA1 48220d5c8c3ad4570069cd7b38dd4b7a83a9956d SHA256 f832f8029f8d2b442372d1b9dfc11ec13f8a6a1d2f305041c92d426042ac476a MISC ChangeLog 1510 RMD160 7c0ea22a9c5859e1c869ce2e0d52d7076409fbfc SHA1 875bc2f829b83b5a278a7b5377edf0fe41e7101f SHA256 2f0726eb0d96a72c18e0a62cd67cd365d41eaee5210fa11702b4108116726222 MISC metadata.xml 159 RMD160 568344dc99ebe68c2e2d43d268d186757532144d SHA1 3f9589301dbaa4363c56de0f309cf792d8c38b63 SHA256 eb5b8cfa9aed067cd72d6439beac2dd0abdba30248f27e4b337012b493a18369 diff --git a/media-libs/opencore-amr/files/opencore-amr-0.1.1-libdir.patch b/media-libs/opencore-amr/files/opencore-amr-0.1.1-libdir.patch deleted file mode 100644 index b832c875475a..000000000000 --- a/media-libs/opencore-amr/files/opencore-amr-0.1.1-libdir.patch +++ /dev/null @@ -1,60 +0,0 @@ -Index: opencore-amr/amrnb/Makefile -=================================================================== ---- opencore-amr.orig/amrnb/Makefile -+++ opencore-amr/amrnb/Makefile -@@ -2,6 +2,7 @@ - # a detached gsm_amr directory - OC_BASE = ../opencore - AMR_BASE = $(OC_BASE)/codecs_v2/audio/gsm_amr -+LIBDIR=lib - - # To compile as C instead of C++, define BUILD_AS_C - ifneq (, $(BUILD_AS_C)) -@@ -77,12 +78,12 @@ libopencore-amrnb.a: $(OBJS) - ar rcs $@ $+ - - install: libopencore-amrnb.a $(SHLIB) -- install -d $(DESTDIR)$(PREFIX)/lib -- install -m 644 libopencore-amrnb.a $(DESTDIR)$(PREFIX)/lib -- install $(SHLIB) $(DESTDIR)$(PREFIX)/lib -+ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR) -+ install -m 644 libopencore-amrnb.a $(DESTDIR)$(PREFIX)/$(LIBDIR) -+ install $(SHLIB) $(DESTDIR)$(PREFIX)/$(LIBDIR) - ifneq ($(shell uname), Darwin) -- ln -sf $(SHLIB) $(DESTDIR)$(PREFIX)/lib/$(SONAME) -- ln -sf $(SONAME) $(DESTDIR)$(PREFIX)/lib/libopencore-amrnb.so -+ ln -sf $(SHLIB) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(SONAME) -+ ln -sf $(SONAME) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libopencore-amrnb.so - endif - install -d $(DESTDIR)$(PREFIX)/include/opencore-amrnb - install -m 644 interf_dec.h $(DESTDIR)$(PREFIX)/include/opencore-amrnb -Index: opencore-amr/amrwb/Makefile -=================================================================== ---- opencore-amr.orig/amrwb/Makefile -+++ opencore-amr/amrwb/Makefile -@@ -2,6 +2,7 @@ - # a detached gsm_amr directory - OC_BASE = ../opencore - AMR_BASE = $(OC_BASE)/codecs_v2/audio/gsm_amr -+LIBDIR=lib - - # To compile as C instead of C++, define BUILD_AS_C - ifneq (, $(BUILD_AS_C)) -@@ -63,12 +64,12 @@ libopencore-amrwb.a: $(OBJS) - ar rcs $@ $+ - - install: libopencore-amrwb.a $(SHLIB) -- install -d $(DESTDIR)$(PREFIX)/lib -- install -m 644 libopencore-amrwb.a $(DESTDIR)$(PREFIX)/lib -- install $(SHLIB) $(DESTDIR)$(PREFIX)/lib -+ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR) -+ install -m 644 libopencore-amrwb.a $(DESTDIR)$(PREFIX)/$(LIBDIR) -+ install $(SHLIB) $(DESTDIR)$(PREFIX)/$(LIBDIR) - ifneq ($(shell uname), Darwin) -- ln -sf $(SHLIB) $(DESTDIR)$(PREFIX)/lib/$(SONAME) -- ln -sf $(SONAME) $(DESTDIR)$(PREFIX)/lib/libopencore-amrwb.so -+ ln -sf $(SHLIB) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(SONAME) -+ ln -sf $(SONAME) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libopencore-amrwb.so - endif - install -d $(DESTDIR)$(PREFIX)/include/opencore-amrwb - install -m 644 dec_if.h $(DESTDIR)$(PREFIX)/include/opencore-amrwb diff --git a/media-libs/opencore-amr/files/opencore-amr-0.1.1-pic.patch b/media-libs/opencore-amr/files/opencore-amr-0.1.1-pic.patch deleted file mode 100644 index 1664ac4f49d7..000000000000 --- a/media-libs/opencore-amr/files/opencore-amr-0.1.1-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 $@ $+ - diff --git a/media-libs/opencore-amr/opencore-amr-0.1.1.ebuild b/media-libs/opencore-amr/opencore-amr-0.1.1.ebuild deleted file mode 100644 index 4109518bb4f5..000000000000 --- a/media-libs/opencore-amr/opencore-amr-0.1.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/opencore-amr/opencore-amr-0.1.1.ebuild,v 1.9 2009/11/18 17:38:36 armin76 Exp $ - -EAPI=2 - -inherit toolchain-funcs eutils multilib - -DESCRIPTION="Implementation of Adaptive Multi Rate Narrowband and Wideband speech codec" -HOMEPAGE="http://opencore-amr.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="" - -DEPEND="" -RDEPEND="" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch "${FILESDIR}/${P}-pic.patch" - epatch "${FILESDIR}/${P}-libdir.patch" -} - -src_compile() { - tc-export CC CXX - emake || die -} - -src_install() { - emake PREFIX=/usr DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die -} |