summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild')
-rw-r--r--media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild77
1 files changed, 77 insertions, 0 deletions
diff --git a/media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild b/media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild
new file mode 100644
index 000000000000..cadc08043082
--- /dev/null
+++ b/media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+SCONS_MIN_VERSION="0.96.1"
+
+inherit base scons-utils toolchain-funcs flag-o-matic virtualx
+
+DESCRIPTION="GUI DVD authoring program"
+HOMEPAGE="http://www.bombono.org/"
+SRC_URI="mirror://sourceforge/bombono/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="amd64 x86"
+
+IUSE="gnome"
+
+COMMONDEPEND="
+ app-i18n/enca
+ app-cdr/dvd+rw-tools
+ dev-cpp/gtkmm:2.4
+ dev-cpp/libxmlpp:2.6
+ >=dev-libs/boost-1.51
+ media-libs/libdvdread
+ media-sound/twolame
+ media-video/dvdauthor
+ virtual/cdrtools
+ >=virtual/ffmpeg-9
+ >=media-video/mjpegtools-1.8.0
+ x11-libs/gtk+:2
+"
+RDEPEND="${COMMONDEPEND}
+ gnome? ( gnome-base/gvfs )
+"
+DEPEND="${COMMONDEPEND}
+ virtual/pkgconfig
+"
+
+RESTRICT=test
+# bug 419655
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.0.1-cflags.patch"
+ "${FILESDIR}/${PN}-1.2.0-cdrtools.patch"
+ "${FILESDIR}/${PN}-1.2.2-ffmpeg2.patch"
+ "${FILESDIR}/${PN}-1.2.2-ffmpeg26.patch"
+)
+
+src_configure() {
+ append-cppflags -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_FILESYSTEM_VERSION=3
+ myesconsargs=(
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CFLAGS="${CFLAGS}"
+ CXXFLAGS="${CXXFLAGS}"
+ DESTDIR="${D}"
+ LDFLAGS="${LDFLAGS}"
+ USE_EXT_BOOST=1
+ PREFIX="${EPREFIX}/usr"
+ )
+}
+
+src_compile() {
+ nonfatal escons \
+ || die "Please add ${S}/config.opts when filing bugs reports!"
+}
+
+src_test() {
+ VIRTUALX_COMMAND="escons TEST=1" virtualmake
+}
+
+src_install() {
+ nonfatal escons install || die "Please add ${S}/config.opts when filing bugs reports!"
+}