summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2010-07-30 11:11:10 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2010-07-30 11:11:10 +0000
commit29191f2a5944dbe9028a048442698d19bcb6bfec (patch)
treed4b4b049efe7f1ebca3d3e89480db649d4bbf4d6 /media-video/tsmuxer
parentSecurity version bump, bug #330205. Remove the older 1.7.x. (diff)
downloadgentoo-2-29191f2a5944dbe9028a048442698d19bcb6bfec.tar.gz
gentoo-2-29191f2a5944dbe9028a048442698d19bcb6bfec.tar.bz2
gentoo-2-29191f2a5944dbe9028a048442698d19bcb6bfec.zip
reworked ebuild, added missing dependencies, decompress executables with upx. thanks to beandog@gentoo.org
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-video/tsmuxer')
-rw-r--r--media-video/tsmuxer/ChangeLog9
-rw-r--r--media-video/tsmuxer/metadata.xml5
-rw-r--r--media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild60
3 files changed, 71 insertions, 3 deletions
diff --git a/media-video/tsmuxer/ChangeLog b/media-video/tsmuxer/ChangeLog
index 4e75132010ba..c347a4236d65 100644
--- a/media-video/tsmuxer/ChangeLog
+++ b/media-video/tsmuxer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/tsmuxer
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/tsmuxer/ChangeLog,v 1.1 2010/07/28 00:54:12 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/tsmuxer/ChangeLog,v 1.2 2010/07/30 11:11:10 sbriesen Exp $
+
+*tsmuxer-1.10.6-r1 (30 Jul 2010)
+
+ 30 Jul 2010; Stefan Briesenick <sbriesen@gentoo.org>
+ +tsmuxer-1.10.6-r1.ebuild, metadata.xml:
+ reworked ebuild, added missing dependencies, decompress executables with
+ upx. thanks to beandog@gentoo.org
*tsmuxer-1.10.6 (28 Jul 2010)
diff --git a/media-video/tsmuxer/metadata.xml b/media-video/tsmuxer/metadata.xml
index fc6b20637ac0..5b49888347fb 100644
--- a/media-video/tsmuxer/metadata.xml
+++ b/media-video/tsmuxer/metadata.xml
@@ -1,18 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
+ <herd>video</herd>
<maintainer>
<email>sbriesen@gentoo.org</email>
<name>Stefan Briesenick</name>
</maintainer>
<longdescription lang="en">
- SmartLabs tsMuxeR – the software utility to create TS and M2TS files for
+ SmartLabs tsMuxeR - the software utility to create TS and M2TS files for
IP broadcasting as well as for viewing at hardware video players (i.e.,
Dune HD Ultra, Sony Playstation3 and others). tsMuxeR is a part of
SmartCONTENT, content preparation solution.
</longdescription>
<use>
<flag name='gui'>Installs tsMuxerGUI (needs Qt4)</flag>
+ <flag name='qt4'>Installs tsMuxerGUI (needs Qt4)</flag>
</use>
</pkgmetadata>
diff --git a/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild b/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild
new file mode 100644
index 000000000000..94be0b6b7b90
--- /dev/null
+++ b/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild
@@ -0,0 +1,60 @@
+# 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-r1.ebuild,v 1.1 2010/07/30 11:11:10 sbriesen Exp $
+
+EAPI="2"
+
+inherit base qt4-r2
+
+DESCRIPTION="Utility to create and demux 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="qt4 linguas_ru"
+
+QA_DT_HASH="opt/${PN}/bin/tsMuxeR opt/${PN}/bin/tsMuxerGUI"
+
+DEPEND="|| (
+ >=app-arch/upx-ucl-3.01
+ >=app-arch/upx-3.01
+)"
+
+RDEPEND="
+ x86? (
+ media-libs/freetype:2
+ qt4? ( x11-libs/qt-gui:4 )
+ )
+ amd64? (
+ app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-xlibs
+ qt4? ( >=app-emulation/emul-linux-x86-qtlibs-20081109 )
+ )"
+
+# cli is linked to freetype, when it will be fixed,
+# we will remove app-emulation/emul-linux-x86-xlibs dep.
+
+S="${WORKDIR}"
+
+src_prepare() {
+ upx -d tsMuxeR tsMuxerGUI || die
+}
+
+src_install() {
+ dodir /opt/bin
+ exeinto /opt/${PN}/bin
+
+ doexe tsMuxeR
+ dosym ../${PN}/bin/tsMuxeR /opt/bin
+
+ if use qt4; then
+ doexe tsMuxerGUI
+ dosym ../${PN}/bin/tsMuxerGUI /opt/bin
+ newicon "${FILESDIR}/icon.png" "${PN}.png"
+ make_desktop_entry tsMuxerGUI "tsMuxeR GUI" "${PN}" "Qt;AudioVideo;Video"
+ fi
+
+ use linguas_ru && dodoc readme.rus.txt
+}