From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 181471396D0 for ; Sat, 23 Sep 2017 02:22:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E3311FC1BF; Sat, 23 Sep 2017 02:22:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1C111FC1BF for ; Sat, 23 Sep 2017 02:22:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF99B33BEA7 for ; Sat, 23 Sep 2017 02:22:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F2099078 for ; Sat, 23 Sep 2017 02:22:31 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1506133343.be7f591c84d0b5b059a1bf5224fe0f20ac3421d8.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/qpdfview/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/qpdfview/qpdfview-0.4.16.ebuild app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild X-VCS-Directories: app-text/qpdfview/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: be7f591c84d0b5b059a1bf5224fe0f20ac3421d8 X-VCS-Branch: master Date: Sat, 23 Sep 2017 02:22:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1e43bd65-5d50-47b1-8d29-a79a291f648a X-Archives-Hash: 4c74f66785e8af6a0a8bd91be96c1cda commit: be7f591c84d0b5b059a1bf5224fe0f20ac3421d8 Author: Michael Palimaka gentoo org> AuthorDate: Sat Sep 23 02:22:10 2017 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Sat Sep 23 02:22:23 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be7f591c app-text/qpdfview: remove qt4 support Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-text/qpdfview/qpdfview-0.4.16.ebuild | 42 ++++++++++---------------- app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild | 42 ++++++++++---------------- 2 files changed, 32 insertions(+), 52 deletions(-) diff --git a/app-text/qpdfview/qpdfview-0.4.16.ebuild b/app-text/qpdfview/qpdfview-0.4.16.ebuild index 472a947b0f7..89e07a090fb 100644 --- a/app-text/qpdfview/qpdfview-0.4.16.ebuild +++ b/app-text/qpdfview/qpdfview-0.4.16.ebuild @@ -13,43 +13,37 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux" -IUSE="cups +dbus djvu fitz +pdf postscript qt5 +sqlite +svg synctex" +IUSE="cups +dbus djvu fitz +pdf postscript +sqlite +svg synctex" REQUIRED_USE="?? ( fitz pdf )" RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 cups? ( net-print/cups ) + dbus? ( dev-qt/qtdbus:5 ) djvu? ( app-text/djvu ) fitz? ( >=app-text/mupdf-1.7:= ) + pdf? ( + >=app-text/poppler-0.35[qt5] + dev-qt/qtxml:5 + ) postscript? ( app-text/libspectre ) - !qt5? ( dev-qt/qtcore:4[iconv] - dev-qt/qtgui:4 - sys-apps/file - dbus? ( dev-qt/qtdbus:4 ) - pdf? ( >=app-text/poppler-0.35[qt4] ) - sqlite? ( dev-qt/qtsql:4[sqlite] ) - svg? ( dev-qt/qtsvg:4 ) ) - qt5? ( dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - dbus? ( dev-qt/qtdbus:5 ) - pdf? ( >=app-text/poppler-0.35[qt5] - dev-qt/qtxml:5 ) - sqlite? ( dev-qt/qtsql:5[sqlite] ) - svg? ( dev-qt/qtsvg:5 ) ) + sqlite? ( dev-qt/qtsql:5[sqlite] ) + svg? ( dev-qt/qtsvg:5 ) !svg? ( virtual/freedesktop-icon-theme ) synctex? ( app-text/texlive-core )" DEPEND="${RDEPEND} - qt5? ( dev-qt/linguist-tools:5 ) + dev-qt/linguist-tools:5 virtual/pkgconfig" DOCS=( CHANGES CONTRIBUTORS README TODO ) src_prepare() { - local mylrelease="$(qt4_get_bindir)"/lrelease - use qt5 && mylrelease="$(qt5_get_bindir)"/lrelease + local mylrelease="$(qt5_get_bindir)"/lrelease prepare_locale() { "${mylrelease}" "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed" @@ -83,11 +77,7 @@ src_configure() { CONFIG+="${myconfig[@]}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" ) - if use qt5; then - eqmake5 "${myqmakeargs[@]}" - else - eqmake4 "${myqmakeargs[@]}" - fi + eqmake5 "${myqmakeargs[@]}" } src_install() { diff --git a/app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild b/app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild index 103b3111028..0002d29b3a0 100644 --- a/app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild +++ b/app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild @@ -13,36 +13,31 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV/_/}/+download/${P/_/}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" -IUSE="cups +dbus djvu fitz +pdf postscript qt5 +sqlite +svg synctex" +IUSE="cups +dbus djvu fitz +pdf postscript +sqlite +svg synctex" REQUIRED_USE="?? ( fitz pdf )" RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 cups? ( net-print/cups ) + dbus? ( dev-qt/qtdbus:5 ) djvu? ( app-text/djvu ) fitz? ( >=app-text/mupdf-1.7:= ) + pdf? ( + >=app-text/poppler-0.35[qt5] + dev-qt/qtxml:5 + ) postscript? ( app-text/libspectre ) - !qt5? ( dev-qt/qtcore:4[iconv] - dev-qt/qtgui:4 - sys-apps/file - dbus? ( dev-qt/qtdbus:4 ) - pdf? ( >=app-text/poppler-0.35[qt4] ) - sqlite? ( dev-qt/qtsql:4[sqlite] ) - svg? ( dev-qt/qtsvg:4 ) ) - qt5? ( dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - dbus? ( dev-qt/qtdbus:5 ) - pdf? ( >=app-text/poppler-0.35[qt5] - dev-qt/qtxml:5 ) - sqlite? ( dev-qt/qtsql:5[sqlite] ) - svg? ( dev-qt/qtsvg:5 ) ) + sqlite? ( dev-qt/qtsql:5[sqlite] ) + svg? ( dev-qt/qtsvg:5 ) !svg? ( virtual/freedesktop-icon-theme ) synctex? ( app-text/texlive-core )" DEPEND="${RDEPEND} - qt5? ( dev-qt/linguist-tools:5 ) + dev-qt/linguist-tools:5 virtual/pkgconfig" DOCS=( CHANGES CONTRIBUTORS README TODO ) @@ -50,8 +45,7 @@ DOCS=( CHANGES CONTRIBUTORS README TODO ) S="${WORKDIR}/${P/_/}" src_prepare() { - local mylrelease="$(qt4_get_bindir)"/lrelease - use qt5 && mylrelease="$(qt5_get_bindir)"/lrelease + local mylrelease="$(qt5_get_bindir)"/lrelease prepare_locale() { "${mylrelease}" "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed" @@ -85,11 +79,7 @@ src_configure() { CONFIG+="${myconfig[@]}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" ) - if use qt5; then - eqmake5 "${myqmakeargs[@]}" - else - eqmake4 "${myqmakeargs[@]}" - fi + eqmake5 "${myqmakeargs[@]}" } src_install() {