diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-09-27 19:28:37 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-09-27 19:28:37 +0000 |
commit | 2d2cad9a8fe32c2b8f917456e7afe92b9d3c1ce9 (patch) | |
tree | 59543e4474c3ff68b6fb725c6df1744a0d12cc1b /media-plugins | |
parent | Drop mask for javacc-5.0. #315557 (diff) | |
download | gentoo-2-2d2cad9a8fe32c2b8f917456e7afe92b9d3c1ce9.tar.gz gentoo-2-2d2cad9a8fe32c2b8f917456e7afe92b9d3c1ce9.tar.bz2 gentoo-2-2d2cad9a8fe32c2b8f917456e7afe92b9d3c1ce9.zip |
bump
(Portage version: 2.1.11.9/cvs/Linux i686)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-markad/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/vdr-markad/vdr-markad-0.1.4.ebuild | 59 |
2 files changed, 66 insertions, 1 deletions
diff --git a/media-plugins/vdr-markad/ChangeLog b/media-plugins/vdr-markad/ChangeLog index ef6f9efe9931..fcd98bdcb409 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-markad/ChangeLog,v 1.10 2012/03/02 17:18:35 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-markad/ChangeLog,v 1.11 2012/09/27 19:28:37 hd_brummy Exp $ + +*vdr-markad-0.1.4 (27 Sep 2012) + + 27 Sep 2012; Joerg Bornkessel <hd_brummy@gentoo.org> + +vdr-markad-0.1.4.ebuild: + bump *vdr-markad-0.1.3 (02 Mar 2012) diff --git a/media-plugins/vdr-markad/vdr-markad-0.1.4.ebuild b/media-plugins/vdr-markad/vdr-markad-0.1.4.ebuild new file mode 100644 index 000000000000..bdd8dd3e238c --- /dev/null +++ b/media-plugins/vdr-markad/vdr-markad-0.1.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 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.4.ebuild,v 1.1 2012/09/27 19:28:37 hd_brummy Exp $ + +EAPI="4" + +inherit vdr-plugin-2 + +VERSION="1041" # every bump, new version + +DESCRIPTION="VDR Plugin: marks advertisements in VDR recordings" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-markad/" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6 + virtual/ffmpeg[mp3,x264] + !media-video/noad" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${VDRPLUGIN}-${PV}/plugin" +S2="${WORKDIR}/${VDRPLUGIN}-${PV}/command" + +# vdr-plugin-2.eclass changes +PO_SUBDIR="../command" + +src_prepare() { + vdr-plugin-2_src_prepare + + cd "${S2}" + sed -i Makefile \ + -e "s:\$(CXXFLAGS) \$(OBJS):\$(CXXFLAGS) \$(LDFLAGS) \$(OBJS):" \ + -e "s:\@\$(STRIP) \$(DESTDIR)/usr/bin/markad::" + + if has_version ">=media-video/vdr-1.7.15"; then + sed -e "s:2001:6419:" -i markad-standalone.cpp + fi +} + +src_compile() { + vdr-plugin-2_src_compile + + cd "${S2}" + emake markad || die "Compiling command-line markad binary failed" +} + +src_install() { + vdr-plugin-2_src_install + + cd "${S2}" + emake install DESTDIR="${D}" || die "emake install failed" + + cd "${WORKDIR}/${VDRPLUGIN}-${PV}" + dodoc README HISTORY +} |