1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit flag-o-matic vdr-plugin-2
8 DESCRIPTION="VDR Skin Plugin: skinelchi"
9 HOMEPAGE="http://firefly.vdr-developer.org/skinelchi"
10 SRC_URI="http://firefly.vdr-developer.org/skinelchi/${P}.tar.bz2"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="media-video/vdr"
20 vdr-plugin-2_src_prepare
23 append-cxxflags -std=gnu++11
25 # disable imagemagick support, broken ...
26 sed -i "${S}"/Makefile -e \
27 "s:SKINELCHI_HAVE_IMAGEMAGICK = 1:SKINELCHI_HAVE_IMAGEMAGICK = 0:" || die
29 sed -i "${S}"/DisplayChannel.c \
31 -e "s:/logos::" || die
33 # wrong sed in vdr-plugin-2.eclass?
34 sed -e "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRINCDIR)/include:" \
38 sed -e "s:auto_ptr:unique_ptr:" -i services/epgsearch_services.h || die