Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/vdr/
Date: Tue, 14 Mar 2023 23:07:13
Message-Id: 1678835172.c592536b35c87e8b833a5fb08b8129dd8563cef0.conikost@gentoo
1 commit: c592536b35c87e8b833a5fb08b8129dd8563cef0
2 Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
3 AuthorDate: Sun Mar 12 10:37:47 2023 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 14 23:06:12 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c592536b
7
8 media-video/vdr: drop 2.6.1
9
10 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 media-video/vdr/Manifest | 1 -
14 media-video/vdr/vdr-2.6.1.ebuild | 199 ---------------------------------------
15 2 files changed, 200 deletions(-)
16
17 diff --git a/media-video/vdr/Manifest b/media-video/vdr/Manifest
18 index ad6735144b89..6e905f5e27c4 100644
19 --- a/media-video/vdr/Manifest
20 +++ b/media-video/vdr/Manifest
21 @@ -1,6 +1,5 @@
22 DIST extpng-vdr-2.2.0-gentoo-edition-v1.patch.bz2 34664 BLAKE2B 81b68ebe0ef4588c3676f0b7a2c766d8d4d4f754a987b3be5868f3c6eff9158d4cea8e492ca81df535e637dbdc5baff638d1fafb4163e9d9a2d0125aba17e2e1 SHA512 16d6fbb8201f003dfe653b6a49424b794d7e697e27ad6f2383dbe17b76712ea5a3da88a676900b84d75ff7425bf3eb9084d60a89a4598758f482dc1f013f7b3e
23 DIST vdr-2.2.0.tar.bz2 922708 BLAKE2B 975e07d6d4c5bd13ee92be5d6a1826d6404b0c59e20fa2e30689b185a61e02d54782ad528e6a4f15e0d36806b30bcf48aa336d63adb3604e78056ff318e0fd2c SHA512 183f58133915c6c0fe8ec2b88becbcb2a36418210e6dcf7931053d3771d727c3581593f9eb5c9693abf39e22e728f7b41c42079cd704610c3636ec05134ea93d
24 -DIST vdr-2.6.1.tbz2 937103 BLAKE2B d8bbf8cb74f79c328ba7a367cd120d9472be667def851fbdff2f2fda3addbf33ae1f0ab0f20dc0ea6b3a03667e36164a5acf5a17cff8f7934c15f4e61b3a8db2 SHA512 235ffd1654d8f13ba658533bfa5db9c9669e93106a63a770297997f9b8342807f270f26e7a6f5a3c127cd9f760bb94ae77f884dcad42a500615c28e1cf3fd92f
25 DIST vdr-2.6.1_ttxtsubs_v2.patch 40549 BLAKE2B 525c05b72fa957372cc1ef91428428f664f42d92eebc06fd0b179afbe99e4ecc4919c69cef000cc15c8340c9a2506d38cbf755fd6665cde1708ce17d4320a35f SHA512 590c43e63818de8be9637cb3b32bf3399b82a181ca151d67e2341232669619020ab78ba9934da3a9c58cdb3bac56fc2a332a5838a92ee0851e42c3707726eb49
26 DIST vdr-2.6.3.tbz2 943867 BLAKE2B 48dd2f19125dc60b68d835d3da457b4e2377b7b8ca31b9e1849b9f5ebe29391ed51c9460ec8efc9bdd349adba6d39a2b17f4a3e8f23bea3964b15bcbd9618ec9 SHA512 d84ca2cd797c80134a28cebc28172f45081d4f9580122f823dde396d106a15fa88d5f040252b8ee7caa7d44fa6f1cfba37a13c6a36ecd3fd2734b0140f7c438c
27 DIST vdr-menuorg-2.3.x.diff 8852 BLAKE2B 19b98d51a69f52ecda5500f51ef1741a8397953b20c490055eab0393da5f56ff9598c3e1e8ed8b915f5877e08deeb9ba7a9ef8d9356ad3a1fa12e3778869174a SHA512 7b41c3a529858a4953a57f21619ea01864e140cc1755ee0b03caf1c4de41e80c3f805653502bc8d39d02a4dfcddf720acd4a8c8bd91f4871eef31d86e8e915c0
28
29 diff --git a/media-video/vdr/vdr-2.6.1.ebuild b/media-video/vdr/vdr-2.6.1.ebuild
30 deleted file mode 100644
31 index a59cf1f2c1aa..000000000000
32 --- a/media-video/vdr/vdr-2.6.1.ebuild
33 +++ /dev/null
34 @@ -1,199 +0,0 @@
35 -# Copyright 2021-2022 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=8
39 -
40 -inherit flag-o-matic strip-linguas toolchain-funcs user-info
41 -
42 -DESCRIPTION="Video Disk Recorder - turns a pc into a powerful set top box for DVB"
43 -HOMEPAGE="http://www.tvdr.de/"
44 -SRC_URI="http://git.tvdr.de/?p=vdr.git;a=snapshot;h=refs/tags/${PV};sf=tbz2 -> ${P}.tbz2
45 - menuorg? ( https://github.com/vdr-projects/vdr-plugin-menuorg/raw/master/vdr-patch/vdr-menuorg-2.3.x.diff )
46 - ttxtsubs? ( https://md11.it.cx/download/${PN}/${PN}-2.6.1_ttxtsubs_v2.patch )"
47 -
48 -LICENSE="GPL-2+"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
51 -IUSE="bidi debug demoplugins html keyboard mainmenuhooks menuorg naludump permashift pinplugin systemd ttxtsubs verbose"
52 -
53 -COMMON_DEPEND="
54 - acct-group/vdr
55 - acct-user/vdr
56 - media-libs/fontconfig
57 - media-libs/freetype
58 - media-libs/libjpeg-turbo
59 - sys-libs/libcap"
60 -DEPEND="${COMMON_DEPEND}
61 - >=virtual/linuxtv-dvb-headers-5.3"
62 -RDEPEND="${COMMON_DEPEND}
63 - dev-lang/perl
64 - media-tv/gentoo-vdr-scripts
65 - media-fonts/corefonts
66 - bidi? ( dev-libs/fribidi )
67 - systemd? ( sys-apps/systemd )"
68 -BDEPEND="
69 - sys-devel/gettext
70 - virtual/pkgconfig"
71 -
72 -REQUIRED_USE="permashift? ( !naludump !pinplugin )"
73 -
74 -CONF_DIR="/etc/vdr"
75 -CAP_FILE="${S}/capabilities.sh"
76 -CAPS="# Capabilities of the vdr-executable for use by startscript etc."
77 -
78 -pkg_setup() {
79 - use debug && append-flags -g
80 -
81 - PLUGIN_LIBDIR="/usr/$(get_libdir)/vdr/plugins"
82 - VIDEO_DIR="$(egethome vdr)/video"
83 -
84 - tc-export CC CXX AR
85 -}
86 -
87 -add_cap() {
88 - local arg
89 - for arg; do
90 - CAPS="${CAPS}\n${arg}=1"
91 - done
92 -}
93 -
94 -lang_po() {
95 - LING_PO=$( ls "${S}"/po | sed -e "s:.po::g" | cut -d_ -f1 | tr \\\012 ' ' )
96 -}
97 -
98 -src_prepare() {
99 - # apply maintenance-patches
100 - ebegin "Changing paths for gentoo"
101 -
102 - local DVBDIR=/usr/include
103 - local i
104 - for i in ${DVB_HEADER_PATH} /usr/include/v4l-dvb-hg /usr/include; do
105 - [[ -d ${i} ]] || continue
106 - if [[ -f ${i}/linux/dvb/dmx.h ]]; then
107 - einfo "Found DVB header files in ${i}"
108 - DVBDIR=${i}
109 - break
110 - fi
111 - done
112 -
113 - # checking for s2api headers
114 - local api_version
115 - api_version=$(awk -F' ' '/define DVB_API_VERSION / {print $3}' "${DVBDIR}"/linux/dvb/version.h)
116 - api_version=${api_version}*$(awk -F' ' '/define DVB_API_VERSION_MINOR / {print $3}' "${DVBDIR}"/linux/dvb/version.h)
117 -
118 - if [[ ${api_version:-0} -lt 5*3 ]]; then
119 - eerror "DVB header files do not contain s2api support or too old for ${P}"
120 - eerror "You cannot compile VDR against old dvb-header"
121 - die "DVB headers too old"
122 - fi
123 -
124 - cat > Make.config <<-EOT || die "cannot write to Make.config"
125 - #
126 - # Generated by ebuild ${PF}
127 - #
128 - PREFIX = /usr
129 - DVBDIR = ${DVBDIR}
130 - PLUGINLIBDIR = ${PLUGIN_LIBDIR}
131 - CONFDIR = ${CONF_DIR}
132 - ARGSDIR = \$(CONFDIR)/conf.d
133 - VIDEODIR = ${VIDEO_DIR}
134 - LOCDIR = \$(PREFIX)/share/locale
135 - INCDIR = \$(PREFIX)/include
136 -
137 - DEFINES += -DCONFDIR=\"\$(CONFDIR)\"
138 - INCLUDES += -I\$(DVBDIR)
139 -
140 - # >=vdr-1.7.36-r1; parameter only used for compiletime on vdr
141 - # PLUGINLIBDIR (plugin Makefile old) = LIBDIR (plugin Makefile new)
142 - LIBDIR = ${PLUGIN_LIBDIR}
143 - PCDIR = /usr/$(get_libdir)/pkgconfig
144 -
145 - EOT
146 - eend 0
147 -
148 - eapply "${FILESDIR}/${PN}-2.4.6_gentoo.patch"
149 - use demoplugins || eapply "${FILESDIR}/vdr-2.4_remove_plugins.patch"
150 - eapply "${FILESDIR}/${PN}-2.4.6_makefile-variables.patch"
151 -
152 - # fix clang/LLVM compile
153 - eapply "${FILESDIR}/${PN}-2.4.6_clang.patch"
154 -
155 - use naludump && eapply "${FILESDIR}/${P}_naludump.patch"
156 - use permashift && eapply "${FILESDIR}/${P}-patch-for-permashift.patch"
157 - use pinplugin && eapply "${FILESDIR}/${P}_pinplugin.patch"
158 - use ttxtsubs && eapply "${DISTDIR}/${P}_ttxtsubs_v2.patch"
159 - use menuorg && eapply "${DISTDIR}/vdr-menuorg-2.3.x.diff"
160 - use mainmenuhooks && eapply "${FILESDIR}/${PN}-2.4.1_mainmenuhook-1.0.1.patch"
161 -
162 - add_cap CAP_UTF8 \
163 - CAP_IRCTRL_RUNTIME_PARAM \
164 - CAP_VFAT_RUNTIME_PARAM \
165 - CAP_CHUID \
166 - CAP_SHUTDOWN_AUTO_RETRY
167 -
168 - echo -e ${CAPS} > "${CAP_FILE}" || die "cannot write to CAP_FILE"
169 -
170 - # LINGUAS support
171 - einfo "\n \t VDR supports the LINGUAS values"
172 -
173 - lang_po
174 -
175 - einfo "\t Please set one of this values in your sytem make.conf"
176 - einfo "\t LINGUAS=\"${LING_PO}\"\n"
177 -
178 - if [[ -z ${LINGUAS} ]]; then
179 - einfo "\n \t No values in LINGUAS="
180 - einfo "\t You will get only english text on OSD \n"
181 - fi
182 -
183 - strip-linguas ${LING_PO} en
184 -
185 - default
186 -}
187 -
188 -src_configure() {
189 - # support languages, written from right to left
190 - export "BIDI=$(usex bidi 1 0)"
191 - # systemd notification support
192 - export "SDNOTIFY=$(usex systemd 1 0)"
193 - # with/without keyboard
194 - export "USE_KBD=$(usex keyboard 1 0)"
195 - # detailed compile output for debug
196 - export "VERBOSE=$(usex verbose 1 0)"
197 -}
198 -
199 -src_install() {
200 - # trick the makefile to not create a VIDEODIR by supplying it with an
201 - # existing directory
202 - emake VIDEODIR="/" DESTDIR="${ED}" install
203 -
204 - keepdir "${PLUGIN_LIBDIR}"
205 -
206 - # backup for plugins they don't be able to create this dir
207 - keepdir "${CONF_DIR}/plugins"
208 -
209 - if use html; then
210 - local HTML_DOCS=( *.html )
211 - fi
212 - local DOCS=( MANUAL INSTALL README* HISTORY CONTRIBUTORS UPDATE-2* )
213 - einstalldocs
214 -
215 - insinto /usr/share/vdr
216 - doins "${CAP_FILE}"
217 -
218 - fowners vdr:vdr "${CONF_DIR}" -R
219 -}
220 -
221 -pkg_postinst() {
222 - elog "Please read the /usr/share/doc/${PF}/UPDATE-2.4"
223 - elog "for major changes in this version\n"
224 -
225 - elog "It is a good idea to run vdrplugin-rebuild now.\n"
226 -
227 - elog "To get nice symbols in OSD we recommend to install"
228 - elog "\t1. emerge media-fonts/vdrsymbols-ttf"
229 - elog "\t2. select font VDRSymbolsSans in Setup\n"
230 -
231 - elog "To get an idea how to proceed now, have a look at our vdr-guide:"
232 - elog "\thttps://wiki.gentoo.org/wiki/VDR"
233 -}