From 6eb672f8377ea83fbabac7ba2ec6b87774b84fd1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 14 Jan 2018 06:58:54 +0000 Subject: make mrproper --- media-sound/yarock/yarock-1.1.6-r1.ebuild | 100 ++++++++++++++++++++++++++++++ media-sound/yarock/yarock-1.1.6.ebuild | 100 ------------------------------ 2 files changed, 100 insertions(+), 100 deletions(-) create mode 100644 media-sound/yarock/yarock-1.1.6-r1.ebuild delete mode 100644 media-sound/yarock/yarock-1.1.6.ebuild (limited to 'media-sound/yarock') diff --git a/media-sound/yarock/yarock-1.1.6-r1.ebuild b/media-sound/yarock/yarock-1.1.6-r1.ebuild new file mode 100644 index 00000000..f42984e4 --- /dev/null +++ b/media-sound/yarock/yarock-1.1.6-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_PN="Yarock" +MY_P="${MY_PN}_${PV}_source" +DESCRIPTION="Yarock is designed to provide an easy and pretty music browser." +HOMEPAGE="http://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 x86" +IUSE="mpv phonon +qt5 +vlc" + +DEPEND=" + !qt5? ( + >=dev-qt/qtcore-4.8.6:4 + >=dev-qt/qtgui-4.8.6:4 + >=dev-qt/qtxmlpatterns-4.8.6:4 + >=dev-qt/qtsql-4.8.6:4[sqlite] + >=dev-qt/qtdbus-4.8.6:4 + >=dev-libs/qjson-0.8.1 + media-libs/phonon[qt4] + ) + qt5? ( + >=dev-qt/qtcore-5.4.2:5 + >=dev-qt/qtgui-5.4.2-r1:5 + >=dev-qt/qtdbus-5.4.2:5 + >=dev-qt/qtsql-5.4.2:5[sqlite] + >=dev-qt/qtxml-5.4.2:5 + >=dev-qt/qtnetwork-5.4.2:5 + >=dev-qt/qtwidgets-5.4.2:5 + >=dev-qt/qtconcurrent-5.4.2:5 + >=dev-qt/qtx11extras-5.4.2:5 + media-libs/phonon[qt5] + ) + vlc? ( >=media-video/vlc-2.2.0 ) + >=media-libs/taglib-1.9.1-r2 + >=dev-cpp/htmlcxx-0.85 + mpv? ( media-video/mpv[libmpv] ) +" + +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( mpv phonon vlc )" + +DOCS="CHANGES.md README.md" + +S="${WORKDIR}/${MY_P}" + +src_prepare(){ + if use phonon; then + # Workaround for phonon includes, they changed a while ago. + if use qt5; then + sed -i src/core/player/phonon/engine_phonon.h \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + || die '"sed" failed.' + sed -i src/core/player/phonon/engine_phonon.cpp \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + || die '"sed" failed.' + else + sed -i src/core/player/phonon/engine_phonon.h \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + || die '"sed" failed.' + sed -i src/core/player/phonon/engine_phonon.cpp \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + -e "s:#include :#include :" \ + || die '"sed" failed.' + fi + fi + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_MPV=$(usex mpv ON OFF) + -DENABLE_QT5=$(usex qt5 ON OFF) + -DENABLE_PHONON=$(usex phonon ON OFF) + -DENABLE_VLC=$(usex vlc ON OFF) + ) + + cmake-utils_src_configure +} diff --git a/media-sound/yarock/yarock-1.1.6.ebuild b/media-sound/yarock/yarock-1.1.6.ebuild deleted file mode 100644 index 0ff8d67c..00000000 --- a/media-sound/yarock/yarock-1.1.6.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -MY_PN="Yarock" -MY_P="${MY_PN}_${PV}_source" -DESCRIPTION="Yarock is designed to provide an easy and pretty music browser." -HOMEPAGE="http://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 x86" -IUSE="mpv phonon +qt5 +vlc" - -DEPEND=" - !qt5? ( - >=dev-qt/qtcore-4.8.6:4 - >=dev-qt/qtgui-4.8.6:4 - >=dev-qt/qtxmlpatterns-4.8.6:4 - >=dev-qt/qtsql-4.8.6:4[sqlite] - >=dev-qt/qtdbus-4.8.6:4 - >=dev-libs/qjson-0.8.1 - media-libs/phonon[qt4] - ) - qt5? ( - >=dev-qt/qtcore-5.4.2:5 - >=dev-qt/qtgui-5.4.2-r1:5 - >=dev-qt/qtdbus-5.4.2:5 - >=dev-qt/qtsql-5.4.2:5[sqlite] - >=dev-qt/qtxml-5.4.2:5 - >=dev-qt/qtnetwork-5.4.2:5 - >=dev-qt/qtwidgets-5.4.2:5 - >=dev-qt/qtconcurrent-5.4.2:5 - >=dev-qt/qtx11extras-5.4.2:5 - media-libs/phonon[qt5] - ) - vlc? ( >=media-video/vlc-2.2.0 ) - >=media-libs/taglib-1.9.1-r2 - >=net-libs/htmlcxx-0.85 - mpv? ( media-video/mpv[libmpv] ) -" - -RDEPEND="${DEPEND}" - -REQUIRED_USE="|| ( mpv phonon vlc )" - -DOCS="CHANGES.md README.md" - -S="${WORKDIR}/${MY_P}" - -src_prepare(){ - if use phonon; then - # Workaround for phonon includes, they changed a while ago. - if use qt5; then - sed -i src/core/player/phonon/engine_phonon.h \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - || die '"sed" failed.' - sed -i src/core/player/phonon/engine_phonon.cpp \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - || die '"sed" failed.' - else - sed -i src/core/player/phonon/engine_phonon.h \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - || die '"sed" failed.' - sed -i src/core/player/phonon/engine_phonon.cpp \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - -e "s:#include :#include :" \ - || die '"sed" failed.' - fi - fi - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DENABLE_MPV=$(usex mpv ON OFF) - -DENABLE_QT5=$(usex qt5 ON OFF) - -DENABLE_PHONON=$(usex phonon ON OFF) - -DENABLE_VLC=$(usex vlc ON OFF) - ) - - cmake-utils_src_configure -} -- cgit v1.2.3