summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-02-26 22:30:57 +0100
committerPacho Ramos <pacho@gentoo.org>2016-02-26 22:30:57 +0100
commit6398cf02851d49ece2b73233c8aceee9a4737f09 (patch)
tree778be9d0104b796af5dd571b8bf2d9601304fe99 /media-video/dvdstyler
parentsys-fs/lvm2: add myself to maintainers (diff)
downloadgentoo-6398cf02851d49ece2b73233c8aceee9a4737f09.tar.gz
gentoo-6398cf02851d49ece2b73233c8aceee9a4737f09.tar.bz2
gentoo-6398cf02851d49ece2b73233c8aceee9a4737f09.zip
media-video/dvdstyler: Newer wxsvg is required at runtime (#568394)
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-video/dvdstyler')
-rw-r--r--media-video/dvdstyler/dvdstyler-2.9.6-r1.ebuild73
1 files changed, 73 insertions, 0 deletions
diff --git a/media-video/dvdstyler/dvdstyler-2.9.6-r1.ebuild b/media-video/dvdstyler/dvdstyler-2.9.6-r1.ebuild
new file mode 100644
index 000000000000..c1603a7ad6fb
--- /dev/null
+++ b/media-video/dvdstyler/dvdstyler-2.9.6-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P=${P/dvds/DVDS}
+WX_GTK_VER=3.0
+
+inherit wxwidgets eutils
+
+DESCRIPTION="A cross-platform free DVD authoring application"
+HOMEPAGE="http://www.dvdstyler.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug libav +udev"
+
+COMMON_DEPEND="
+ >=app-cdr/dvd+rw-tools-7.1
+ media-libs/libexif:=
+ >=media-libs/wxsvg-1.5.5:=
+ >=media-video/dvdauthor-0.7.1
+ >=media-video/xine-ui-0.99.7
+ virtual/cdrtools
+ libav? ( >=media-video/libav-9:0=[encode] )
+ !libav? ( >=media-video/ffmpeg-2.6:0=[encode] )
+ virtual/jpeg:0
+ x11-libs/wxGTK:${WX_GTK_VER}=[gstreamer,X]
+ sys-apps/dbus
+ udev? ( >=virtual/libudev-215:= )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=app-cdr/dvdisaster-0.72.4
+ media-video/mjpegtools
+"
+DEPEND="${COMMON_DEPEND}
+ app-arch/zip
+ app-text/xmlto
+ sys-devel/gettext
+ virtual/yacc
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ need-wxwidgets unicode
+ # disable obsolete GNOME 2.x libraries wrt #508854
+ sed -i -e '/PKG_CONFIG/s:libgnomeui-2.0:dIsAbLeAuToMaGiC&:' configure || die
+ # rmdir: failed to remove `tempfoobar': Directory not empty
+ sed -i -e '/rmdir "$$t"/d' docs/Makefile.in || die
+ # fix underlinking wrt #367863
+ sed -i -e 's:@LIBS@:& -ljpeg:' wxVillaLib/Makefile.in || die
+ # silence desktop-file-validate QA check
+ sed -i \
+ -e '/Icon/s:.png::' -e '/^Encoding/d' -e '/Categories/s:Application;::' \
+ data/dvdstyler.desktop || die
+}
+
+src_configure() {
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable debug) \
+ --with-wx-config=${WX_CONFIG}
+}
+
+src_install() {
+ default
+ rm -f "${ED}"/usr/share/doc/${PF}/{COPYING*,INSTALL*}
+}