diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-03-19 11:21:33 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-03-19 11:21:33 +0000 |
commit | 32b8d3b35ecdfe9988c1f77eb331586ccb6e1078 (patch) | |
tree | f0403ffa61ed5f6a332fb3de94961b62aca3f84a /app-text/qpdfview | |
parent | sci-biology/profphd: New addition (diff) | |
download | gentoo-2-32b8d3b35ecdfe9988c1f77eb331586ccb6e1078.tar.gz gentoo-2-32b8d3b35ecdfe9988c1f77eb331586ccb6e1078.tar.bz2 gentoo-2-32b8d3b35ecdfe9988c1f77eb331586ccb6e1078.zip |
Version bump, wrt bug #459910
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-text/qpdfview')
-rw-r--r-- | app-text/qpdfview/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/qpdfview/qpdfview-0.4.ebuild | 65 |
2 files changed, 71 insertions, 1 deletions
diff --git a/app-text/qpdfview/ChangeLog b/app-text/qpdfview/ChangeLog index d9e5d278fd89..70deb8fac1a2 100644 --- a/app-text/qpdfview/ChangeLog +++ b/app-text/qpdfview/ChangeLog @@ -1,6 +1,11 @@ # 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.35 2013/03/17 16:05:28 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.36 2013/03/19 11:21:33 pinkbyte Exp $ + +*qpdfview-0.4 (19 Mar 2013) + + 19 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> +qpdfview-0.4.ebuild: + Version bump, wrt bug #459910 17 Mar 2013; Andreas K. Huettel <dilfridge@gentoo.org> qpdfview-0.3.7-r2.ebuild: diff --git a/app-text/qpdfview/qpdfview-0.4.ebuild b/app-text/qpdfview/qpdfview-0.4.ebuild new file mode 100644 index 000000000000..668ab0d93a64 --- /dev/null +++ b/app-text/qpdfview/qpdfview-0.4.ebuild @@ -0,0 +1,65 @@ +# 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.ebuild,v 1.1 2013/03/19 11:21:33 pinkbyte Exp $ + +EAPI=5 + +PLOCALES="ast bs ca cs da de el en_GB es eu fi fr he hr id it ky ms my pl pt_BR ro ru sk tr ug uk zh_CN" +inherit l10n multilib qt4-r2 + +DESCRIPTION="A tabbed PDF viewer using the poppler library" +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="app-text/poppler[qt4] + dev-qt/qtcore:4[iconv] + dev-qt/qtgui:4 + cups? ( net-print/cups ) + dbus? ( dev-qt/qtdbus:4 ) + djvu? ( app-text/djvu ) + 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 ) + +rm_loc() { + sed -e "/translations\/${PN}_${1}.ts/d" \ + -i ${PN}.pro || die "sed translations failed" + rm translations/${PN}_${1}.{qm,ts} || die "rm translations failed" +} + +src_prepare() { + l10n_find_plocales_changes "translations" "${PN}_" '.ts' + l10n_for_each_disabled_locale_do rm_loc + + 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}" +} |