summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-11-24 12:18:30 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-11-24 12:18:30 +0000
commit0eed025648b1377604ebac1c0b76ea9f58618ee4 (patch)
treebdb59275d4e58f22ab612eda76448ade10ba869c /net-news
parentAdd ~mips (diff)
downloadgentoo-2-0eed025648b1377604ebac1c0b76ea9f58618ee4.tar.gz
gentoo-2-0eed025648b1377604ebac1c0b76ea9f58618ee4.tar.bz2
gentoo-2-0eed025648b1377604ebac1c0b76ea9f58618ee4.zip
Add support for building with Phonon, thanks to Nikoli <nikoli AT gmx.us>
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-news')
-rw-r--r--net-news/quiterss/ChangeLog5
-rw-r--r--net-news/quiterss/metadata.xml3
-rw-r--r--net-news/quiterss/quiterss-9999.ebuild11
3 files changed, 14 insertions, 5 deletions
diff --git a/net-news/quiterss/ChangeLog b/net-news/quiterss/ChangeLog
index 62dd60eb285a..918f9614982a 100644
--- a/net-news/quiterss/ChangeLog
+++ b/net-news/quiterss/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-news/quiterss
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/quiterss/ChangeLog,v 1.32 2013/11/20 18:46:34 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/quiterss/ChangeLog,v 1.33 2013/11/24 12:18:30 pinkbyte Exp $
+
+ 24 Nov 2013; Sergey Popov <pinkbyte@gentoo.org> quiterss-9999.ebuild:
+ Add support for building with Phonon, thanks to Nikoli <nikoli AT gmx.us>
*quiterss-0.14.0 (20 Nov 2013)
diff --git a/net-news/quiterss/metadata.xml b/net-news/quiterss/metadata.xml
index f76dd3b1a5a3..cb04f2147076 100644
--- a/net-news/quiterss/metadata.xml
+++ b/net-news/quiterss/metadata.xml
@@ -11,4 +11,7 @@
<remote-id type="google-code">quite-rss</remote-id>
<bugs-to>https://code.google.com/p/quite-rss/issues</bugs-to>
</upstream>
+ <use>
+ <flag name="phonon">Enable sound support via <pkg>media-libs/phonon</pkg> or <pkg>dev-qt/qtphonon</pkg></flag>
+ </use>
</pkgmetadata>
diff --git a/net-news/quiterss/quiterss-9999.ebuild b/net-news/quiterss/quiterss-9999.ebuild
index f800ef1913cb..d707b2f72acd 100644
--- a/net-news/quiterss/quiterss-9999.ebuild
+++ b/net-news/quiterss/quiterss-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/quiterss/quiterss-9999.ebuild,v 1.11 2013/11/20 18:46:34 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/quiterss/quiterss-9999.ebuild,v 1.12 2013/11/24 12:18:30 pinkbyte Exp $
EAPI=5
@@ -14,14 +14,15 @@ HOMEPAGE="http://quiterss.org"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
-IUSE="debug"
+IUSE="debug phonon"
DEPEND="dev-db/sqlite:3
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtsingleapplication
dev-qt/qtsql:4[sqlite]
- dev-qt/qtwebkit:4"
+ dev-qt/qtwebkit:4
+ phonon? ( || ( media-libs/phonon dev-qt/qtphonon:4 ) )"
RDEPEND="${DEPEND}"
DOCS=( AUTHORS HISTORY_EN HISTORY_RU README )
@@ -40,5 +41,7 @@ src_prepare() {
}
src_configure() {
- eqmake4 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1
+ eqmake4 PREFIX="${EPREFIX}/usr" \
+ SYSTEMQTSA=1 \
+ $(use phonon || echo 'DISABLE_PHONON=1')
}