diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-10-03 16:23:20 +0200 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-10-03 16:23:20 +0200 |
commit | 0cdc2420785f7465f7c804a3a4baf0335de7da47 (patch) | |
tree | 5a2d1c538496ca325bea45d1fbeeaae740b51fc6 /media-plugins/vdr-skinelchi/vdr-skinelchi-0.3.0.ebuild | |
parent | net-dns/bind-tools: amd64 stable (diff) | |
download | gentoo-0cdc2420785f7465f7c804a3a4baf0335de7da47.tar.gz gentoo-0cdc2420785f7465f7c804a3a4baf0335de7da47.tar.bz2 gentoo-0cdc2420785f7465f7c804a3a4baf0335de7da47.zip |
media-plugins/vdr-skinelchi: bump; eapi=6; some compile warnings gcc-6 fixed
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-plugins/vdr-skinelchi/vdr-skinelchi-0.3.0.ebuild')
-rw-r--r-- | media-plugins/vdr-skinelchi/vdr-skinelchi-0.3.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.3.0.ebuild b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.3.0.ebuild new file mode 100644 index 000000000000..e1017e4a8637 --- /dev/null +++ b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit vdr-plugin-2 + +MY_P=${P/_pre/pre} + +DESCRIPTION="VDR Skin Plugin: skinelchi" +HOMEPAGE="http://firefly.vdr-developer.org/skinelchi" +SRC_URI="http://firefly.vdr-developer.org/skinelchi/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND=">=media-video/vdr-1.6 + imagemagick? ( media-gfx/imagemagick )" + +RDEPEND="x11-themes/vdr-channel-logos" + +S=${WORKDIR}/${MY_P#vdr-} + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.1.1_pre2-r1.sh" + +src_prepare() { + vdr-plugin-2_src_prepare + + if ! use imagemagick; then + einfo "Disabling imagemagick-support." + sed -i "${S}"/Makefile \ + -e '/^[[:space:]]*SKINELCHI_HAVE_IMAGEMAGICK = 1/s/^/#/' + fi + + sed -i "${S}"/DisplayChannel.c \ + -e "s:/hqlogos::" \ + -e "s:/logos::" + + # wrong sed in vdr-plugin-2.eclass? + sed -e "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRINCDIR)/include:" \ + -i Makefile + + # gcc-6 warnings + sed -e "s:auto_ptr:unique_ptr:" -i services/epgsearch_services.h +} |