blob: 1f52f57165b6c36b4fd027765ca6f0f348a14e21 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/devede/devede-3.4.ebuild,v 1.1 2007/12/02 11:34:43 drac Exp $
inherit multilib python
DESCRIPTION="DVD Video Creator"
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc psyco"
RDEPEND=">=x11-libs/gtk+-2.6
>=dev-lang/python-2.4
dev-python/pygtk
>=media-video/mplayer-1.0_rc1
media-video/dvdauthor
media-video/vcdimager
psyco? ( dev-python/psyco )
virtual/cdrtools"
DEPEND="${RDEPEND}"
src_install() {
./install.sh prefix="/usr" libdir="/usr/$(get_libdir)" \
DESTDIR="${D}" || die "install.sh failed."
rm -rf "${D}"/usr/share/doc/devede
use doc && dohtml docs/*
}
pkg_postinst() {
python_mod_optimize "${ROOT}"/usr/$(get_libdir)/${PN}
elog "To create DIVX/MPEG4 files, be sure that MPlayer is compiled with LAME support."
elog "In this case you want to check for both the encode and mp3 USE flags."
elog "To change the font used to render the subtitles, choose a TrueType font you like"
elog "and copy it in \$HOME/.spumux directory, renaming it to devedesans.ttf."
}
pkg_postrm() {
python_mod_cleanup "${ROOT}"/usr/$(get_libdir)/${PN}
}
|