media-sound/yarock: 1.4.0 version bump, EAPI-7 bump, add USE mpv
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 2 May 2019 21:29:37 +0000 (23:29 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 8 May 2019 16:59:35 +0000 (18:59 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/yarock/Manifest
media-sound/yarock/metadata.xml
media-sound/yarock/yarock-1.4.0.ebuild [new file with mode: 0644]

index 0774da62c12b96ed61a862fe6b03e2e7a4011856..3169c805f0221c8dec77fb34fc1ce5b93566901e 100644 (file)
@@ -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
index 2263346cdc5d7f1fa0bab190aa1e5b522cb23b9e..789a20e09848f6edc96e123089100721113daed4 100644 (file)
@@ -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 (file)
index 0000000..7d9acc2
--- /dev/null
@@ -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
+}