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 EB2B91382C5 for ; Sat, 27 Feb 2021 18:49:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB92FE0958; Sat, 27 Feb 2021 18:49:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 6C135E0958 for ; Sat, 27 Feb 2021 18:49:05 +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 F16E33410F4 for ; Sat, 27 Feb 2021 18:49:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B65C4E9 for ; Sat, 27 Feb 2021 18:49:02 +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: <1614451734.2d2b3017b0c6c93e17967e82369090e9f0d889b2.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-r1.ebuild X-VCS-Directories: media-plugins/vdr-epgsearch/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 2d2b3017b0c6c93e17967e82369090e9f0d889b2 X-VCS-Branch: master Date: Sat, 27 Feb 2021 18:49:02 +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: 9cfe5101-6e8e-4ef4-94dc-4af60a1e9496 X-Archives-Hash: a84aa83b9b287d45080899b1893f8971 commit: 2d2b3017b0c6c93e17967e82369090e9f0d889b2 Author: Martin Dummer gmx net> AuthorDate: Sat Feb 27 13:34:49 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Feb 27 18:48:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d2b3017 media-plugins/vdr-epgsearch: fix for 2.4.0_p20200402-r1 the useflag logic is wrong since commit 290ec0e38b, fix this here fix sendmail path Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Martin Dummer gmx.net> Signed-off-by: Joonas Niilola gentoo.org> .../vdr-epgsearch-2.4.0_p20200402-r1.ebuild | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402-r1.ebuild b/media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402-r1.ebuild new file mode 100644 index 00000000000..cf329742380 --- /dev/null +++ b/media-plugins/vdr-epgsearch/vdr-epgsearch-2.4.0_p20200402-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: create timers from epg content based on saved search expressions" +HOMEPAGE="http://winni.vdr-developer.org/epgsearch/index_eng.html" +GIT_COMMIT_ID="d8cff1a251ef2b54f1de3f8e6ea55a838eeb73c3" +SRC_URI="https://projects.vdr-developer.org/git/vdr-plugin-epgsearch.git/snapshot/vdr-plugin-epgsearch-${GIT_COMMIT_ID}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="conflictcheckonly epgsearchonly pcre quicksearch tre" +REQUIRED_USE="?? ( pcre tre )" + +DEPEND=" + >=media-video/vdr-2.4 + pcre? ( dev-libs/libpcre ) + tre? ( dev-libs/tre )" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-apps/groff + dev-lang/perl" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.0_makefile.patch" + "${FILESDIR}/${PN}-2.4.0_docsrc2man-no-gzip.patch" + "${FILESDIR}/${P}_clang.patch" +) + +QA_FLAGS_IGNORED=" + usr/lib/vdr/plugins/libvdr-.* + usr/lib64/vdr/plugins/libvdr-.* + usr/bin/createcats" +S="${WORKDIR}/vdr-plugin-epgsearch-${GIT_COMMIT_ID}" + +src_prepare() { + # remove untranslated .po files + 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" + + 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 + + fix_vdr_libsi_include conflictcheck.c + + # install conf-file disabled + sed -e '/^Menu/s:^:#:' -i conf/epgsearchmenu.conf || die "cannot modify epgsearchmenu.conf" + + # Get rid of the broken symlink + rm README || die "cannot remove broken symlink" +} + +src_compile() { + BUILD_PARAMS="SENDMAIL=/usr/sbin/sendmail AUTOCONFIG=0" + + if use pcre; then + BUILD_PARAMS+=" REGEXLIB=pcre" + einfo "Using pcre for regexp searches" + fi + + if use tre; then + BUILD_PARAMS+=" REGEXLIB=tre" + einfo "Using tre for unlimited fuzzy searches" + fi + + vdr-plugin-2_src_compile +} + +src_install() { + local DOCS=( conf/*.templ HISTORY* README.Translators ) + vdr-plugin-2_src_install + + diropts -m 755 -o vdr -g vdr + insopts -m 644 -o vdr -g vdr + keepdir /etc/vdr/plugins/epgsearch + insinto /etc/vdr/plugins/epgsearch + doins conf/* + + doman man/en/* + doman -i18n=de man/de/* +}