Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 96537 Details for
Bug 45325
media-libs/libmpeg3 bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Yet Another Ebuild
libmpeg3-1.7.ebuild (text/plain), 1.99 KB, created by
Alexis Ballier
on 2006-09-09 16:55:33 UTC
(
hide
)
Description:
Yet Another Ebuild
Filename:
MIME Type:
Creator:
Alexis Ballier
Created:
2006-09-09 16:55:33 UTC
Size:
1.99 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit flag-o-matic eutils toolchain-funcs > >PATCHLEVEL="1" >DESCRIPTION="An mpeg library for linux" >HOMEPAGE="http://heroinewarrior.com/libmpeg3.php3" >SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" >IUSE="mmx css" > >RDEPEND="sys-libs/zlib > media-libs/jpeg > media-libs/a52dec" >DEPEND="${RDEPEND} > mmx? ( dev-lang/nasm )" > >src_unpack() { > unpack ${A} > cd "${S}" > > if [[ $(gcc-version) == "3.3" ]]; then > eerror "You're using an old version of GCC, but this package is" > eerror "designed to work only with GCC 3.4 or later." > eerror "Please upgrade your GCC or change the selected profile" > eerror "and then merge this again." > die "Package won't build with GCC 3.3." > fi > > # 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. > > sed -i -e "/LIBS = /s:$: -L\${ROOT}usr/$(get_libdir) -la52:" Makefile > > epatch "${FILESDIR}/${P}-makefile.patch" > epatch "${FILESDIR}/${P}-mpeg3split.patch" > use mmx && epatch "${FILESDIR}/${P}-textrel.patch" > epatch "${FILESDIR}/${P}-gnustack.patch" > > 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 > > if ! use css; then > sed -i 's:USE_CSS = 1:USE_CSS = 0:' Makefile > fi >} > >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 ${FILESDIR}/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 45325
:
27757
|
27758
|
27759
|
27761
|
27762
|
27763
|
27764
|
28283
|
28284
|
28285
|
51589
|
51591
|
70828
|
70830
|
70831
|
70832
|
91844
|
91845
|
91846
|
91852
|
96537
|
96538
|
96540
|
96542
|
96544
|
98324
|
98325