summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-09-30 13:46:24 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-09-30 13:46:24 +0000
commit56e3cb5626b5257cc1d30eecfdb4f697a7d8118b (patch)
tree6e5ec2a0fa2e36bb7e132f7546bcfddd9c9a3c49 /media-libs/libmpeg3
parent~ppc64 to get things movin (Manifest recommit) (diff)
downloadgentoo-2-56e3cb5626b5257cc1d30eecfdb4f697a7d8118b.tar.gz
gentoo-2-56e3cb5626b5257cc1d30eecfdb4f697a7d8118b.tar.bz2
gentoo-2-56e3cb5626b5257cc1d30eecfdb4f697a7d8118b.zip
Fixing linker problem when a52 was compiled with djbfft lib
Diffstat (limited to 'media-libs/libmpeg3')
-rw-r--r--media-libs/libmpeg3/ChangeLog6
-rw-r--r--media-libs/libmpeg3/libmpeg3-1.5.2.ebuild9
-rw-r--r--media-libs/libmpeg3/metadata.xml5
3 files changed, 17 insertions, 3 deletions
diff --git a/media-libs/libmpeg3/ChangeLog b/media-libs/libmpeg3/ChangeLog
index dd4a4ef4940e..4d6f83ad30c1 100644
--- a/media-libs/libmpeg3/ChangeLog
+++ b/media-libs/libmpeg3/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libmpeg3
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.26 2004/09/30 13:28:07 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.27 2004/09/30 13:46:24 phosphan Exp $
+
+ 30 Sep 2004; Patrick Kursawe <phosphan@gentoo.org> libmpeg3-1.5.2.ebuild:
+ Will get linking correctly now even if liba52 was compiled with djbfft.
+ Adding metadata.xml.
30 Sep 2004; Patrick Kursawe <phosphan@gentoo.org> libmpeg3-1.5.2.ebuild:
Prefixed linker path with ${ROOT} (see bug #54377)
diff --git a/media-libs/libmpeg3/libmpeg3-1.5.2.ebuild b/media-libs/libmpeg3/libmpeg3-1.5.2.ebuild
index c5ed83a7201b..9eacc5f8295a 100644
--- a/media-libs/libmpeg3/libmpeg3-1.5.2.ebuild
+++ b/media-libs/libmpeg3/libmpeg3-1.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.5.2.ebuild,v 1.12 2004/09/30 13:28:07 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.5.2.ebuild,v 1.13 2004/09/30 13:46:24 phosphan Exp $
inherit flag-o-matic eutils gcc
@@ -37,7 +37,12 @@ src_unpack() {
echo > Makefile.a52
rm -rf a52dec-0.7.3/*
ln -s /usr/include/a52dec a52dec-0.7.3/include
- sed -i '/LIBS = /s:$: -L${ROOT}usr/lib -la52:' Makefile
+ local libs
+ libs=" -la52"
+ if grep -q djbfft ${ROOT}usr/lib/liba52.a; then
+ libs="${libs} -ldjbfft"
+ fi
+ sed -i "/LIBS = /s:$: -L\${ROOT}usr/lib ${libs}:" Makefile
}
src_compile() {
diff --git a/media-libs/libmpeg3/metadata.xml b/media-libs/libmpeg3/metadata.xml
new file mode 100644
index 000000000000..d9df1878d8e2
--- /dev/null
+++ b/media-libs/libmpeg3/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+</pkgmetadata>