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

Collapse All | Expand All

(-)/usr/portage/media-video/bombono-dvd/bombono-dvd-1.2.0.ebuild (-11 / +25 lines)
Lines 3-10 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/media-video/bombono-dvd/bombono-dvd-1.2.0.ebuild,v 1.2 2011/12/02 19:36:13 dilfridge Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-video/bombono-dvd/bombono-dvd-1.2.0.ebuild,v 1.2 2011/12/02 19:36:13 dilfridge Exp $
4
4
5
EAPI=4
5
EAPI=4
6
SCONS_MIN_VERSION="0.96.1"
6
7
7
inherit base scons-utils toolchain-funcs flag-o-matic
8
inherit base scons-utils toolchain-funcs virtualx
8
9
9
DESCRIPTION="GUI DVD authoring program"
10
DESCRIPTION="GUI DVD authoring program"
10
HOMEPAGE="http://www.bombono.org/"
11
HOMEPAGE="http://www.bombono.org/"
Lines 35-56 Link Here
35
	gnome?	( gnome-base/gvfs )
36
	gnome?	( gnome-base/gvfs )
36
"
37
"
37
DEPEND="${COMMONDEPEND}
38
DEPEND="${COMMONDEPEND}
38
	>=dev-util/scons-0.96.1
39
	dev-util/pkgconfig
39
"
40
"
40
41
41
PATCHES=( "${FILESDIR}/${PN}-1.0.1-cflags.patch" )
42
PATCHES=(
43
	"${FILESDIR}/${PN}-1.0.1-cflags.patch"
44
	"${FILESDIR}/${P}-libav.patch"
45
)
46
47
src_configure() {
48
	myesconsargs=(
49
		CC="$(tc-getCC)"
50
		CXX="$(tc-getCXX)"
51
		CFLAGS="${CFLAGS}"
52
		CXXFLAGS="${CXXFLAGS}"
53
		LDFLAGS="${LDFLAGS}"
54
		CPPFLAGS='-UBOOST_SYSTEM_NO_DEPRECATED -DBOOST_FILESYSTEM_VERSION=2'
55
		USE_EXT_BOOST=1
56
		PREFIX="${EPREFIX}/usr"
57
	)
58
}
42
59
43
src_compile() {
60
src_compile() {
44
	append-flags -DBOOST_FILESYSTEM_VERSION=2
61
	escons
45
62
}
46
	tc-export CC CXX
47
63
48
	nonfatal escons CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
64
src_test() {
49
		DESTDIR="${D}" PREFIX="/usr" \
65
	nonfatal VIRTUALX_COMMAND="escons TEST=1" virtualmake || ewarn "Some tests failed"
50
		CPPFLAGS='-UBOOST_SYSTEM_NO_DEPRECATED' USE_EXT_BOOST=1 \
51
		|| die 'Please add "${S}/config.opts" when filing bugs reports!'
52
}
66
}
53
67
54
src_install() {
68
src_install() {
55
	nonfatal escons install || die 'Please add "${S}/config.opts" when filing bugs reports!'
69
	escons DESTDIR="${D}" install
56
}
70
}

Return to bug 393331