public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/quiterss/
Date: Wed, 11 May 2016 18:46:24 +0000 (UTC)	[thread overview]
Message-ID: <1462992376.18b100d83c4889a74fd56a926b644348a4a9964f.pesa@gentoo> (raw)

commit:     18b100d83c4889a74fd56a926b644348a4a9964f
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 18:38:44 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed May 11 18:46:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b100d8

net-news/quiterss: sync live ebuild with 0.18.4

Package-Manager: portage-2.2.28

 net-news/quiterss/quiterss-9999.ebuild | 32 ++++++++++++++++++++------------
 1 file changed, 20 insertions(+), 12 deletions(-)

diff --git a/net-news/quiterss/quiterss-9999.ebuild b/net-news/quiterss/quiterss-9999.ebuild
index b2ece10..f223b2a 100644
--- a/net-news/quiterss/quiterss-9999.ebuild
+++ b/net-news/quiterss/quiterss-9999.ebuild
@@ -4,7 +4,8 @@
 
 EAPI=6
 PLOCALES="ar bg cs de el_GR es fa fi fr gl he hi hu it ja ko lt nl pl pt_BR pt_PT ro_RO ru sk sr sv tg_TJ th_TH tr uk vi zh_CN zh_TW"
-inherit eutils l10n fdo-mime gnome2-utils qmake-utils
+
+inherit fdo-mime gnome2-utils l10n qmake-utils
 
 DESCRIPTION="A Qt-based RSS/Atom feed reader"
 HOMEPAGE="https://quiterss.org"
@@ -19,13 +20,12 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="debug phonon +qt4 qt5"
-REQUIRED_USE="^^ ( qt4 qt5 )"
+IUSE="phonon qt5"
 
-RDEPEND=">=dev-db/sqlite-3.10.0:3
-	dev-qt/qtsingleapplication[X,qt4(+)?,qt5(-)?]
-	qt4? ( dev-qt/qtcore:4
+RDEPEND=">=dev-db/sqlite-3.11.1:3
+	!qt5? ( dev-qt/qtcore:4
 		dev-qt/qtgui:4
+		dev-qt/qtsingleapplication[X,qt4(+)]
 		dev-qt/qtsql:4[sqlite]
 		dev-qt/qtwebkit:4
 		phonon? ( || ( media-libs/phonon[qt4] dev-qt/qtphonon:4 ) ) )
@@ -34,6 +34,7 @@ RDEPEND=">=dev-db/sqlite-3.10.0:3
 		dev-qt/qtmultimedia:5
 		dev-qt/qtnetwork:5
 		dev-qt/qtprintsupport:5
+		dev-qt/qtsingleapplication[X,qt5(-)]
 		dev-qt/qtsql:5[sqlite]
 		dev-qt/qtwebkit:5
 		dev-qt/qtwidgets:5
@@ -44,23 +45,30 @@ DEPEND="${RDEPEND}
 DOCS=( AUTHORS CHANGELOG README.md )
 
 src_prepare() {
+	default
+
 	my_rm_loc() {
 		sed -i -e "s:lang/${PN}_${1}.ts::" lang/lang.pri || die
 	}
 
-	default
-
 	# dedicated english locale file is not installed at all
 	rm "lang/${PN}_en.ts" || die
 
-	l10n_find_plocales_changes "lang" "${PN}_" '.ts'
+	l10n_find_plocales_changes lang ${PN}_ .ts
 	l10n_for_each_disabled_locale_do my_rm_loc
 }
 
 src_configure() {
-	use qt4 && eqmake4 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1 \
-		$(usex phonon '' 'DISABLE_PHONON=1')
-	use qt5 && eqmake5 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1
+	local myqmakeargs=(
+		PREFIX="${EPREFIX}/usr"
+		SYSTEMQTSA=1
+	)
+	if use qt5; then
+		eqmake5 "${myqmakeargs[@]}"
+	else
+		eqmake4 "${myqmakeargs[@]}" \
+			$(usex phonon '' 'DISABLE_PHONON=1')
+	fi
 }
 
 src_install() {


             reply	other threads:[~2016-05-11 18:46 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-11 18:46 Davide Pesavento [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-13 10:01 [gentoo-commits] repo/gentoo:master commit in: net-news/quiterss/ Agostino Sarubbo
2020-08-09  8:32 Andreas Sturmlechner
2020-04-04  0:55 Andreas Sturmlechner
2020-04-03 12:19 Agostino Sarubbo
2020-04-03  9:02 Agostino Sarubbo
2020-02-26 12:34 Andreas Sturmlechner
2020-02-08 16:53 David Seifert
2019-04-18  9:05 Michael Palimaka
2019-02-15 23:07 Andreas Sturmlechner
2019-02-15 23:07 Andreas Sturmlechner
2018-11-08 12:29 Andreas Sturmlechner
2018-11-07 23:44 Thomas Deutschmann
2018-11-07 10:21 Mikle Kolyada
2018-08-18  9:46 Andreas Sturmlechner
2018-04-26  3:32 Andreas Sturmlechner
2018-04-24 23:59 Aaron Bauman
2018-02-22 10:51 Andreas Sturmlechner
2017-12-22 10:31 Michael Palimaka
2017-12-22 10:31 Michael Palimaka
2017-12-22 10:31 Michael Palimaka
2017-12-22 10:31 Michael Palimaka
2017-09-30  7:22 Michael Palimaka
2017-07-29  3:49 Michael Palimaka
2017-06-18 12:52 Michael Palimaka
2017-06-18 12:52 Michael Palimaka
2017-06-04  7:38 Michael Palimaka
2017-03-26  9:49 Andreas Sturmlechner
2017-03-06  1:52 Göktürk Yüksek
2016-07-07 20:29 Davide Pesavento
2016-06-23 18:00 Michael Palimaka
2016-06-23 18:00 Michael Palimaka
2016-05-30 18:36 Davide Pesavento
2016-05-11 17:36 Davide Pesavento
2016-05-11 17:16 Davide Pesavento
2016-02-19  9:44 Michael Palimaka
2016-02-19  9:44 Michael Palimaka
2016-02-19  9:44 Michael Palimaka
2016-02-19  9:44 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462992376.18b100d83c4889a74fd56a926b644348a4a9964f.pesa@gentoo \
    --to=pesa@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox