1 |
commit: 035d4cd56d23f86ede84e1580e59023c3dfe1ab1 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 7 03:53:23 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 7 03:53:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=035d4cd5 |
7 |
|
8 |
media-sound/strawberry: bump to 1.0.9 |
9 |
|
10 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
11 |
|
12 |
media-sound/strawberry/Manifest | 1 + |
13 |
media-sound/strawberry/strawberry-1.0.9.ebuild | 120 +++++++++++++++++++++++++ |
14 |
2 files changed, 121 insertions(+) |
15 |
|
16 |
diff --git a/media-sound/strawberry/Manifest b/media-sound/strawberry/Manifest |
17 |
index 9a9fb0f12cfb..8802ef175faf 100644 |
18 |
--- a/media-sound/strawberry/Manifest |
19 |
+++ b/media-sound/strawberry/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST strawberry-1.0.7.tar.xz 11216436 BLAKE2B f7bc53f33be53fb9d947ea4f4c29827cc4248b0249904f2e48cbd9e4440de1f7f866d83c9fddc92cfb6f56b050c4dc40f0ad5e67a58c2a75e47a9d666847e9b3 SHA512 9bf092c3990ae0c2ce63074c7f6076ccab896ae915c4ee255a7fbb6534d50467648f3e96bc029075acfd50515c45ade867e55518d9a68ec9c10a741e1976d64f |
22 |
DIST strawberry-1.0.8.tar.xz 11222136 BLAKE2B b11b4a082eb2c2d180d7d217884ac498c692df1d76e54ca41e83ea3ab456c4920d3348ee0b154f02d22902b84263fb0afb86c5e125d669fc54b6ffce1719abb3 SHA512 7d43a80d4aac16379929e147a4cc7af8b2866a3a14adee8716ff89ff255859eca197f448ff605e255f0d3d74a8e0d1babf4534cfd58b5247533c37dfae6f96e3 |
23 |
+DIST strawberry-1.0.9.tar.xz 11226840 BLAKE2B 4d7619a4161b422c417a69be1eede54068279a5829070a9d84d02d05c7504813710758d639901073b9567183be61ff66a6cd3aec9585b0ec2371d12440e8284b SHA512 ccfd9e451b719cc9aeca5ce2fd260681e649edfae14cfee2d7f9b2f978b3d111e8d449f16af4869c95c96f657a7d61b4d2353ed0b0fbe6734eb31271a1577ea4 |
24 |
|
25 |
diff --git a/media-sound/strawberry/strawberry-1.0.9.ebuild b/media-sound/strawberry/strawberry-1.0.9.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..fac9c644eb35 |
28 |
--- /dev/null |
29 |
+++ b/media-sound/strawberry/strawberry-1.0.9.ebuild |
30 |
@@ -0,0 +1,120 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake flag-o-matic plocale xdg |
37 |
+ |
38 |
+PLOCALES="ca cs de es es_AR es_ES es_MX fi fr hu id it ja ko nb nl pl pt_BR ru sv uk zh_CN" |
39 |
+ |
40 |
+DESCRIPTION="Modern music player and library organizer based on Clementine and Qt" |
41 |
+HOMEPAGE="https://www.strawberrymusicplayer.org/" |
42 |
+if [[ ${PV} == *9999* ]]; then |
43 |
+ EGIT_REPO_URI="https://github.com/strawberrymusicplayer/strawberry" |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ SRC_URI="https://github.com/strawberrymusicplayer/strawberry/releases/download/${PV}/${P}.tar.xz" |
47 |
+ KEYWORDS="~amd64 ~ppc64 ~x86" |
48 |
+fi |
49 |
+ |
50 |
+LICENSE="GPL-3" |
51 |
+SLOT="0" |
52 |
+IUSE="cdda debug +gstreamer ipod moodbar mtp pulseaudio +udisks vlc" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ dev-qt/linguist-tools:5 |
56 |
+ sys-devel/gettext |
57 |
+ virtual/pkgconfig |
58 |
+" |
59 |
+COMMON_DEPEND=" |
60 |
+ dev-db/sqlite:= |
61 |
+ dev-libs/glib:2 |
62 |
+ dev-libs/protobuf:= |
63 |
+ dev-qt/qtconcurrent:5 |
64 |
+ dev-qt/qtcore:5 |
65 |
+ dev-qt/qtdbus:5 |
66 |
+ dev-qt/qtgui:5 |
67 |
+ dev-qt/qtnetwork:5[ssl] |
68 |
+ dev-qt/qtsql:5[sqlite] |
69 |
+ dev-qt/qtwidgets:5 |
70 |
+ dev-qt/qtx11extras:5 |
71 |
+ media-libs/alsa-lib |
72 |
+ media-libs/taglib |
73 |
+ x11-libs/libX11 |
74 |
+ cdda? ( dev-libs/libcdio:= ) |
75 |
+ gstreamer? ( |
76 |
+ media-libs/chromaprint:= |
77 |
+ media-libs/gstreamer:1.0 |
78 |
+ media-libs/gst-plugins-base:1.0 |
79 |
+ ) |
80 |
+ ipod? ( media-libs/libgpod ) |
81 |
+ moodbar? ( sci-libs/fftw:3.0 ) |
82 |
+ mtp? ( media-libs/libmtp ) |
83 |
+ pulseaudio? ( media-sound/pulseaudio ) |
84 |
+ vlc? ( media-video/vlc ) |
85 |
+" |
86 |
+# Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway; |
87 |
+RDEPEND="${COMMON_DEPEND} |
88 |
+ gstreamer? ( |
89 |
+ media-plugins/gst-plugins-meta:1.0 |
90 |
+ media-plugins/gst-plugins-soup:1.0 |
91 |
+ media-plugins/gst-plugins-taglib:1.0 |
92 |
+ ) |
93 |
+ mtp? ( gnome-base/gvfs[mtp] ) |
94 |
+ udisks? ( sys-fs/udisks:2 ) |
95 |
+" |
96 |
+DEPEND="${COMMON_DEPEND} |
97 |
+ dev-cpp/gtest |
98 |
+ dev-libs/boost |
99 |
+ dev-qt/qttest:5 |
100 |
+" |
101 |
+ |
102 |
+DOCS=( Changelog README.md ) |
103 |
+ |
104 |
+REQUIRED_USE=" |
105 |
+ cdda? ( gstreamer ) |
106 |
+ || ( gstreamer vlc ) |
107 |
+" |
108 |
+ |
109 |
+src_prepare() { |
110 |
+ plocale_find_changes "src/translations" "" ".po" |
111 |
+ |
112 |
+ cmake_src_prepare |
113 |
+} |
114 |
+ |
115 |
+src_configure() { |
116 |
+ # spotify is not in portage |
117 |
+ local mycmakeargs=( |
118 |
+ -DBUILD_WERROR=OFF |
119 |
+ # avoid automagically enabling of ccache (bug #611010) |
120 |
+ -DCCACHE_EXECUTABLE=OFF |
121 |
+ -DENABLE_GIO=ON |
122 |
+ -DLINGUAS="$(plocale_get_locales)" |
123 |
+ -DENABLE_AUDIOCD="$(usex cdda)" |
124 |
+ -DENABLE_GSTREAMER="$(usex gstreamer)" |
125 |
+ -DENABLE_LIBGPOD="$(usex ipod)" |
126 |
+ -DENABLE_LIBMTP="$(usex mtp)" |
127 |
+ -DENABLE_LIBPULSE="$(usex pulseaudio)" |
128 |
+ -DENABLE_MOODBAR="$(usex moodbar)" |
129 |
+ -DENABLE_MUSICBRAINZ="$(usex gstreamer)" |
130 |
+ -DENABLE_SONGFINGERPRINTING="$(usex gstreamer)" |
131 |
+ -DENABLE_UDISKS2="$(usex udisks)" |
132 |
+ -DENABLE_VLC="$(usex vlc)" |
133 |
+ # Disable until we have qt6 in the tree |
134 |
+ -DWITH_QT6=OFF |
135 |
+ ) |
136 |
+ |
137 |
+ use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT |
138 |
+ |
139 |
+ cmake_src_configure |
140 |
+} |
141 |
+ |
142 |
+pkg_postinst() { |
143 |
+ xdg_pkg_postinst |
144 |
+ |
145 |
+ if use gstreamer ; then |
146 |
+ elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta " |
147 |
+ elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags " |
148 |
+ elog "depending on your preferences" |
149 |
+ fi |
150 |
+} |