pesa 14/09/28 11:49:13 Modified: qpdfview-0.4.11.1.ebuild ChangeLog Log: Minor cleanup. (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
Revision Changes Path 1.2 app-text/qpdfview/qpdfview-0.4.11.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild?r1=1.1&r2=1.2 Index: qpdfview-0.4.11.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- qpdfview-0.4.11.1.ebuild 24 Sep 2014 09:48:17 -0000 1.1 +++ qpdfview-0.4.11.1.ebuild 28 Sep 2014 11:49:13 -0000 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild,v 1.1 2014/09/24 09:48:17 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild,v 1.2 2014/09/28 11:49:13 pesa Exp $ EAPI=5 @@ -16,28 +16,37 @@ KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" IUSE="cups dbus djvu fitz +pdf postscript +qt4 qt5 sqlite +svg synctex" -REQUIRED_USE="^^ ( qt4 qt5 ) - ?? ( fitz pdf )" +REQUIRED_USE=" + ^^ ( qt4 qt5 ) + ?? ( fitz pdf ) +" -RDEPEND="cups? ( net-print/cups ) +RDEPEND=" + cups? ( net-print/cups ) djvu? ( app-text/djvu ) fitz? ( app-text/mupdf:0/1.4 ) postscript? ( app-text/libspectre ) - qt4? ( dev-qt/qtcore:4[iconv] + qt4? ( + dev-qt/qtcore:4[iconv] dev-qt/qtgui:4 dbus? ( dev-qt/qtdbus:4 ) pdf? ( app-text/poppler[qt4] ) sqlite? ( dev-qt/qtsql:4[sqlite] ) - svg? ( dev-qt/qtsvg:4 ) ) - qt5? ( dev-qt/qtcore:5 + svg? ( dev-qt/qtsvg:4 ) + ) + qt5? ( + dev-qt/qtcore:5 dev-qt/qtgui:5 dbus? ( dev-qt/qtdbus:5 ) pdf? ( >=app-text/poppler-0.26.4[qt5] ) sqlite? ( dev-qt/qtsql:5[sqlite] ) - svg? ( dev-qt/qtsvg:5 ) ) - !svg? ( virtual/freedesktop-icon-theme )" + svg? ( dev-qt/qtsvg:5 ) + ) + !svg? ( virtual/freedesktop-icon-theme ) +" DEPEND="${RDEPEND} - virtual/pkgconfig" + virtual/pkgconfig +" DOCS=( CHANGES CONTRIBUTORS README TODO ) @@ -47,38 +56,37 @@ } rm_help() { - if [[ -e "miscellaneous/help_${1}.html" ]]; then - rm "miscellaneous/help_${1}.html" || die "removing extraneous help files failed" - fi + rm -f "miscellaneous/help_${1}.html" || die "removing extraneous help files failed" } - l10n_find_plocales_changes "translations" "${PN}_" '.ts' + l10n_find_plocales_changes translations "${PN}_" '.ts' l10n_for_each_locale_do prepare_locale l10n_for_each_disabled_locale_do rm_help + # adapt for prefix sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die } src_configure() { local config i - for i in cups dbus pdf djvu svg synctex ; do - if ! use ${i} ; then + for i in cups dbus pdf djvu svg synctex; do + if ! use ${i}; then config+=" without_${i}" fi done - use fitz && config+=" with_fitz" + use fitz && config+=" with_fitz" use postscript || config+=" without_ps" use sqlite || config+=" without_sql" - if use qt4 ; then + if use qt4; then eqmake4 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" - else + else eqmake5 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" qpdfview.pro fi } src_install() { - emake INSTALL_ROOT="${D}" "$@" install + emake INSTALL_ROOT="${D}" install einstalldocs } 1.57 app-text/qpdfview/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/ChangeLog?rev=1.57&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/ChangeLog?rev=1.57&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/ChangeLog?r1=1.56&r2=1.57 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- ChangeLog 24 Sep 2014 09:48:17 -0000 1.56 +++ ChangeLog 28 Sep 2014 11:49:13 -0000 1.57 @@ -1,6 +1,9 @@ # ChangeLog for app-text/qpdfview # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.56 2014/09/24 09:48:17 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.57 2014/09/28 11:49:13 pesa Exp $ + + 28 Sep 2014; Davide Pesavento <[email protected]> qpdfview-0.4.11.1.ebuild: + Minor cleanup. *qpdfview-0.4.11.1 (24 Sep 2014)
