1 |
commit: 5f4cf0d76e6a6f0595f1e064dc7467788abd5bb9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 8 21:46:31 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 8 21:49:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4cf0d7 |
7 |
|
8 |
media-libs/phonon-gstreamer: Switch to kde5.eclass |
9 |
|
10 |
This is now fully ported to ECM after upstream dropped Qt4 support. |
11 |
Update DESCRIPTION. |
12 |
|
13 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
.../phonon-gstreamer/phonon-gstreamer-9999.ebuild | 40 ++++++---------------- |
17 |
1 file changed, 11 insertions(+), 29 deletions(-) |
18 |
|
19 |
diff --git a/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild b/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild |
20 |
index 24ced106443..777afe2e954 100644 |
21 |
--- a/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild |
22 |
+++ b/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild |
23 |
@@ -3,55 +3,37 @@ |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
-MY_PN="phonon-backend-gstreamer" |
28 |
-MY_P=${MY_PN}-${PV} |
29 |
+inherit kde5 |
30 |
|
31 |
-if [[ ${PV} != *9999* ]]; then |
32 |
- SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_P}.tar.xz" |
33 |
+DESCRIPTION="GStreamer backend for the Phonon multimedia library" |
34 |
+HOMEPAGE="https://phonon.kde.org/" |
35 |
+ |
36 |
+if [[ ${KDE_BUILD_TYPE} = release ]]; then |
37 |
+ SRC_URI="mirror://kde/stable/phonon/phonon-backend-gstreamer/${PV}/phonon-backend-gstreamer-${PV}.tar.xz" |
38 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-fbsd" |
39 |
-else |
40 |
- EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" ) |
41 |
- inherit git-r3 |
42 |
fi |
43 |
|
44 |
-inherit cmake-utils xdg-utils |
45 |
- |
46 |
-DESCRIPTION="Phonon GStreamer backend" |
47 |
-HOMEPAGE="https://phonon.kde.org/" |
48 |
- |
49 |
LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )" |
50 |
SLOT="0" |
51 |
IUSE="alsa debug +network" |
52 |
|
53 |
BDEPEND=" |
54 |
+ dev-qt/linguist-tools:5 |
55 |
virtual/pkgconfig |
56 |
" |
57 |
DEPEND=" |
58 |
dev-libs/glib:2 |
59 |
dev-libs/libxml2:2 |
60 |
- dev-qt/qtcore:5 |
61 |
dev-qt/qtgui:5 |
62 |
dev-qt/qtopengl:5 |
63 |
dev-qt/qtwidgets:5 |
64 |
dev-qt/qtx11extras:5 |
65 |
- media-libs/gstreamer:1.0 |
66 |
media-libs/gst-plugins-base:1.0 |
67 |
- >=media-libs/phonon-4.10.0 |
68 |
+ media-libs/gstreamer:1.0 |
69 |
+ >=media-libs/phonon-4.10.60 |
70 |
media-plugins/gst-plugins-meta:1.0[alsa?,ogg,vorbis] |
71 |
virtual/opengl |
72 |
+" |
73 |
+RDEPEND="${DEPEND} |
74 |
network? ( media-plugins/gst-plugins-soup:1.0 ) |
75 |
" |
76 |
-RDEPEND="${DEPEND}" |
77 |
- |
78 |
-src_configure() { |
79 |
- local mycmakeargs=( -DPHONON_BUILD_PHONON4QT5=ON ) |
80 |
- cmake-utils_src_configure |
81 |
-} |
82 |
- |
83 |
-pkg_postinst() { |
84 |
- xdg_icon_cache_update |
85 |
-} |
86 |
- |
87 |
-pkg_postrm() { |
88 |
- xdg_icon_cache_update |
89 |
-} |