summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2011-03-01 16:15:19 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2011-03-01 16:15:19 +0000
commitc5f1377a43deabe97eee94ce2c100f59064ef20d (patch)
tree1681046c3cc65336e0795d3c6f08d9e8e3d92845 /media-plugins/vdr-markad
parentUse SLOT deps for gtk+ and glib. (diff)
downloadgentoo-2-c5f1377a43deabe97eee94ce2c100f59064ef20d.tar.gz
gentoo-2-c5f1377a43deabe97eee94ce2c100f59064ef20d.tar.bz2
gentoo-2-c5f1377a43deabe97eee94ce2c100f59064ef20d.zip
version bump
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-markad')
-rw-r--r--media-plugins/vdr-markad/ChangeLog8
-rw-r--r--media-plugins/vdr-markad/vdr-markad-0.1.0.ebuild58
2 files changed, 65 insertions, 1 deletions
diff --git a/media-plugins/vdr-markad/ChangeLog b/media-plugins/vdr-markad/ChangeLog
index 7918c2e631f2..736d00d0faf8 100644
--- a/media-plugins/vdr-markad/ChangeLog
+++ b/media-plugins/vdr-markad/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-markad
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-markad/ChangeLog,v 1.4 2011/02/13 14:02:35 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-markad/ChangeLog,v 1.5 2011/03/01 16:15:19 hd_brummy Exp $
+
+*vdr-markad-0.1.0 (01 Mar 2011)
+
+ 01 Mar 2011; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +vdr-markad-0.1.0.ebuild:
+ version bump
*vdr-markad-0.0.9 (13 Feb 2011)
diff --git a/media-plugins/vdr-markad/vdr-markad-0.1.0.ebuild b/media-plugins/vdr-markad/vdr-markad-0.1.0.ebuild
new file mode 100644
index 000000000000..3b7568276b58
--- /dev/null
+++ b/media-plugins/vdr-markad/vdr-markad-0.1.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-markad/vdr-markad-0.1.0.ebuild,v 1.1 2011/03/01 16:15:19 hd_brummy Exp $
+
+EAPI="3"
+
+inherit vdr-plugin
+
+VERSION="524" # every bump, new version
+
+DESCRIPTION="VDR Plugin: marks advertisements in VDR recordings"
+HOMEPAGE="http://projects.vdr-developer.org/projects/plg-markad/"
+SRC_URI="http://projects.vdr-developer.org/attachments/download/${VERSION}/${P}.tgz"
+
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.6
+ media-video/ffmpeg[mp3,x264]
+ !media-video/noad"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${VDRPLUGIN}-${PV}/plugin"
+S2="${WORKDIR}/${VDRPLUGIN}-${PV}/command"
+
+src_prepare() {
+ vdr-plugin_src_prepare
+
+ cd "${S2}"
+ sed -i Makefile \
+ -e "s:\$(CXXFLAGS) \$(OBJS):\$(CXXFLAGS) \$(LDFLAGS) \$(OBJS):"
+
+ if has_version ">=media-video/vdr-1.7.15"; then
+ sed -e "s:2001:6419:" -i markad-standalone.cpp
+ fi
+}
+
+src_compile() {
+ vdr-plugin_src_compile
+
+ cd "${S2}"
+ emake markad || die "Compiling command-line markad binary failed"
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ cd "${S2}"
+ dobin markad
+
+ insinto /var/lib/markad
+ doins -r "${S2}"/logos/*
+
+ cd "${WORKDIR}/${VDRPLUGIN}-${PV}"
+ dodoc README HISTORY
+}