diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-19 10:43:04 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-19 11:33:48 +0200 |
commit | 2112bd8081f4fe0ba602b274e97d6c0ffb4554ba (patch) | |
tree | f73b19971343b371a880e8bed61b18613fb7b23f /media-sound/strawberry | |
parent | www-apps/gitit: allow pandoc-2.12 and 2.13 (diff) | |
download | gentoo-2112bd8081f4fe0ba602b274e97d6c0ffb4554ba.tar.gz gentoo-2112bd8081f4fe0ba602b274e97d6c0ffb4554ba.tar.bz2 gentoo-2112bd8081f4fe0ba602b274e97d6c0ffb4554ba.zip |
media-sound/strawberry: Bump to version 0.9.3
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/strawberry')
-rw-r--r-- | media-sound/strawberry/Manifest | 1 | ||||
-rw-r--r-- | media-sound/strawberry/strawberry-0.9.3.ebuild | 126 |
2 files changed, 127 insertions, 0 deletions
diff --git a/media-sound/strawberry/Manifest b/media-sound/strawberry/Manifest index 1a32dde002d6..ba4cd620c19b 100644 --- a/media-sound/strawberry/Manifest +++ b/media-sound/strawberry/Manifest @@ -1,3 +1,4 @@ DIST strawberry-0.8.5.tar.xz 10801412 BLAKE2B 4b55a747df72cbf57c56f3e146c8e26e335cfc1238f4dcc8065b4b911fc0ab3894644639a17642a26d7a074d662103e1c55a4acbb6f59bdc971a6ca6e45117ed SHA512 33ab6751e5bd17ff98beed29c179c47bebca92229b94b863a172169704b2fd69d6605cf31db456dee552666b58bcbad867b3cca7bcff2cc6582c4c2c0a2f49c8 DIST strawberry-0.9.1.tar.xz 9937164 BLAKE2B 64d988f3d5030a3145bc8310b4c44c12d075c584fbc4705af833953fe9dfe29ac2fe9a374ffd8a0494b58d3379e89cf8a9abf3a35de315b0dcce732c96071508 SHA512 6b8ef30e9e1d2349c02f254e775de4f0eed0f365c315e9471c7274e74ddb4e29b92e3da2a04d40df57450971f5656430ef94339cf246d0c1ed336963a9f9afe3 DIST strawberry-0.9.2.tar.xz 9956324 BLAKE2B 0b5ccfa76aa98c0d7cf5ca0f79465948c34d6c7e7f51264b1fb8623099a4de2d0548464f51d813a4b75b8e524c653a32e8682410741a3c3fbc604ccaa4816204 SHA512 2ce22e7bed5832dc33191f5ff6f0f656861f4e574ad5ae2d2987a0c75274490dad2723579fcc5766f398654600a0819c5d0fa956dce12a54d5aab505a2f1ea30 +DIST strawberry-0.9.3.tar.xz 10928116 BLAKE2B 3edb80065876d63b79292c6b75660aaaeaa6ea294bb84011124fa8aee3163717b8ab4f0e8d6e7aff321466d3cfbc214b5e8b987c9ae9b0823f8d3c681aae6e9e SHA512 d253ffaa6cf0412eb135bc792c31458816fc0a1ae7070d6885487da4fb4855ffeeeeddd285b853fd10220c797c3beb73a91059514d76b1b1638350fdff17107c diff --git a/media-sound/strawberry/strawberry-0.9.3.ebuild b/media-sound/strawberry/strawberry-0.9.3.ebuild new file mode 100644 index 000000000000..be8135080fd1 --- /dev/null +++ b/media-sound/strawberry/strawberry-0.9.3.ebuild @@ -0,0 +1,126 @@ +# 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 ~ppc64 ~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/qttest: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" + + 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)" + -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 +} |