summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-02-22 16:27:50 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-02-22 16:47:15 +0200
commit290ec0e38b92302f4c7448d48070387eff77f7af (patch)
treeb5af1661eb45076dcbd9b959b2144d62fd512122 /media-plugins/vdr-epgsearch
parentmedia-plugins/vdr-epgsearch: 2.4.0 snapshot 20200402 (diff)
downloadgentoo-290ec0e38b92302f4c7448d48070387eff77f7af.tar.gz
gentoo-290ec0e38b92302f4c7448d48070387eff77f7af.tar.bz2
gentoo-290ec0e38b92302f4c7448d48070387eff77f7af.zip
media-plugins/vdr-epgsearch: open if-use cases in 2.4.0_p20200402
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-plugins/vdr-epgsearch')
-rw-r--r--media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402.ebuild b/media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402.ebuild
index 0a99011a719d..d8abad551173 100644
--- a/media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402.ebuild
+++ b/media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402.ebuild
@@ -42,9 +42,17 @@ src_prepare() {
rm "${S}"/po/{ca_ES,da_DK,el_GR,et_EE,hr_HR,hu_HU,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po \
|| die "cannot remove untranslated .po files"
- use conflictcheckonly || sed -e "s:install-\$(PLUGIN3)::" -i Makefile || die "cannot modify Makefile"
- use epgsearchonly || sed -e "s:install-\$(PLUGIN2)::" -i Makefile || die "cannot modify Makefile"
- use quicksearch || sed -e "s:install-\$(PLUGIN4)::" -i Makefile || die "cannot modify Makefile"
+ if use conflictcheckonly; then
+ sed -e "s:install-\$(PLUGIN3)::" -i Makefile || die "cannot modify Makefile"
+ fi
+
+ if use epgsearchonly; then
+ sed -e "s:install-\$(PLUGIN2)::" -i Makefile || die "cannot modify Makefile"
+ fi
+
+ if use quicksearch; then
+ sed -e "s:install-\$(PLUGIN4)::" -i Makefile || die "cannot modify Makefile"
+ fi
vdr-plugin-2_src_prepare