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 D8951138350 for ; Tue, 11 Feb 2020 19:57:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED64EE08F1; Tue, 11 Feb 2020 19:57:49 +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 AAB54E08F1 for ; Tue, 11 Feb 2020 19:57:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 4137B34EB9B for ; Tue, 11 Feb 2020 19:57:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CA217B for ; Tue, 11 Feb 2020 19:57:46 +0000 (UTC) From: "Jörg Bornkessel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jörg Bornkessel" Message-ID: <1581451044.e7c2235119568d65d3ee364aada3e2c65dcf9bc7.hd_brummy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/vdr/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/vdr/vdr-2.4.1.ebuild X-VCS-Directories: media-video/vdr/ X-VCS-Committer: hd_brummy X-VCS-Committer-Name: Jörg Bornkessel X-VCS-Revision: e7c2235119568d65d3ee364aada3e2c65dcf9bc7 X-VCS-Branch: master Date: Tue, 11 Feb 2020 19:57:46 +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: 32c8c414-6605-4b51-abc4-ce96a2b44400 X-Archives-Hash: 9e82bb743aa785c67fd2ab7c0e1b20ac commit: e7c2235119568d65d3ee364aada3e2c65dcf9bc7 Author: Joerg Bornkessel gentoo org> AuthorDate: Tue Feb 11 19:56:30 2020 +0000 Commit: Jörg Bornkessel gentoo org> CommitDate: Tue Feb 11 19:57:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c22351 media-video/vdr: cleanup old, broken by glibc-2.31 Closes: https://bugs.gentoo.org/708802 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Joerg Bornkessel gentoo.org> media-video/vdr/vdr-2.4.1.ebuild | 201 --------------------------------------- 1 file changed, 201 deletions(-) diff --git a/media-video/vdr/vdr-2.4.1.ebuild b/media-video/vdr/vdr-2.4.1.ebuild deleted file mode 100644 index d2f923913af..00000000000 --- a/media-video/vdr/vdr-2.4.1.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic multilib toolchain-funcs - -DESCRIPTION="Video Disk Recorder - turns a pc into a powerful set top box for DVB" -HOMEPAGE="http://www.tvdr.de/" -SRC_URI="ftp://ftp.tvdr.de/vdr/${P}.tar.bz2 - mainmenuhooks? ( http://vdr.websitec.de/download/${PN}/${P}/${P}_mainmenuhook-1.0.1.patch.bz2 ) - menuorg? ( https://projects.vdr-developer.org/projects/plg-menuorg/repository/revisions/master/raw/vdr-patch/vdr-menuorg-2.3.x.diff ) - naludump? ( http://www.udo-richter.de/vdr/files/vdr-2.1.5-naludump-0.1.diff ) - pinplugin? ( http://vdr.websitec.de/download/${PN}/${P}/${P}_pinplugin.patch.bz2 ) - ttxtsubs? ( http://vdr.websitec.de/download/${PN}/${P}/${PN}-2.4.0-ttxtsubs.patch.bz2 )" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" -IUSE="bidi debug demoplugins html keyboard mainmenuhooks menuorg naludump pinplugin systemd ttxtsubs verbose" - -COMMON_DEPEND=" - virtual/jpeg:* - sys-libs/libcap - >=media-libs/fontconfig-2.4.2 - >=media-libs/freetype-2" -DEPEND="${COMMON_DEPEND} - >=virtual/linuxtv-dvb-headers-5.3" -RDEPEND="${COMMON_DEPEND} - dev-lang/perl - media-tv/gentoo-vdr-scripts - media-fonts/corefonts - bidi? ( dev-libs/fribidi ) - systemd? ( sys-apps/systemd )" -BDEPEND="sys-devel/gettext" - -REQUIRED_USE="pinplugin? ( !mainmenuhooks )" - -CONF_DIR="/etc/vdr" -CAP_FILE="${S}/capabilities.sh" -CAPS="# Capabilities of the vdr-executable for use by startscript etc." - -pkg_setup() { - use debug && append-flags -g - - PLUGIN_LIBDIR="/usr/$(get_libdir)/vdr/plugins" - - tc-export CC CXX AR -} - -add_cap() { - local arg - for arg; do - CAPS="${CAPS}\n${arg}=1" - done -} - -lang_po() { - LING_PO=$( ls ${S}/po | sed -e "s:.po::g" | cut -d_ -f1 | tr \\\012 ' ' ) -} - -src_configure() { - # support languages, written from right to left - export "BIDI=$(usex bidi 1 0)" - # systemd notification support - export "SDNOTIFY=$(usex systemd 1 0)" - # with/without keyboard - export "USE_KBD=$(usex keyboard 1 0)" - # detailed compile output for debug - export "VERBOSE=$(usex verbose 1 0)" -} - -src_prepare() { - # apply maintenance-patches - ebegin "Changing paths for gentoo" - - local DVBDIR=/usr/include - local i - for i in ${DVB_HEADER_PATH} /usr/include/v4l-dvb-hg /usr/include; do - [[ -d ${i} ]] || continue - if [[ -f ${i}/linux/dvb/dmx.h ]]; then - einfo "Found DVB header files in ${i}" - DVBDIR=${i} - break - fi - done - - # checking for s2api headers - local api_version - api_version=$(awk -F' ' '/define DVB_API_VERSION / {print $3}' "${DVBDIR}"/linux/dvb/version.h) - api_version=${api_version}*$(awk -F' ' '/define DVB_API_VERSION_MINOR / {print $3}' "${DVBDIR}"/linux/dvb/version.h) - - if [[ ${api_version:-0} -lt 5*3 ]]; then - eerror "DVB header files do not contain s2api support or too old for ${P}" - eerror "You cannot compile VDR against old dvb-header" - die "DVB headers too old" - fi - - cat > Make.config <<-EOT || die "cannot write to Make.config" - # - # Generated by ebuild ${PF} - # - PREFIX = /usr - DVBDIR = ${DVBDIR} - PLUGINLIBDIR = ${PLUGIN_LIBDIR} - CONFDIR = ${CONF_DIR} - ARGSDIR = \$(CONFDIR)/conf.d - VIDEODIR = /var/vdr/video - LOCDIR = \$(PREFIX)/share/locale - INCDIR = \$(PREFIX)/include - - DEFINES += -DCONFDIR=\"\$(CONFDIR)\" - INCLUDES += -I\$(DVBDIR) - - # >=vdr-1.7.36-r1; parameter only used for compiletime on vdr - # PLUGINLIBDIR (plugin Makefile old) = LIBDIR (plugin Makefile new) - LIBDIR = ${PLUGIN_LIBDIR} - PCDIR = /usr/$(get_libdir)/pkgconfig - - EOT - eend 0 - - eapply "${FILESDIR}/${P}_gentoo.patch" - eapply "${FILESDIR}/vdr-2.2.0-jpeg-9c.patch" - use demoplugins || eapply "${FILESDIR}/vdr-2.4_remove_plugins.patch" - eapply "${FILESDIR}/${P}_makefile-variables.patch" - - # works - use naludump && eapply "${DISTDIR}/${PN}-2.1.5-naludump-0.1.diff" -# # request to upstream for new patch -# use permashift && eapply "${DISTDIR}/vdr-2.3-patch-for-permashift.diff" - #pinplugin works - use pinplugin && eapply "${WORKDIR}/${P}_pinplugin.patch" - # ttxtsubs works - use ttxtsubs && eapply "${WORKDIR}/${PN}-2.4.0-ttxtsubs.patch" - # menuorg works - use menuorg && eapply "${DISTDIR}/vdr-menuorg-2.3.x.diff" - # mainmenuhooks, works - use mainmenuhooks && eapply "${WORKDIR}/${P}_mainmenuhook-1.0.1.patch" - - add_cap CAP_UTF8 \ - CAP_IRCTRL_RUNTIME_PARAM \ - CAP_VFAT_RUNTIME_PARAM \ - CAP_CHUID \ - CAP_SHUTDOWN_AUTO_RETRY - - echo -e ${CAPS} > "${CAP_FILE}" || die "cannot write to CAP_FILE" - - # LINGUAS support - einfo "\n \t VDR supports the LINGUAS values" - - lang_po - - einfo "\t Please set one of this values in your sytem make.conf" - einfo "\t LINGUAS=\"${LING_PO}\"\n" - - if [[ -z ${LINGUAS} ]]; then - einfo "\n \t No values in LINGUAS=" - einfo "\t You will get only english text on OSD \n" - fi - - strip-linguas ${LING_PO} en - - default -} - -src_install() { - # trick the makefile to not create a VIDEODIR by supplying it with an - # existing directory - emake VIDEODIR="/" DESTDIR="${ED}" install - - keepdir "${PLUGIN_LIBDIR}" - - # backup for plugins they don't be able to create this dir - keepdir "${CONF_DIR}/plugins" - - if use html; then - local HTML_DOCS=( *.html ) - fi - local DOCS=( MANUAL INSTALL README* HISTORY CONTRIBUTORS UPDATE-2* ) - einstalldocs - - insinto /usr/share/vdr - doins "${CAP_FILE}" - - fowners vdr:vdr "${CONF_DIR}" -R -} - -pkg_postinst() { - elog "Please read the /usr/share/doc/${PF}/UPDATE-2.4" - elog "for major changes in this version\n" - - elog "It is a good idea to run vdrplugin-rebuild now.\n" - - elog "To get nice symbols in OSD we recommend to install" - elog "\t1. emerge media-fonts/vdrsymbols-ttf" - elog "\t2. select font VDRSymbolsSans in Setup\n" - - elog "To get an idea how to proceed now, have a look at our vdr-guide:" - elog "\thttps://wiki.gentoo.org/wiki/VDR" -}