1 |
commit: e80c64fe3eb6669c23993dcc56bb374ad0caf8b9 |
2 |
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net> |
3 |
AuthorDate: Tue Jan 25 23:43:31 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 15:38:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80c64fe |
7 |
|
8 |
media-plugins/vdr-streamdev: version bump to 0.6.3 |
9 |
|
10 |
new EAPI 8 |
11 |
make USE=server the default |
12 |
adopt proxy maintainership |
13 |
change HOME due to retirement of http://projects.vdr-developer.org |
14 |
|
15 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
16 |
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net> |
17 |
Closes: https://github.com/gentoo/gentoo/pull/23960 |
18 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
19 |
|
20 |
media-plugins/vdr-streamdev/Manifest | 1 + |
21 |
media-plugins/vdr-streamdev/metadata.xml | 24 ++++--- |
22 |
.../vdr-streamdev/vdr-streamdev-0.6.3.ebuild | 79 ++++++++++++++++++++++ |
23 |
3 files changed, 95 insertions(+), 9 deletions(-) |
24 |
|
25 |
diff --git a/media-plugins/vdr-streamdev/Manifest b/media-plugins/vdr-streamdev/Manifest |
26 |
index a38648dd0317..eae037cd7b8d 100644 |
27 |
--- a/media-plugins/vdr-streamdev/Manifest |
28 |
+++ b/media-plugins/vdr-streamdev/Manifest |
29 |
@@ -1 +1,2 @@ |
30 |
DIST vdr-plugin-streamdev-e2a9b979d3fb92967c7a6a8221e674eb7e55c813.tar.bz2 163403 BLAKE2B 4cacadc091ab8d28ccd4318eaf18aaef8f45e6caab86ef461d1b1047039ec921984ebad091d29420779982b5b37606defe5aa6c6828e8f28788886ba9839efea SHA512 e1eb69f62785178c06fa6700bd1b94ac12f2c58b1a7b8067312613279b59c5ef8157474e27863e8b2d0e47700f67fca7a61595c49809512e9e1efdb27c85eac8 |
31 |
+DIST vdr-streamdev-0.6.3.tar.gz 196906 BLAKE2B 300c24aac6f0c59fc438eafa9a300e0b68dbfb43064cf887ab9d1fbdc1b22a8ec5349a38fa5c2188ef78dbc1ac7f238e88abe0ed9d1cbcd01e4a1afde7b890cf SHA512 2c949f08f399f2570a54da67809235b6882d594fc5583b27df96b3e87951bcfc62f96c9aef715130540620cbe54f028106598941fe8cbdb80b3d0943009c039f |
32 |
|
33 |
diff --git a/media-plugins/vdr-streamdev/metadata.xml b/media-plugins/vdr-streamdev/metadata.xml |
34 |
index 6ecec60aea2b..a4f638e9ccf0 100644 |
35 |
--- a/media-plugins/vdr-streamdev/metadata.xml |
36 |
+++ b/media-plugins/vdr-streamdev/metadata.xml |
37 |
@@ -1,19 +1,25 @@ |
38 |
<?xml version="1.0" encoding="UTF-8"?> |
39 |
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
40 |
<pkgmetadata> |
41 |
+ <maintainer type="person" proxied="yes"> |
42 |
+ <email>martin.dummer@×××.net</email> |
43 |
+ <name>Martin Dummer</name> |
44 |
+ </maintainer> |
45 |
+ <maintainer type="project" proxied="proxy"> |
46 |
+ <email>proxy-maint@g.o</email> |
47 |
+ <name>Proxy Maintainers</name> |
48 |
+ </maintainer> |
49 |
<maintainer type="project"> |
50 |
<email>vdr@g.o</email> |
51 |
<name>Gentoo VDR Project</name> |
52 |
</maintainer> |
53 |
<use> |
54 |
- <flag name="client"> |
55 |
- Compile the VDR plugin vdr-streamdev-client |
56 |
- that acts like a dvb-budget card |
57 |
- </flag> |
58 |
- <flag name="server"> |
59 |
- Compile the VDR plugin vdr-streamdev-server |
60 |
- that allows remote systems to access the |
61 |
- DVB cards used for the local VDR |
62 |
- </flag> |
63 |
+ <flag name="client">Compile the VDR plugin vdr-streamdev-client that can connect a vdr to a |
64 |
+ remote streamdev-server instance</flag> |
65 |
+ <flag name="server">Compile the VDR plugin vdr-streamdev-server that allows remote systems to access the |
66 |
+ vdr using streamdev-specific VTP and HTTP protocol</flag> |
67 |
</use> |
68 |
+ <upstream> |
69 |
+ <remote-id type="github">vdr-projects/vdr-plugin-streamdev</remote-id> |
70 |
+ </upstream> |
71 |
</pkgmetadata> |
72 |
|
73 |
diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.6.3.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.6.3.ebuild |
74 |
new file mode 100644 |
75 |
index 000000000000..3565a40465d6 |
76 |
--- /dev/null |
77 |
+++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.6.3.ebuild |
78 |
@@ -0,0 +1,79 @@ |
79 |
+# Copyright 2020-2022 Gentoo Authors |
80 |
+# Distributed under the terms of the GNU General Public License v2 |
81 |
+ |
82 |
+EAPI=8 |
83 |
+ |
84 |
+inherit vdr-plugin-2 |
85 |
+ |
86 |
+DESCRIPTION="VDR Plugin: Client/Server and http streaming plugin" |
87 |
+HOMEPAGE="https://github.com/vdr-projects/vdr-plugin-streamdev" |
88 |
+SRC_URI="https://github.com/vdr-projects/vdr-plugin-streamdev/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
89 |
+S="${WORKDIR}/vdr-plugin-streamdev-${PV}" |
90 |
+ |
91 |
+LICENSE="GPL-2" |
92 |
+SLOT="0" |
93 |
+KEYWORDS="~amd64 ~arm ~x86" |
94 |
+IUSE="client +server" |
95 |
+REQUIRED_USE="|| ( client server )" |
96 |
+ |
97 |
+DEPEND="acct-user/vdr |
98 |
+ >=media-video/vdr-2.3" |
99 |
+BDEPEND="${DEPEND}" |
100 |
+RDEPEND="${DEPEND}" |
101 |
+ |
102 |
+QA_FLAGS_IGNORED=" |
103 |
+ usr/lib/vdr/plugins/libvdr-streamdev-.* |
104 |
+ usr/lib64/vdr/plugins/libvdr-streamdev-.*" |
105 |
+ |
106 |
+# vdr-plugin-2.eclass changes |
107 |
+PO_SUBDIR="client server" |
108 |
+ |
109 |
+src_prepare() { |
110 |
+ # make detection in vdr-plugin-2.eclass for new Makefile handling happy |
111 |
+ echo "# SOFILE" >> Makefile || die "modify Makefile failed" |
112 |
+ |
113 |
+ # remove unnecessary include |
114 |
+ sed -i Makefile -e "s:-I\$(VDRDIR)/include::" || die "modify Makefile failed" |
115 |
+ |
116 |
+ vdr-plugin-2_src_prepare |
117 |
+ |
118 |
+ local flag |
119 |
+ for flag in client server; do |
120 |
+ if ! use ${flag}; then |
121 |
+ sed -i Makefile \ |
122 |
+ -e '/^.PHONY:/s/'${flag}'//' \ |
123 |
+ -e '/^.PHONY:/s/'install-${flag}'//' \ |
124 |
+ -e '/^all:/s/'${flag}'//' \ |
125 |
+ -e '/^install:/s/'install-${flag}'//' || die "modify Makefile failed" |
126 |
+ fi |
127 |
+ done |
128 |
+ |
129 |
+ fix_vdr_libsi_include server/livestreamer.c |
130 |
+} |
131 |
+ |
132 |
+src_install() { |
133 |
+ vdr-plugin-2_src_install |
134 |
+ |
135 |
+ if use server; then |
136 |
+ insinto /usr/share/vdr/streamdev |
137 |
+ doins streamdev-server/externremux.sh |
138 |
+ |
139 |
+ insinto /usr/share/vdr/rcscript |
140 |
+ newins "${FILESDIR}"/rc-addon-0.6.0.sh plugin-streamdev-server.sh |
141 |
+ |
142 |
+ newconfd "${FILESDIR}"/confd-0.6.0 vdr.streamdev-server |
143 |
+ |
144 |
+ insinto /etc/vdr/plugins/streamdev-server |
145 |
+ newins streamdev-server/streamdevhosts.conf streamdevhosts.conf |
146 |
+ fowners vdr:vdr /etc/vdr -R |
147 |
+ fi |
148 |
+} |
149 |
+ |
150 |
+pkg_postinst() { |
151 |
+ vdr-plugin-2_pkg_postinst |
152 |
+ |
153 |
+ if [[ -e "${EROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf ]]; then |
154 |
+ einfo "move config file to new config DIR ${EROOT}/etc/vdr/plugins/streamdev-server/" |
155 |
+ mv "${EROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf "${EROOT}"/etc/vdr/plugins/streamdev-server/streamdevhosts.conf || die |
156 |
+ fi |
157 |
+} |