From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF88F13835B for ; Mon, 22 Feb 2021 14:47:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01CFEE0844; Mon, 22 Feb 2021 14:47:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF606E0844 for ; Mon, 22 Feb 2021 14:47:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5ABE340E68 for ; Mon, 22 Feb 2021 14:47:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A74D04F9 for ; Mon, 22 Feb 2021 14:47:26 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1614005235.290ec0e38b92302f4c7448d48070387eff77f7af.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-epgsearch/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402.ebuild X-VCS-Directories: media-plugins/vdr-epgsearch/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 290ec0e38b92302f4c7448d48070387eff77f7af X-VCS-Branch: master Date: Mon, 22 Feb 2021 14:47:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7448d22e-5ac6-4b24-bc74-44c2647d980b X-Archives-Hash: f19734b4a301a05d7a6d10d4dffa64fd commit: 290ec0e38b92302f4c7448d48070387eff77f7af Author: Joonas Niilola gentoo org> AuthorDate: Mon Feb 22 14:27:50 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Feb 22 14:47:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=290ec0e3 media-plugins/vdr-epgsearch: open if-use cases in 2.4.0_p20200402 Signed-off-by: Joonas Niilola gentoo.org> .../vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402.ebuild | 14 +++++++++++--- 1 file 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 0a99011a719..d8abad55117 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