Gentoo Archives: gentoo-commits

From: Matthias Schwarzott <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-dvbhddevice/, media-plugins/vdr-dvbhddevice/files/
Date: Sat, 31 Aug 2019 17:44:01
Message-Id: 1567273010.7a539ddaff9546f2f08de18d720e1019232e4fc4.zzam@gentoo
1 commit: 7a539ddaff9546f2f08de18d720e1019232e4fc4
2 Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
3 AuthorDate: Thu Nov 8 16:42:01 2018 +0000
4 Commit: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 31 17:36:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a539dda
7
8 media-plugins/vdr-dvbhddevice: version bump to 2.2.0
9
10 new version 2.2.0
11 new SRC_URI and HOMEPAGE
12 fix compile error "... AUDIO_GET_PTS undeclared" with kernel >=4.17
13 add proxy-maintainer
14
15 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
16 Closes: https://bugs.gentoo.org/635370
17 Package-Manager: Portage-2.3.51, Repoman-2.3.11
18 Closes: https://github.com/gentoo/gentoo/pull/10365
19 Signed-off-by: Matthias Schwarzott <zzam <AT> gentoo.org>
20
21 media-plugins/vdr-dvbhddevice/Manifest | 1 +
22 .../files/define_AUDIO_GET_PTS.patch | 11 ++++++
23 media-plugins/vdr-dvbhddevice/metadata.xml | 22 ++++++++----
24 .../vdr-dvbhddevice-2.2.0_p20180420.ebuild | 40 ++++++++++++++++++++++
25 4 files changed, 67 insertions(+), 7 deletions(-)
26
27 diff --git a/media-plugins/vdr-dvbhddevice/Manifest b/media-plugins/vdr-dvbhddevice/Manifest
28 index f130e50c4da..692433b91d7 100644
29 --- a/media-plugins/vdr-dvbhddevice/Manifest
30 +++ b/media-plugins/vdr-dvbhddevice/Manifest
31 @@ -1,2 +1,3 @@
32 DIST dvbhddevice-2.1.3_p20140115.tar.gz 40424 BLAKE2B 99d5fece7557c7c9f2b0174c9b1f01ac7628f0f0b6aa954f3e829de4653e10cbed6d0516b966f69737aff9ffafd224b3558bd868e972b64ab60c965ba569555a SHA512 29729325affec5e1330cf361a0c82ee5ef9f48f9a6a5032881b331a6451c05c8d99831c43e3eb08129053a7549dd4cd73a5e0afc6fe04d35956c8fecad48d2f4
33 DIST vdr-dvbhddevice-2.1.6_p20141116.tar.gz 40902 BLAKE2B 60829c76226c1f0254ac6cdd940fcbcbf08d4cf0a50bfd9ab992db80f63f07389ab29cd4a04aec6319744a39e86cce7dbfee240ab77e819726facd9dbc6d7964 SHA512 0189cf5bfd1d9648915ec65427b4eeeb85ac80281a07a910e65381d86913c37d5840abd8984f17028afe63eae457c7ce398a446e3ad4b70ae4deada316c14b5b
34 +DIST vdr-dvbhddevice-2.2.0_p20180420.tar.gz 42772 BLAKE2B c70842be34181b15aab69f5a62ba98f4cc72ad5148db684a45ae5c6b74431517b70cda72dbfb6abc371675fd2742f86000b02c645bfba5b6a6b64817f5c59b35 SHA512 bc6ede24897a7704ecefcfdca92eeaf1bf9f8ed2410a478a21cc712730bfe94616c01379a172214f664481fba636ee3aea33540a6cf258597015dfb73720c408
35
36 diff --git a/media-plugins/vdr-dvbhddevice/files/define_AUDIO_GET_PTS.patch b/media-plugins/vdr-dvbhddevice/files/define_AUDIO_GET_PTS.patch
37 new file mode 100644
38 index 00000000000..4107608797f
39 --- /dev/null
40 +++ b/media-plugins/vdr-dvbhddevice/files/define_AUDIO_GET_PTS.patch
41 @@ -0,0 +1,11 @@
42 +--- a/dvbhdffdevice.h 2018-10-10 09:03:47.464147905 +0200
43 ++++ b/dvbhdffdevice.h 2018-10-10 09:04:59.353350738 +0200
44 +@@ -4,6 +4,9 @@
45 + * See the README file for copyright information and how to reach the author.
46 + */
47 +
48 ++#ifndef AUDIO_GET_PTS
49 ++#define AUDIO_GET_PTS _IOR('o', 19, __u64)
50 ++#endif
51 + #ifndef __DVBHDFFDEVICE_H
52 + #define __DVBHDFFDEVICE_H
53
54 diff --git a/media-plugins/vdr-dvbhddevice/metadata.xml b/media-plugins/vdr-dvbhddevice/metadata.xml
55 index 2223ff4c5ea..25143612c47 100644
56 --- a/media-plugins/vdr-dvbhddevice/metadata.xml
57 +++ b/media-plugins/vdr-dvbhddevice/metadata.xml
58 @@ -1,11 +1,19 @@
59 <?xml version="1.0" encoding="UTF-8"?>
60 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
61 <pkgmetadata>
62 - <maintainer type="project">
63 - <email>vdr@g.o</email>
64 - <name>Gentoo VDR Project</name>
65 - </maintainer>
66 - <upstream>
67 - <remote-id type="bitbucket">powARman/dvbhddevice</remote-id>
68 - </upstream>
69 + <maintainer type="person">
70 + <email>martin.dummer@×××.net</email>
71 + <name>Martin Dummer</name>
72 + </maintainer>
73 + <maintainer type="project">
74 + <email>vdr@g.o</email>
75 + <name>Gentoo VDR Project</name>
76 + </maintainer>
77 + <maintainer type="project">
78 + <email>proxy-maint@g.o</email>
79 + <name>Proxy Maintainers</name>
80 + </maintainer>
81 + <upstream>
82 + <remote-id type="bitbucket">powARman/dvbhddevice</remote-id>
83 + </upstream>
84 </pkgmetadata>
85
86 diff --git a/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.2.0_p20180420.ebuild b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.2.0_p20180420.ebuild
87 new file mode 100644
88 index 00000000000..9f21531f038
89 --- /dev/null
90 +++ b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.2.0_p20180420.ebuild
91 @@ -0,0 +1,40 @@
92 +# Copyright 2018 Gentoo Authors
93 +# Distributed under the terms of the GNU General Public License v2
94 +
95 +EAPI=7
96 +
97 +inherit vdr-plugin-2
98 +
99 +HG_REVISION="2ea854ae8c7a"
100 +HG_REVISION_DATE="20180420"
101 +
102 +DESCRIPTION="VDR Plugin: output device for the 'Full Featured' TechnoTrend
103 +S2-6400 DVB Card"
104 +HOMEPAGE="https://bitbucket.org/powARman/dvbhddevice"
105 +SRC_URI="https://bitbucket.org/powARman/dvbhddevice/get/${HG_REVISION}.tar.gz ->
106 + ${P}.tar.gz"
107 +
108 +LICENSE="GPL-2"
109 +SLOT="0"
110 +KEYWORDS="~amd64 ~x86"
111 +IUSE=""
112 +
113 +DEPEND=">=media-video/vdr-2.0.0"
114 +RDEPEND="${DEPEND}"
115 +
116 +S="${WORKDIR}/powARman-${VDRPLUGIN}-${HG_REVISION}"
117 +
118 +src_prepare() {
119 + vdr-plugin-2_src_prepare
120 +
121 + eapply "${FILESDIR}/define_AUDIO_GET_PTS.patch"
122 + fix_vdr_libsi_include dvbhdffdevice.c
123 +}
124 +
125 +src_install() {
126 + vdr-plugin-2_src_install
127 +
128 + doheader dvbhdffdevice.h hdffcmd.h
129 + insinto /usr/include/libhdffcmd
130 + doins libhdffcmd/*.h
131 +}