diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-10 00:43:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-10 00:43:02 +0000 |
commit | a5332b59346f7cbf0fdbd148b54aa8a84aaf8190 (patch) | |
tree | e6d8d3589fcd01fbc3f1286185639163daa81424 /app-text/qpdfview | |
parent | fceeaf01a28ee71065cf3798b70b77d3bc4ef199 (diff) |
gentoo resync : 10.11.2017
Diffstat (limited to 'app-text/qpdfview')
-rw-r--r-- | app-text/qpdfview/Manifest | 2 | ||||
-rw-r--r-- | app-text/qpdfview/qpdfview-0.4.18_pre.ebuild | 96 |
2 files changed, 98 insertions, 0 deletions
diff --git a/app-text/qpdfview/Manifest b/app-text/qpdfview/Manifest index d4bf6b8f0b6c..83cd7134b3dd 100644 --- a/app-text/qpdfview/Manifest +++ b/app-text/qpdfview/Manifest @@ -1,7 +1,9 @@ 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 +DIST qpdfview-0.4.18_pre.tar.gz 667869 SHA256 3e0fb7f16190d948ce5d094af7ff26c3e5e0e10bfdf01b4fe4bfa7b7cdda9602 SHA512 3a7a2cc474078dc742fccba2c87710c1e05cec76f0bd66650fa6cb4d6d8e2103241474689d4798da28ae1aeb2caa6e09dd8d1e9d0433c2eba21b202166aa3051 WHIRLPOOL 10d0b343e10a68f8b90cb777d08f5b7f9126d19bee41e82e7ae412c7903d8541b3484d3cac548322aeb85210fc5d5f07c5c84c9994094ff48384aec4635da2c9 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 +EBUILD qpdfview-0.4.18_pre.ebuild 2351 SHA256 54cdacaa43224b0443830a4ea9c1801e6c24749dc6c15ec039ecd3dba5372a5a SHA512 560b54fc310413fc34e24f441eb438db5221d211cb57fc318018e27b7913588e3361b056f4102cf922d6f79d955993ab40182158e6ce00ac5394bd82d98f56f0 WHIRLPOOL 39f928c54498b9d7870a25b464736b0d6f029f6e361d9c813350a124ae6557068e50490823ad09ead5cc5d1fab433cc7011958e14a9bf5b336d850257b0f0372 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/qpdfview-0.4.18_pre.ebuild b/app-text/qpdfview/qpdfview-0.4.18_pre.ebuild new file mode 100644 index 000000000000..13bcc7b4241f --- /dev/null +++ b/app-text/qpdfview/qpdfview-0.4.18_pre.ebuild @@ -0,0 +1,96 @@ +# 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 ja 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 xdg-utils gnome2-utils + +DESCRIPTION="A tabbed document viewer" +HOMEPAGE="https://launchpad.net/qpdfview" +SRC_URI="https://dev.gentoo.org/~grozin/${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=" + cups? ( net-print/cups ) + djvu? ( app-text/djvu ) + fitz? ( >=app-text/mupdf-1.7:= ) + postscript? ( app-text/libspectre ) + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + dbus? ( dev-qt/qtdbus:5 ) + pdf? ( >=app-text/poppler-0.35[qt5] + dev-qt/qtxml:5 ) + 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 +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} |