summaryrefslogtreecommitdiff
path: root/app-text/qpdfview
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/qpdfview
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/qpdfview')
-rw-r--r--app-text/qpdfview/Manifest7
-rw-r--r--app-text/qpdfview/metadata.xml18
-rw-r--r--app-text/qpdfview/qpdfview-0.4.16.ebuild86
-rw-r--r--app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild88
4 files changed, 199 insertions, 0 deletions
diff --git a/app-text/qpdfview/Manifest b/app-text/qpdfview/Manifest
new file mode 100644
index 000000000000..d4bf6b8f0b6c
--- /dev/null
+++ b/app-text/qpdfview/Manifest
@@ -0,0 +1,7 @@
+DIST qpdfview-0.4.16.tar.gz 636095 SHA256 fad416e8fefc3057fa1b8d12d964c7eccd16dffe0307a0d6e9d55a543294da7f SHA512 d3ac05fc51d48533e44e58cd19e5d222a8bfbc9da4df02ece6a405d2fdd3346eb4614816ae91e89facf28e107b920ff3ce7b2ccc8c9b7832ae2595ef70d65584 WHIRLPOOL 47bc82937562fdcbdf17f567bb0fa6e8eebd2e657320c129e9fd4f592c27eab855e7d2d69a22b45666509ace93b12528811b0671cb9483607448152bb676f11e
+DIST qpdfview-0.4.17beta1.tar.gz 658978 SHA256 60206c5f76410a35098e3c965552cec08cd85941776ea6f6b207d7ea63ce940f SHA512 803bd9a1165fc84302fb3c7734127eaab754bd2bf23083a1bcf340810fa617800f3d0069eae7b1f43fb528ebe17a6a32a652efbb902d525a95efc31efeb1e10a WHIRLPOOL 9ed967656b0e7e1f8828377d667d27a8c468f687b2df76285e1502cbdf0c5183bcec31bd8189ac80455395154e3df447eae1798b9581d05c7a8c24544b7d467b
+EBUILD qpdfview-0.4.16.ebuild 2136 SHA256 b9c8580d80cae221b0800e84c485a1510442c33353023bec42fbe8726a87b757 SHA512 17b67cceb5dd0a3ff56b53f1f7cd2a951c5dc7f3e91b88bf669f54c5258d084da76622e8eacbf5cbbbef8376250dc354f38ee7c5b71ded124ad13263af6e29d6 WHIRLPOOL c9f9e2776d563f40aee122466b7fa6ccf7ed2800cfdbaeb4fca230d91daddf8c66bdc3618f64ce9179b7ca25699775f96a742be93d239142635956c7da013637
+EBUILD qpdfview-0.4.17_beta1.ebuild 2169 SHA256 5a27a75d91333658235a8eafc4e91af68cbbeaa204f4d687a43bfed6a5d7e5d0 SHA512 14fe234d15e1f6a38a8ba2c744c5f9061c21969f43bab039227636eb69f25fea5f1a91ffb15afe84c3eb92de25ef1c0db693b02a074f365e9069af5ae145ad24 WHIRLPOOL e1fceb7f92e8a2fdb45bb96b46f56b57e5a20cefda42a4e650f5d171898aef35beea66c50b7879aa5c7cf0e97bff60d89716b33dbb7d8711d79d1b44bd9397bf
+MISC ChangeLog 4017 SHA256 758c62670b511d5f5e6bd98aa10d4632517f14709567f918c971d89eb2b14da6 SHA512 b53ebcf52c69fdeef2e8b443bd02979ca862c7be7594e2e0f153cb619e7ee81d1259024530aaf5ad31ff32d7019255ead1abe83c25cb00d9b7627b7057e238f5 WHIRLPOOL eb5c59537da43bef49904f7bc7eeffeb22db309fdd7b506771b3fa84a7b291a96d3f9d5f3b4fe8a3822f04dd0780e17b0da6ffacae0fa8097a9f6be76c207f82
+MISC ChangeLog-2015 11060 SHA256 4ebf33e2c1cd4f1eebdcf332d4e5726130ac5b7cb72be83d594ea4f3cedb650e SHA512 247ae9e9375993208b3cec76c61abb2f642e6c30b5e06176c5f32cc7db1a1c45f2e4e36da2809171090e602746544d659cec4773c4176fd9c6b98c0bdd760c7d WHIRLPOOL 8362376ff3aec029438936654d4d29f7ea668c0a9825c5b65460c02cba42f27cd134622ceeb8f38bb76bd15e9843a28e3775e816f4114a79e655fc4136764cce
+MISC metadata.xml 534 SHA256 f1dfee48e5bb767e4280f6285a400d697ac30f9f80ef43e1cb8a47be81b9a9e5 SHA512 e086f5e92c5ad9058f13c23c814a5cdc988a09cdbebecb1018b59d32a756dc2766b13ee1c3e09966cc7e221cc1c4ee26f9bf11c50610f94b28c20a34c316f133 WHIRLPOOL 00488c21cda0206d84de693e4264103ef0158e26a318b8b515a9a4a36f977d341686892dabe9657bc1accec2fbd17e747f03ffd65117859014a6e213fff65f3b
diff --git a/app-text/qpdfview/metadata.xml b/app-text/qpdfview/metadata.xml
new file mode 100644
index 000000000000..481838d89529
--- /dev/null
+++ b/app-text/qpdfview/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <use>
+ <flag name="fitz">
+ Use experimental fitz rendering, provided by <pkg>app-text/mupdf</pkg>,
+ instead of poppler
+ </flag>
+ <flag name="synctex">Add support for searching TeX sources</flag>
+ </use>
+ <upstream>
+ <remote-id type="launchpad">qpdfview</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/qpdfview/qpdfview-0.4.16.ebuild b/app-text/qpdfview/qpdfview-0.4.16.ebuild
new file mode 100644
index 000000000000..89e07a090fb5
--- /dev/null
+++ b/app-text/qpdfview/qpdfview-0.4.16.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PLOCALES="ast az be bg bs ca cs da de el en_GB eo es eu fi fr gl he hr hu id it kk ko ky lt ms my pl pt pt_BR ro ru sk sv th tr ug uk vi zh_CN"
+
+inherit l10n qmake-utils
+
+DESCRIPTION="A tabbed document viewer"
+HOMEPAGE="https://launchpad.net/qpdfview"
+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 +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 )
+ sqlite? ( dev-qt/qtsql:5[sqlite] )
+ svg? ( dev-qt/qtsvg:5 )
+ !svg? ( virtual/freedesktop-icon-theme )
+ synctex? ( app-text/texlive-core )"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig"
+
+DOCS=( CHANGES CONTRIBUTORS README TODO )
+
+src_prepare() {
+ local mylrelease="$(qt5_get_bindir)"/lrelease
+
+ prepare_locale() {
+ "${mylrelease}" "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed"
+ }
+
+ rm_help() {
+ rm -f "help/help_${1}.html" || die "removing ${1} help file failed"
+ }
+
+ 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
+
+ default
+}
+
+src_configure() {
+ local myconfig=() i=
+ for i in cups dbus djvu pdf svg synctex; do
+ use ${i} || myconfig+=(without_${i})
+ done
+ use fitz && myconfig+=(with_fitz)
+ use postscript || myconfig+=(without_ps)
+ use sqlite || myconfig+=(without_sql)
+
+ local myqmakeargs=(
+ qpdfview.pro
+ CONFIG+="${myconfig[@]}"
+ PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
+ )
+ eqmake5 "${myqmakeargs[@]}"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
diff --git a/app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild b/app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild
new file mode 100644
index 000000000000..0002d29b3a05
--- /dev/null
+++ b/app-text/qpdfview/qpdfview-0.4.17_beta1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PLOCALES="ast az be bg bs ca cs da de el en_GB eo es eu fi fr gl he hr hu id it kk ko ky lt ms my pl pt pt_BR ro ru sk sv th tr ug uk vi zh_CN"
+
+inherit l10n qmake-utils
+
+DESCRIPTION="A tabbed document viewer"
+HOMEPAGE="https://launchpad.net/qpdfview"
+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 +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 )
+ sqlite? ( dev-qt/qtsql:5[sqlite] )
+ svg? ( dev-qt/qtsvg:5 )
+ !svg? ( virtual/freedesktop-icon-theme )
+ synctex? ( app-text/texlive-core )"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig"
+
+DOCS=( CHANGES CONTRIBUTORS README TODO )
+
+S="${WORKDIR}/${P/_/}"
+
+src_prepare() {
+ local mylrelease="$(qt5_get_bindir)"/lrelease
+
+ prepare_locale() {
+ "${mylrelease}" "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed"
+ }
+
+ rm_help() {
+ rm -f "help/help_${1}.html" || die "removing ${1} help file failed"
+ }
+
+ 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
+
+ default
+}
+
+src_configure() {
+ local myconfig=() i=
+ for i in cups dbus djvu pdf svg synctex; do
+ use ${i} || myconfig+=(without_${i})
+ done
+ use fitz && myconfig+=(with_fitz)
+ use postscript || myconfig+=(without_ps)
+ use sqlite || myconfig+=(without_sql)
+
+ local myqmakeargs=(
+ qpdfview.pro
+ CONFIG+="${myconfig[@]}"
+ PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
+ )
+ eqmake5 "${myqmakeargs[@]}"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}