Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86261 Details for
Bug 132381
media-libs/libmpeg3 library lacking soname
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-libs/libmpeg3-1.5.2-r3.ebuild
libmpeg3-1.5.2-r3.ebuild (text/plain), 2.07 KB, created by
Dick Marinus
on 2006-05-06 06:10:57 UTC
(
hide
)
Description:
media-libs/libmpeg3-1.5.2-r3.ebuild
Filename:
MIME Type:
Creator:
Dick Marinus
Created:
2006-05-06 06:10:57 UTC
Size:
2.07 KB
patch
obsolete
># Copyright 1999-2006 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-r3.ebuild,v 1.3 2006/04/25 01:06:39 flameeyes Exp $ > >inherit flag-o-matic eutils toolchain-funcs > >PATCHLEVEL="3" >DESCRIPTION="An mpeg library for linux" >HOMEPAGE="http://heroinewarrior.com/libmpeg3.php3" >SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2 > mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2 > mirror://gentoo/${P}-textrel-fix.patch.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" >IUSE="mmx" > >RDEPEND="sys-libs/zlib > media-libs/jpeg > media-libs/a52dec" >DEPEND="${RDEPEND} > mmx? ( dev-lang/nasm )" > >src_unpack() { > unpack ${A} > cd ${S} > # The Makefile is patched to install the header files as well. > # This patch was generated using the info in the src.rpm that > # SourceForge provides for this package. > [ "`gcc-version`" == "3.4" -o "`gcc-major-version`" -ge 4 ] || \ > EPATCH_EXCLUDE="${EPATCH_EXCLUDE} 08_all_gcc34.patch" > [ "`gcc-major-version`" -ge 4 ] || \ > EPATCH_EXCLUDE="${EPATCH_EXCLUDE} 09_all_gcc4.patch" > > EPATCH_SUFFIX="patch" epatch ${WORKDIR}/${PV} > > sed -i -e "/LIBS = /s:$: -L\${ROOT}usr/$(get_libdir) -la52:" Makefile > > epatch "${FILESDIR}/${P}-a52.patch" > epatch "${FILESDIR}/${P}-gnustack.patch" > epatch "${DISTDIR}/${P}-textrel-fix.patch.bz2" > > if ! use mmx; then > sed -i -e 's:^NASM =.*:NASM =:' \ > -e 's|^HAVE_NASM :=.*|HAVE_NASM=n|' \ > -e 's|USE_MMX = 1|USE_MMX = 0|' \ > Makefile > fi > sed -i -e 's|^ gcc| gcc -Wl,-soname=libmpeg3.so|' Makefile >} > >src_compile() { > local obj_dir=$(uname --machine) > > mkdir $obj_dir > > rm -f ${obj_dir}/*.o &> /dev/null > > emake CC="$(tc-getCC)" || die "make failed" >} > >src_install() { > # This patch patches the .h files that get installed into /usr/include > # to show the correct include syntax '<>' instead of '""' This patch > # was also generated using info from SF's src.rpm > epatch ${WORKDIR}/${PV}/gentoo-p2.patch > make DESTDIR="${D}/usr" LIBDIR="$(get_libdir)" install || die > dohtml -r docs >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 132381
:
86221
| 86261