commit:     dcca924198c1cabc252d8c208816bca7f62134c3
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  4 06:28:52 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 06:29:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcca9241

media-sound/musique: version bump 1.5

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-sound/musique/Manifest                       |  1 +
 .../musique-1.5-unbundle-qtsingleapplication.patch | 13 +++++
 media-sound/musique/musique-1.5.ebuild             | 57 ++++++++++++++++++++++
 3 files changed, 71 insertions(+)

diff --git a/media-sound/musique/Manifest b/media-sound/musique/Manifest
index 32a8c95ecdf..440f2854573 100644
--- a/media-sound/musique/Manifest
+++ b/media-sound/musique/Manifest
@@ -1 +1,2 @@
 DIST musique-1.4.tar.gz 390031 SHA256 
08dfb4201aa0edc4b3fe4ef7788e618f754c3921f3a7c1cdce40ef3999760670 SHA512 
0ecc7cf1038880fc302602967cd7563641310cbe19fe2394e8ce2c03562f5e336bfc76e1ea18b026c2602b11cfe278a106bc9b3b2dd625d7e70db0da57985a68
 WHIRLPOOL 
8185dcbe0559b34d3f8e7b93498312c375412faa83eed01acccc1faaabfb979672cb78969d2965251aa63bd2e38477654575e52d8a760fe186e39398efc08e36
+DIST musique-1.5.tar.gz 377072 SHA256 
82600f4e3d58900df1cc11acd77efbf11e8eac94f8c7382d57f953cadcd49d54 SHA512 
ea4ba84e6b1a69acf054c8ca001afcf3f0e9b17f3557209da649662b2940777babac454a5d4fa0a210e2e15c58bcf4cdfc8757f92b677d46217e3400fcbdc12e
 WHIRLPOOL 
4f5f3f96ef2110b4bf7f079ffb9cd15adc8a426003e1d324db5c090130ac6c76ee361238014ffde65332a0caf4ca346ff4d40d2400db32d281c2acc7ce91d034

diff --git 
a/media-sound/musique/files/musique-1.5-unbundle-qtsingleapplication.patch 
b/media-sound/musique/files/musique-1.5-unbundle-qtsingleapplication.patch
new file mode 100644
index 00000000000..63e50b3ea72
--- /dev/null
+++ b/media-sound/musique/files/musique-1.5-unbundle-qtsingleapplication.patch
@@ -0,0 +1,13 @@
+Use system copy of qtsingleapplication.
+
+--- a/musique.pro
++++ b/musique.pro
+@@ -18,7 +18,7 @@
+ 
+ QT += network sql widgets
+ 
+-include(src/qtsingleapplication/qtsingleapplication.pri)
++CONFIG += qtsingleapplication
+ include(src/http/http.pri)
+ include(src/tags/tags.pri)
+ 

diff --git a/media-sound/musique/musique-1.5.ebuild 
b/media-sound/musique/musique-1.5.ebuild
new file mode 100644
index 00000000000..610063e3eec
--- /dev/null
+++ b/media-sound/musique/musique-1.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit gnome2-utils qmake-utils
+
+DESCRIPTION="Qt4 music player"
+HOMEPAGE="http://flavio.tordini.org/musique";
+SRC_URI="https://github.com/flaviotordini/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtdbus:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtsingleapplication[qt5,X]
+       dev-qt/qtsql:5[sqlite]
+       dev-qt/qtwidgets:5
+       media-libs/phonon[qt5]
+       media-libs/taglib
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGES TODO )
+PATCHES=( "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch" )
+
+src_prepare () {
+       rm -r src/qtsingleapplication || die
+       default
+}
+
+src_configure() {
+       eqmake5 ${PN}.pro PREFIX="/usr"
+}
+
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+       einstalldocs
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to