blob: 2a8c6e473c4da9688c83a10c96e593f88f72bba5 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/tsmuxer/tsmuxer-1.10.6.ebuild,v 1.1 2010/07/28 00:54:12 sbriesen Exp $
EAPI="1"
inherit eutils
DESCRIPTION="Utility to create TS and M2TS files"
HOMEPAGE="http://www.smlabs.net/tsmuxer_en.html"
SRC_URI="http://www.smlabs.net/tsMuxer/tsMuxeR_shared_${PV}.tar.gz"
LICENSE="SmartLabs"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gui linguas_ru"
RESTRICT="strip"
DEPEND="gui? (
x86? ( x11-libs/qt-gui:4 )
amd64? ( app-emulation/emul-linux-x86-qtlibs )
)"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_install() {
dodir /opt/bin
exeinto /opt/tsMuxeR/bin
doexe tsMuxeR
dosym ../tsMuxeR/bin/tsMuxeR /opt/bin
if use gui; then
doexe tsMuxerGUI
dosym ../tsMuxeR/bin/tsMuxerGUI /opt/bin
newicon ${FILESDIR}/icon.png tsMuxerGUI.png
make_desktop_entry tsMuxerGUI tsMuxerGUI tsMuxerGUI
fi
dodoc licence.txt # is this needed?
use linguas_ru && dodoc readme.rus.txt
}
|