summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-05-02 23:29:37 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-05-08 18:59:35 +0200
commitc3008814b324dbd6d9c407d6f10f96285ad25f5f (patch)
tree6b50adc61627939ca7946735ac5de43c93235aa8 /media-sound/yarock
parentdev-qt/qtwebkit: Fix js build error (diff)
downloadgentoo-c3008814b324dbd6d9c407d6f10f96285ad25f5f.tar.gz
gentoo-c3008814b324dbd6d9c407d6f10f96285ad25f5f.tar.bz2
gentoo-c3008814b324dbd6d9c407d6f10f96285ad25f5f.zip
media-sound/yarock: 1.4.0 version bump, EAPI-7 bump, add USE mpv
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/yarock')
-rw-r--r--media-sound/yarock/Manifest1
-rw-r--r--media-sound/yarock/metadata.xml4
-rw-r--r--media-sound/yarock/yarock-1.4.0.ebuild53
3 files changed, 57 insertions, 1 deletions
diff --git a/media-sound/yarock/Manifest b/media-sound/yarock/Manifest
index 0774da62c12b..3169c805f022 100644
--- a/media-sound/yarock/Manifest
+++ b/media-sound/yarock/Manifest
@@ -1 +1,2 @@
DIST Yarock_1.3.1_Sources.tar.gz 734280 BLAKE2B 3bb8a452a3a7bd27792f67b6fcb2765494738c7a0149248b658333a64f38494880891e8a9d43ef7367d7748e5c0b6a2d9349dc1dd73dd0fecd94d88f21eec020 SHA512 a59837609c5004005360a272b45794143c64373d13c2783f84299ab0b849223aac2be3d87703e1925d66ed4301bcc2e7254228d34f556bce0447d949539acf2e
+DIST Yarock_1.4.0_Sources.tar.gz 735399 BLAKE2B e54e995a419e1837b746374d3d7c6655e750d5142cce4d573dc268010b7bcf9da1a15531991769c16693f8b587228da445d4a14a89499600708309876f83bb5f SHA512 39ad470cd53fef738166ca635ca96da0868db406b62be92d276062acc568724a62886b7779eb47fc6a3e6d2825fe417753e9e6b87a978b9009e09d7ea5866f00
diff --git a/media-sound/yarock/metadata.xml b/media-sound/yarock/metadata.xml
index 2263346cdc5d..789a20e09848 100644
--- a/media-sound/yarock/metadata.xml
+++ b/media-sound/yarock/metadata.xml
@@ -6,6 +6,8 @@
<name>Andreas Sturmlechner</name>
</maintainer>
<use>
- <flag name="phonon">Use <pkg>media-libs/phonon</pkg> backend instead of <pkg>media-video/vlc</pkg></flag>
+ <flag name="mpv">Enable <pkg>media-video/mpv</pkg> backend</flag>
+ <flag name="phonon">Enable <pkg>media-libs/phonon</pkg> backend</flag>
+ <flag name="vlc">Enable <pkg>media-video/vlc</pkg> backend</flag>
</use>
</pkgmetadata>
diff --git a/media-sound/yarock/yarock-1.4.0.ebuild b/media-sound/yarock/yarock-1.4.0.ebuild
new file mode 100644
index 000000000000..7d9acc2b0a02
--- /dev/null
+++ b/media-sound/yarock/yarock-1.4.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+MY_P="Yarock_${PV}_Sources"
+DESCRIPTION="Qt-based music player"
+HOMEPAGE="https://seb-apps.github.io/yarock/"
+SRC_URI="https://launchpad.net/${PN}/1.x/${PV}/+download/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="mpv phonon vlc"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+"
+RDEPEND="
+ dev-cpp/htmlcxx
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ media-libs/taglib
+ x11-libs/libX11
+ phonon? ( >=media-libs/phonon-4.10.1 )
+ vlc? ( media-video/vlc:= )
+"
+DEPEND="${RDEPEND}
+ dev-qt/qtconcurrent:5
+ dev-qt/qtx11extras:5
+"
+
+DOCS=( CHANGES.md README.md )
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_QT5=ON
+ -DENABLE_MPV=$(usex mpv)
+ -DENABLE_PHONON=$(usex phonon)
+ -DENABLE_VLC=$(usex vlc)
+ )
+
+ cmake-utils_src_configure
+}