Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 127866 | Differences between
and this patch

Collapse All | Expand All

(-)smpeg-0.4.4-r7.ebuild (-7 / +12 lines)
Lines 2-12 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r7.ebuild,v 1.11 2006/03/22 22:07:39 hansmi Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r7.ebuild,v 1.11 2006/03/22 22:07:39 hansmi Exp $
4
4
5
inherit eutils toolchain-funcs
5
inherit eutils toolchain-funcs autotools
6
6
7
DESCRIPTION="SDL MPEG Player Library"
7
DESCRIPTION="SDL MPEG Player Library"
8
HOMEPAGE="http://www.lokigames.com/development/smpeg.php3"
8
HOMEPAGE="http://www.lokigames.com/development/smpeg.php3"
9
SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${P}.tar.gz"
9
SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${P}.tar.gz
10
	mirrors://gentoo/${P}-gtkm4.patch.bz2"
10
11
11
LICENSE="LGPL-2"
12
LICENSE="LGPL-2"
12
SLOT="0"
13
SLOT="0"
Lines 33-43 Link Here
33
	epatch "${FILESDIR}"/${P}-config.patch
34
	epatch "${FILESDIR}"/${P}-config.patch
34
	epatch "${FILESDIR}"/${P}-PIC.patch
35
	epatch "${FILESDIR}"/${P}-PIC.patch
35
	epatch "${FILESDIR}"/${P}-gcc41.patch
36
	epatch "${FILESDIR}"/${P}-gcc41.patch
36
	# Bundled libtool doesnt properly add C++ libs even
37
	epatch "${FILESDIR}"/${P}-flags.patch
37
	# though the shared library includes C++ objects
38
	epatch "${FILESDIR}"/${P}-automake.patch
38
	sed -i \
39
39
		-e '/^libsmpeg_la_LIBADD =/s:$: -lstdc++:' \
40
	cd "${WORKDIR}"
40
		Makefile.in || die "sed Makefile.in failed"
41
	epatch "${DISTDIR}"/${P}-gtkm4.patch.bz2
42
	rm "${S}/acinclude.m4"
43
44
	cd "${S}"
45
	WANT_AUTOCONF="2.5" WANT_AUTOMAKE="1.9" AT_M4DIR="${S}/m4" eautoreconf
41
}
46
}
42
47
43
src_compile() {
48
src_compile() {

Return to bug 127866