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