diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
commit | 24fd814c326e282c4321965c31f341dad77e270d (patch) | |
tree | 033d63b33c21a3209964ab56005bb9bdd523630d /media-sound/strawberry | |
parent | 129160ec854dca4c3fedb5bcfbcb56930371da0f (diff) |
gentoo resync : 08.01.2021
Diffstat (limited to 'media-sound/strawberry')
-rw-r--r-- | media-sound/strawberry/Manifest | 6 | ||||
-rw-r--r-- | media-sound/strawberry/metadata.xml | 3 | ||||
-rw-r--r-- | media-sound/strawberry/strawberry-0.8.5.ebuild | 127 | ||||
-rw-r--r-- | media-sound/strawberry/strawberry-9999.ebuild | 37 |
4 files changed, 158 insertions, 15 deletions
diff --git a/media-sound/strawberry/Manifest b/media-sound/strawberry/Manifest index 41db40c4b11c..e231b67fd1cd 100644 --- a/media-sound/strawberry/Manifest +++ b/media-sound/strawberry/Manifest @@ -1,6 +1,8 @@ DIST strawberry-0.8.3.tar.xz 10280356 BLAKE2B 3c99193af3e753d48822567a3391900b1d4326ece49582718b949eb3753fd15d3cae2469ffdcc28334db95099a914c1065ed84c397b4ade53c624e7eab5cdfe5 SHA512 e64c49a6b479677486ae7868107e945a63a028cbaa6dcfb68c9c0784fe0ea8a1133264832367d092628fb1094ca90d87d6ab49199d4aab7f56f2620eb4e9b2f7 DIST strawberry-0.8.4.tar.xz 10781080 BLAKE2B 395898e68117848613666edb545d15db22eea418c7dce553c442c52b459406c88640368da9a98c4f25e5cbff40369127ee4cec2dfadacdb79e4cef4c17e0f875 SHA512 a93308e6ba3450e8164f02c2b46bd5e785995d59963be7a896e769fa8312467fe29f1c7d48f5fbc290ccd6392293dc6af65e24001912a9f54292f25a023468b4 +DIST strawberry-0.8.5.tar.xz 10801412 BLAKE2B 4b55a747df72cbf57c56f3e146c8e26e335cfc1238f4dcc8065b4b911fc0ab3894644639a17642a26d7a074d662103e1c55a4acbb6f59bdc971a6ca6e45117ed SHA512 33ab6751e5bd17ff98beed29c179c47bebca92229b94b863a172169704b2fd69d6605cf31db456dee552666b58bcbad867b3cca7bcff2cc6582c4c2c0a2f49c8 EBUILD strawberry-0.8.3.ebuild 2879 BLAKE2B 2aafb75ee7415b165024983c825759f0355c2c0b86e0d3a8e308633ada9a9b9eae2209bb9bb0c554ea6e7469cc5b84d7c48012354b5c72bc13cac3c64f433267 SHA512 36fc1bf4ee4a8aa2d221cb7f402bf1fe4277544d792980d85489b5242540d48f843d10af0eb66b2acf61d3c6ebff43b3a5cbc4444ba05ea40e9d49a573e6994a EBUILD strawberry-0.8.4.ebuild 2881 BLAKE2B 2e02483874fb74f25f69cecf46982485edf74df2b8c8a95d88ab50471ddf47f0c2a2ed36c77bd80360c5da0798210325c3f1398333fcee0a293d7e6f90ba5269 SHA512 c1c9df0afc346e7da6c7c9b14290969449b9bb1de94ad7c83f9e66aace65f9d5cb23c46341b09126184710f462234482017fcca2e683aa087b16af0e45ffeab3 -EBUILD strawberry-9999.ebuild 2881 BLAKE2B 2e02483874fb74f25f69cecf46982485edf74df2b8c8a95d88ab50471ddf47f0c2a2ed36c77bd80360c5da0798210325c3f1398333fcee0a293d7e6f90ba5269 SHA512 c1c9df0afc346e7da6c7c9b14290969449b9bb1de94ad7c83f9e66aace65f9d5cb23c46341b09126184710f462234482017fcca2e683aa087b16af0e45ffeab3 -MISC metadata.xml 448 BLAKE2B b29c1b35e64c59667f04698cb2d1c039fc7557aa7ad99fb1a8625b68d960b0e7af62e016aaf1ec68d5c44c77126f71047b046164c29a0e80d49cdcda0973ca6d SHA512 2c5af38b8518b1de981bae14422bf5931b76831c0b52b1fce29e187d9ceb25a947d8d0f7db1e7844e90ec14657cc8ab484726b31c89667e89d9fcfb6d2e7dfe7 +EBUILD strawberry-0.8.5.ebuild 3038 BLAKE2B ff7e8e7505139bad178b42463b0d6949705d63496577c2d29fd5e0e2ba0f8c79eea4234305c5b903490803a92a1a6de464185c31d7fadc1dea541788524c6285 SHA512 9e189364e00e64d22771fee5bb4d8b3becb722d986e23be7bf601f90758698eaf95d6b3d2978ed2de4d6d2c42960caca5ab546e35bdcc8110f1b450b1f3be6b8 +EBUILD strawberry-9999.ebuild 3038 BLAKE2B ff7e8e7505139bad178b42463b0d6949705d63496577c2d29fd5e0e2ba0f8c79eea4234305c5b903490803a92a1a6de464185c31d7fadc1dea541788524c6285 SHA512 9e189364e00e64d22771fee5bb4d8b3becb722d986e23be7bf601f90758698eaf95d6b3d2978ed2de4d6d2c42960caca5ab546e35bdcc8110f1b450b1f3be6b8 +MISC metadata.xml 531 BLAKE2B 1bf5ffc07a64de7716ead9a8f53cd82dd713b243cef24b9782d782887d4d1644585c21d0eacb4cba6768a2807a2823f60bd1457ce992ca0b4fafaab8a1054079 SHA512 c8febfcdf8dfbf0857e2ccdaf3d27606a2a05f2365e4ee0d9634452e4274e7e57d5688a8b97de8833a06f2dddffb07707f523abc9bc5b0a5850f1fc84d00081a diff --git a/media-sound/strawberry/metadata.xml b/media-sound/strawberry/metadata.xml index 787d107c6034..135ead34eb68 100644 --- a/media-sound/strawberry/metadata.xml +++ b/media-sound/strawberry/metadata.xml @@ -9,6 +9,9 @@ <email>sound@gentoo.org</email> <name>Gentoo Sound project</name> </maintainer> + <use> + <flag name="vlc">Enable <pkg>media-video/vlc</pkg> backend</flag> + </use> <upstream> <remote-id type="github">jonaski/strawberry</remote-id> </upstream> diff --git a/media-sound/strawberry/strawberry-0.8.5.ebuild b/media-sound/strawberry/strawberry-0.8.5.ebuild new file mode 100644 index 000000000000..0d5281b6b697 --- /dev/null +++ b/media-sound/strawberry/strawberry-0.8.5.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake flag-o-matic l10n virtualx xdg + +PLOCALES="cs de es fr hu id it ko nb pl ru sv" + +DESCRIPTION="Modern music player and library organizer based on Clementine and Qt" +HOMEPAGE="https://www.strawbs.org/" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/jonaski/strawberry.git" + inherit git-r3 +else + SRC_URI="https://github.com/jonaski/strawberry/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="cdda +dbus debug +gstreamer ipod mtp pulseaudio +udisks vlc" + +REQUIRED_USE=" + udisks? ( dbus ) +" + +BDEPEND=" + dev-qt/linguist-tools:5 + sys-devel/gettext + virtual/pkgconfig +" +COMMON_DEPEND=" + app-crypt/qca:2[qt5(+)] + dev-db/sqlite:= + dev-libs/glib:2 + dev-libs/libxml2 + dev-libs/protobuf:= + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtsql:5[sqlite] + dev-qt/qtwidgets:5 + media-libs/alsa-lib + media-libs/chromaprint:= + >=media-libs/libmygpo-qt-1.0.9[qt5(+)] + >=media-libs/taglib-1.11.1_p20181028 + sys-libs/zlib + virtual/glu + x11-libs/libX11 + cdda? ( dev-libs/libcdio:= ) + dbus? ( dev-qt/qtdbus:5 ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + ipod? ( >=media-libs/libgpod-0.8.0 ) + mtp? ( >=media-libs/libmtp-1.0.0 ) + pulseaudio? ( media-sound/pulseaudio ) + vlc? ( media-video/vlc ) +" +# Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway; +RDEPEND="${COMMON_DEPEND} + gstreamer? ( + media-plugins/gst-plugins-meta:1.0 + media-plugins/gst-plugins-soup:1.0 + media-plugins/gst-plugins-taglib:1.0 + ) + mtp? ( gnome-base/gvfs[mtp] ) + udisks? ( sys-fs/udisks:2 ) +" +DEPEND="${COMMON_DEPEND} + >=dev-cpp/gtest-1.8.0 + dev-libs/boost + dev-qt/qtopengl:5 + dev-qt/qtx11extras:5 + dev-qt/qtxml:5 +" + +DOCS=( Changelog README.md ) + +REQUIRED_USE=" + || ( gstreamer vlc ) +" + +src_prepare() { + l10n_find_plocales_changes "src/translations" "" ".po" + + rm -r 3rdparty/taglib || die + cmake_src_prepare +} + +src_configure() { + # spotify is not in portage + local mycmakeargs=( + -DBUILD_WERROR=OFF + # avoid automagically enabling of ccache (bug #611010) + -DCCACHE_EXECUTABLE=OFF + -DENABLE_GIO=ON + -DLINGUAS="$(l10n_get_locales)" + -DENABLE_AUDIOCD="$(usex cdda)" + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DBus=$(usex !dbus) + -DENABLE_GSTREAMER="$(usex gstreamer)" + -DENABLE_LIBGPOD="$(usex ipod)" + -DENABLE_LIBMTP="$(usex mtp)" + -DENABLE_LIBPULSE="$(usex pulseaudio)" + -DENABLE_UDISKS2="$(usex udisks)" + -DENABLE_VLC="$(usex vlc)" + -DUSE_SYSTEM_TAGLIB=ON + -DWITH_QT6=OFF + ) + + use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT + + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + + if use gstreamer ; then + elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta " + elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags " + elog "depending on your preferences" + fi +} diff --git a/media-sound/strawberry/strawberry-9999.ebuild b/media-sound/strawberry/strawberry-9999.ebuild index 2e4b045125e9..0d5281b6b697 100644 --- a/media-sound/strawberry/strawberry-9999.ebuild +++ b/media-sound/strawberry/strawberry-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit cmake flag-o-matic l10n virtualx xdg -PLOCALES="cs de es fr hu id it ko nb pl ru" +PLOCALES="cs de es fr hu id it ko nb pl ru sv" DESCRIPTION="Modern music player and library organizer based on Clementine and Qt" HOMEPAGE="https://www.strawbs.org/" @@ -19,7 +19,7 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="cdda +dbus debug ipod mms mtp pulseaudio +udisks" +IUSE="cdda +dbus debug +gstreamer ipod mtp pulseaudio +udisks vlc" REQUIRED_USE=" udisks? ( dbus ) @@ -44,26 +44,29 @@ COMMON_DEPEND=" dev-qt/qtwidgets:5 media-libs/alsa-lib media-libs/chromaprint:= - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 >=media-libs/libmygpo-qt-1.0.9[qt5(+)] >=media-libs/taglib-1.11.1_p20181028 - media-video/vlc sys-libs/zlib virtual/glu x11-libs/libX11 cdda? ( dev-libs/libcdio:= ) dbus? ( dev-qt/qtdbus:5 ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) ipod? ( >=media-libs/libgpod-0.8.0 ) mtp? ( >=media-libs/libmtp-1.0.0 ) pulseaudio? ( media-sound/pulseaudio ) + vlc? ( media-video/vlc ) " # Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway; RDEPEND="${COMMON_DEPEND} - media-plugins/gst-plugins-meta:1.0 - media-plugins/gst-plugins-soup:1.0 - media-plugins/gst-plugins-taglib:1.0 - mms? ( media-plugins/gst-plugins-libmms:1.0 ) + gstreamer? ( + media-plugins/gst-plugins-meta:1.0 + media-plugins/gst-plugins-soup:1.0 + media-plugins/gst-plugins-taglib:1.0 + ) mtp? ( gnome-base/gvfs[mtp] ) udisks? ( sys-fs/udisks:2 ) " @@ -77,6 +80,10 @@ DEPEND="${COMMON_DEPEND} DOCS=( Changelog README.md ) +REQUIRED_USE=" + || ( gstreamer vlc ) +" + src_prepare() { l10n_find_plocales_changes "src/translations" "" ".po" @@ -94,10 +101,12 @@ src_configure() { -DLINGUAS="$(l10n_get_locales)" -DENABLE_AUDIOCD="$(usex cdda)" -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DBus=$(usex !dbus) + -DENABLE_GSTREAMER="$(usex gstreamer)" -DENABLE_LIBGPOD="$(usex ipod)" -DENABLE_LIBMTP="$(usex mtp)" -DENABLE_LIBPULSE="$(usex pulseaudio)" -DENABLE_UDISKS2="$(usex udisks)" + -DENABLE_VLC="$(usex vlc)" -DUSE_SYSTEM_TAGLIB=ON -DWITH_QT6=OFF ) @@ -110,7 +119,9 @@ src_configure() { pkg_postinst() { xdg_pkg_postinst - elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta " - elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags " - elog "depending on your preferences" + if use gstreamer ; then + elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta " + elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags " + elog "depending on your preferences" + fi } |