diff options
author | Ben de Groot <yngwin@gentoo.org> | 2012-10-03 06:50:35 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2012-10-03 06:50:35 +0000 |
commit | df4e2a915b88372fe2f457bc303a6aa581fd3018 (patch) | |
tree | bb1b7e2bc93ac9c85f5b93b90d057da362ba0f53 /app-text | |
parent | old (diff) | |
download | gentoo-2-df4e2a915b88372fe2f457bc303a6aa581fd3018.tar.gz gentoo-2-df4e2a915b88372fe2f457bc303a6aa581fd3018.tar.bz2 gentoo-2-df4e2a915b88372fe2f457bc303a6aa581fd3018.zip |
Add beta version with new SyncTeX feature
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/qpdfview/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/qpdfview/metadata.xml | 1 | ||||
-rw-r--r-- | app-text/qpdfview/qpdfview-0.3.5_beta1.ebuild | 52 |
3 files changed, 60 insertions, 1 deletions
diff --git a/app-text/qpdfview/ChangeLog b/app-text/qpdfview/ChangeLog index a704d9a3da32..049e96d7e673 100644 --- a/app-text/qpdfview/ChangeLog +++ b/app-text/qpdfview/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/qpdfview # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.21 2012/10/03 06:35:04 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.22 2012/10/03 06:50:35 yngwin Exp $ + +*qpdfview-0.3.5_beta1 (03 Oct 2012) + + 03 Oct 2012; Ben de Groot <yngwin@gentoo.org> +qpdfview-0.3.5_beta1.ebuild, + metadata.xml: + Add beta version with new SyncTeX feature *qpdfview-0.3.4 (03 Oct 2012) diff --git a/app-text/qpdfview/metadata.xml b/app-text/qpdfview/metadata.xml index 7ce270433c50..bd84315fcd3e 100644 --- a/app-text/qpdfview/metadata.xml +++ b/app-text/qpdfview/metadata.xml @@ -6,4 +6,5 @@ <email>ssuominen@gentoo.org</email> <name>Samuli Suominen</name> </maintainer> + <use><flag name='synctex'>Add support for searching TeX sources</flag></use> </pkgmetadata> diff --git a/app-text/qpdfview/qpdfview-0.3.5_beta1.ebuild b/app-text/qpdfview/qpdfview-0.3.5_beta1.ebuild new file mode 100644 index 000000000000..7d685dd4837b --- /dev/null +++ b/app-text/qpdfview/qpdfview-0.3.5_beta1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.3.5_beta1.ebuild,v 1.1 2012/10/03 06:50:35 yngwin Exp $ + +EAPI=4 +PLOCALES="cs de el pt_BR ru sk uk" +inherit l10n 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 svg synctex" + +RDEPEND="app-text/poppler[qt4] + x11-libs/qt-core:4[iconv] + x11-libs/qt-gui:4 + cups? ( net-print/cups ) + dbus? ( x11-libs/qt-dbus:4 ) + svg? ( x11-libs/qt-svg:4 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="CONTRIBUTORS README TODO" + +S=${WORKDIR}/${P/_} + +src_prepare() { + l10n_for_each_disabled_locale_do rm_loc +} + +src_configure() { + local config i + + for i in cups dbus svg synctex; do + if ! use ${i} ; then + config+=" without_${i}" + fi + done + + eqmake4 CONFIG+="${config}" +} + +rm_loc() { + einfo "Removing ${1} localization..." + sed -e "s;translations/${PN}_${1}.ts;;" \ + -i ${PN}.pro || die "sed translations failed" + rm translations/${PN}_${1}.{qm,ts} || die "rm translations failed" +} |