diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-09-04 15:34:42 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-09-04 15:34:42 +0000 |
commit | a9a877373b1e930523dd23a1b28c5ddf532c2169 (patch) | |
tree | cf471d1fcf1c6cc5a18916845b6f96e9f78a7035 /app-text | |
parent | Whitespace. (diff) | |
download | gentoo-2-a9a877373b1e930523dd23a1b28c5ddf532c2169.tar.gz gentoo-2-a9a877373b1e930523dd23a1b28c5ddf532c2169.tar.bz2 gentoo-2-a9a877373b1e930523dd23a1b28c5ddf532c2169.zip |
Version bump. Make dependency on app-text/poppler optional
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/qpdfview/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/qpdfview/qpdfview-0.4.3.ebuild | 6 | ||||
-rw-r--r-- | app-text/qpdfview/qpdfview-0.4.4.ebuild | 63 |
3 files changed, 73 insertions, 4 deletions
diff --git a/app-text/qpdfview/ChangeLog b/app-text/qpdfview/ChangeLog index d20664dd2768..7ebeab939039 100644 --- a/app-text/qpdfview/ChangeLog +++ b/app-text/qpdfview/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/qpdfview # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.49 2013/07/04 14:53:03 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.50 2013/09/04 15:34:42 pinkbyte Exp $ + +*qpdfview-0.4.4 (04 Sep 2013) + + 04 Sep 2013; Sergey Popov <pinkbyte@gentoo.org> qpdfview-0.4.3.ebuild, + +qpdfview-0.4.4.ebuild: + Version bump. Make dependency on app-text/poppler optional 04 Jul 2013; Michael Palimaka <kensington@gentoo.org> -qpdfview-0.4.2-r1.ebuild: diff --git a/app-text/qpdfview/qpdfview-0.4.3.ebuild b/app-text/qpdfview/qpdfview-0.4.3.ebuild index e085dac5d72e..cba1b5d51f0a 100644 --- a/app-text/qpdfview/qpdfview-0.4.3.ebuild +++ b/app-text/qpdfview/qpdfview-0.4.3.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/app-text/qpdfview/qpdfview-0.4.3.ebuild,v 1.4 2013/07/04 12:25:45 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.3.ebuild,v 1.5 2013/09/04 15:34:42 pinkbyte Exp $ EAPI=5 @@ -16,12 +16,12 @@ SLOT="0" KEYWORDS="amd64 arm x86" IUSE="cups dbus djvu +pdf postscript sqlite +svg synctex" -RDEPEND="app-text/poppler[qt4] - dev-qt/qtcore:4[iconv] +RDEPEND="dev-qt/qtcore:4[iconv] dev-qt/qtgui:4 cups? ( net-print/cups ) dbus? ( dev-qt/qtdbus:4 ) djvu? ( app-text/djvu ) + pdf? ( app-text/poppler[qt4] ) postscript? ( app-text/libspectre ) sqlite? ( dev-qt/qtsql:4[sqlite] ) svg? ( dev-qt/qtsvg:4 ) diff --git a/app-text/qpdfview/qpdfview-0.4.4.ebuild b/app-text/qpdfview/qpdfview-0.4.4.ebuild new file mode 100644 index 000000000000..111cb6481354 --- /dev/null +++ b/app-text/qpdfview/qpdfview-0.4.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.4.ebuild,v 1.1 2013/09/04 15:34:42 pinkbyte Exp $ + +EAPI=5 + +PLOCALES="ast az bg bs ca cs da de el en_GB eo es eu fi fr gl he hr id it kk ky ms my pl pt_BR pt ro ru sk tr ug uk zh_CN" +inherit l10n multilib qt4-r2 + +DESCRIPTION="A tabbed document viewer" +HOMEPAGE="http://launchpad.net/qpdfview" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="cups dbus djvu +pdf postscript sqlite +svg synctex" + +RDEPEND="dev-qt/qtcore:4[iconv] + dev-qt/qtgui:4 + cups? ( net-print/cups ) + dbus? ( dev-qt/qtdbus:4 ) + djvu? ( app-text/djvu ) + pdf? ( app-text/poppler[qt4] ) + postscript? ( app-text/libspectre ) + sqlite? ( dev-qt/qtsql:4[sqlite] ) + svg? ( dev-qt/qtsvg:4 ) + !svg? ( virtual/freedesktop-icon-theme )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( CHANGES CONTRIBUTORS README TODO ) + +prepare_locale() { + lrelease "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed" +} + +src_prepare() { + l10n_find_plocales_changes "translations" "${PN}_" '.ts' + l10n_for_each_locale_do prepare_locale + + qt4-r2_src_prepare +} + +src_configure() { + local config i + + for i in cups dbus pdf djvu svg synctex ; do + if ! use ${i} ; then + config+=" without_${i}" + fi + done + + if ! use sqlite ; then + config+=" without_sql" + fi + + if ! use postscript ; then + config+=" without_ps" + fi + + eqmake4 CONFIG+="${config}" PLUGIN_INSTALL_PATH="/usr/$(get_libdir)/${PN}" +} |