Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/
Date: Fri, 01 Jan 2021 19:12:04
Message-Id: 1609528310.6a1643f4ce3d251587560cccde0586e30d4a432a.asturm@gentoo
1 commit: 6a1643f4ce3d251587560cccde0586e30d4a432a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 19:10:22 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 19:11:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a1643f4
7
8 media-video/pipewire: Drop 0.2.7
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-video/pipewire/Manifest | 1 -
14 .../pipewire/files/pipewire-0.2.7-fno-common.patch | 47 -------------
15 media-video/pipewire/pipewire-0.2.7.ebuild | 80 ----------------------
16 3 files changed, 128 deletions(-)
17
18 diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
19 index f712153a007..9e35cbf939a 100644
20 --- a/media-video/pipewire/Manifest
21 +++ b/media-video/pipewire/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST pipewire-0.2.7.tar.gz 421644 BLAKE2B d2ccb56a9ea5ea7782678deb6eae0b0a70da1fa69e807398062d388733901839f15a2f0f7db982fbebd2b2759f443709e6c1950b6367f3ed4801d6c2d6109e73 SHA512 10d3e20cc3d233fbcd1fc39702ae3043a656ebcd9cd3c39c77f0cc2bf42ff4956fc03e7933c7b397bca446c63f45ddacea948d5ec7e4a3300499fa2794f14334
24 DIST pipewire-0.3.10.tar.gz 1148297 BLAKE2B d890b8e6697b17be9f8706a7228b9c79631120550ac51d7fbea8b5d05ca161ce6142a5666a6a61db618d4da0519676160ba1180cf9274865d879f4bb0da2a8e7 SHA512 f2f3dd7ce9b9f3a5ab55b6da97cd64419dad5115714848ce8893795c0ed2fd2fe0059240ec9fe1c92fb1442caf8d7071e415afe6712500be1c29fd001293cf0d
25 DIST pipewire-0.3.18.tar.gz 1277055 BLAKE2B 4a18bd668afaf144d6e83590293a744b6d2c2a7d8e9fc6ab581f22d294fac5a4841098875f8569f36b794c083e4ec9f0b7d4e29a10dc79286a4843996f7fb64e SHA512 933b15908e30c389555dd9f82f87c2e571b4cb078bfbe5ed1858440166093cdee2b1c15da50bc5ab36087b62e216786b95c2aad9403e5047ae33e4fe8a6f4cc5
26
27 diff --git a/media-video/pipewire/files/pipewire-0.2.7-fno-common.patch b/media-video/pipewire/files/pipewire-0.2.7-fno-common.patch
28 deleted file mode 100644
29 index f4f82ba96c0..00000000000
30 --- a/media-video/pipewire/files/pipewire-0.2.7-fno-common.patch
31 +++ /dev/null
32 @@ -1,47 +0,0 @@
33 -Bug: https://bugs.gentoo.org/710796
34 -
35 ---- a/spa/plugins/bluez5/a2dp-codecs.h
36 -+++ b/spa/plugins/bluez5/a2dp-codecs.h
37 -@@ -284,15 +284,15 @@
38 - }
39 - }
40 -
41 --const a2dp_sbc_t bluez_a2dp_sbc;
42 -+extern const a2dp_sbc_t bluez_a2dp_sbc;
43 - #if ENABLE_MP3
44 --const a2dp_mpeg_t bluez_a2dp_mpeg;
45 -+extern const a2dp_mpeg_t bluez_a2dp_mpeg;
46 - #endif
47 - #if ENABLE_AAC
48 --const a2dp_aac_t bluez_a2dp_aac;
49 -+extern const a2dp_aac_t bluez_a2dp_aac;
50 - #endif
51 - #if ENABLE_APTX
52 --const a2dp_aptx_t bluez_a2dp_aptx;
53 -+extern const a2dp_aptx_t bluez_a2dp_aptx;
54 - #endif
55 -
56 - #endif
57 ---- a/spa/plugins/bluez5/bluez5-monitor.c
58 -+++ b/spa/plugins/bluez5/bluez5-monitor.c
59 -@@ -75,7 +75,7 @@
60 - struct spa_list transport_list;
61 - };
62 -
63 --struct spa_handle_factory spa_a2dp_sink_factory;
64 -+extern struct spa_handle_factory spa_a2dp_sink_factory;
65 -
66 - static void fill_item(struct spa_bt_monitor *this, struct spa_bt_transport *transport,
67 - struct spa_pod **result, struct spa_pod_builder *builder)
68 ---- a/spa/plugins/bluez5/meson.build
69 -+++ b/spa/plugins/bluez5/meson.build
70 -@@ -1,7 +1,8 @@
71 -
72 - bluez5_sources = ['plugin.c',
73 - 'a2dp-sink.c',
74 -- 'bluez5-monitor.c']
75 -+ 'a2dp-codecs.c',
76 -+ 'bluez5-monitor.c']
77 -
78 - bluez5lib = shared_library('spa-bluez5',
79 - bluez5_sources,
80
81 diff --git a/media-video/pipewire/pipewire-0.2.7.ebuild b/media-video/pipewire/pipewire-0.2.7.ebuild
82 deleted file mode 100644
83 index 92f7f268808..00000000000
84 --- a/media-video/pipewire/pipewire-0.2.7.ebuild
85 +++ /dev/null
86 @@ -1,80 +0,0 @@
87 -# Copyright 1999-2020 Gentoo Authors
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI=7
91 -
92 -inherit meson
93 -
94 -if [[ ${PV} == 9999 ]]; then
95 - EGIT_REPO_URI="https://github.com/PipeWire/pipewire.git"
96 - inherit git-r3
97 -else
98 - SRC_URI="https://github.com/PipeWire/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
99 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
100 -fi
101 -
102 -DESCRIPTION="Multimedia processing graphs"
103 -HOMEPAGE="https://pipewire.org/"
104 -
105 -LICENSE="LGPL-2.1+"
106 -SLOT="0/0.2"
107 -IUSE="bluetooth doc ffmpeg gstreamer sdl systemd vaapi X"
108 -
109 -BDEPEND="
110 - app-doc/xmltoman
111 - doc? (
112 - app-doc/doxygen
113 - media-gfx/graphviz
114 - )
115 -"
116 -DEPEND="
117 - media-libs/alsa-lib
118 - sys-apps/dbus
119 - virtual/libudev
120 - bluetooth? ( media-libs/sbc )
121 - ffmpeg? ( media-video/ffmpeg:= )
122 - gstreamer? (
123 - media-libs/gstreamer:1.0
124 - media-libs/gst-plugins-base:1.0
125 - )
126 - sdl? ( media-libs/libsdl2 )
127 - systemd? ( sys-apps/systemd )
128 - vaapi? ( x11-libs/libva )
129 - X? ( x11-libs/libX11 )
130 -"
131 -RDEPEND="${DEPEND}"
132 -
133 -PATCHES=( "${FILESDIR}/${P}-fno-common.patch" )
134 -
135 -src_prepare() {
136 - spa_use() {
137 - if ! use ${1}; then
138 - sed -e "/.*dependency.*'${2-$1}'/s/'${2-$1}'/'${2-$1}-disabled-by-USE-no-${1}'/" \
139 - -i spa/meson.build || die
140 - fi
141 - }
142 -
143 - default
144 - spa_use bluetooth sbc
145 - spa_use ffmpeg libavcodec
146 - spa_use ffmpeg libavformat
147 - spa_use ffmpeg libavfilter
148 - spa_use vaapi libva
149 - spa_use sdl sdl2
150 - spa_use X x11
151 -}
152 -
153 -src_configure() {
154 - local emesonargs=(
155 - -Dman=true
156 - $(meson_use doc docs)
157 - $(meson_feature gstreamer)
158 - $(meson_use systemd)
159 - )
160 - meson_src_configure
161 -}
162 -
163 -pkg_postinst() {
164 - elog "Package has optional sys-auth/rtkit RUNTIME support that may be"
165 - elog "disabled by setting DISABLE_RTKIT env var."
166 -}