blob: d88b925829b86337d3f5891e64efc5e32fd98e2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/dvdstyler/dvdstyler-1.7.4.ebuild,v 1.3 2011/08/13 07:42:26 xarthisius Exp $
EAPI=2
inherit autotools wxwidgets eutils
MY_P=${PN/dvds/DVDS}-${PV/_}
DESCRIPTION="DVDStyler is a cross-platform DVD authoring System"
HOMEPAGE="http://www.dvdstyler.de"
SRC_URI="mirror://sourceforge/dvdstyler/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug gnome"
COMMON_DEPEND=">=media-video/ffmpeg-0.5[encode]
>=media-video/xine-ui-0.99.1
x11-libs/wxGTK:2.8[X]
|| ( >=media-libs/wxsvg-1.0.2 >=media-libs/wxsvg-1[ffmpeg] )
>=media-libs/libexif-0.6.16
gnome? ( >=gnome-base/libgnomeui-2 )"
RDEPEND="${COMMON_DEPEND}
virtual/cdrtools
>=media-video/dvdauthor-0.6.14
>=app-cdr/dvd+rw-tools-7.1"
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig
app-text/xmlto
>=sys-devel/gettext-0.17"
PDEPEND=">=app-cdr/dvdisaster-0.71.0"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-autoconf.patch
eautoreconf
}
src_configure() {
export WX_GTK_VER="2.8"
need-wxwidgets gtk2
econf \
--docdir=/usr/share/doc/${PF} \
$(use_enable debug) \
--disable-dependency-tracking \
--with-wx-config="${WX_CONFIG}"
}
src_install() {
emake DESTDIR="${D}" install || die
#rm -rf "${D}"/usr/share/doc/${PN}
#dodoc AUTHORS ChangeLog README TODO
}
|