summaryrefslogtreecommitdiff
path: root/media-gfx/gscan2pdf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-17 01:16:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-17 01:16:38 +0000
commit53cba99042fa967e2a93da9f8db806fe2d035543 (patch)
tree9780d3b87dfc6bdebc6b7b7d15af1ecb813c6853 /media-gfx/gscan2pdf
parent71deace00d1a2b091313fe137ab7092418c6f87c (diff)
gentoo resync : 17.02.2020
Diffstat (limited to 'media-gfx/gscan2pdf')
-rw-r--r--media-gfx/gscan2pdf/Manifest4
-rw-r--r--media-gfx/gscan2pdf/gscan2pdf-2.6.4.ebuild (renamed from media-gfx/gscan2pdf/gscan2pdf-2.6.2.ebuild)12
2 files changed, 11 insertions, 5 deletions
diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest
index 9619dc8be0be..cb0816b2b1bd 100644
--- a/media-gfx/gscan2pdf/Manifest
+++ b/media-gfx/gscan2pdf/Manifest
@@ -1,7 +1,7 @@
DIST gscan2pdf-1.8.11.tar.xz 409212 BLAKE2B 37cb716f13818eaffc39c210b810b845368cc5e323569e8f9d5603b5b412c4182520798321358e4c21339fdbd5f15026a0acd6421a49e7db79ecca86633c3ab0 SHA512 1ea09b8768771be4a1700cb8a6523d5f74fcbf0ebe459d97796032b56f896fd0c50e5ca1ed4c96aedef7e61f6952a92986153cc70173dd5ad91ccfb72461c565
-DIST gscan2pdf-2.6.2.tar.xz 458920 BLAKE2B e8c54654c10adae7d66844e3814025f8c934df935c315e48b6a2a34810b06b47d22208af22da04d872b2ac9737f5f5cba72d42fb2de92f1fa8110dbe64ba71ba SHA512 7b0bba012eab6edcaede2a2163935947ab9c71b21abb4cde8456f958537f84435a274a0ae6fb3827afd835f376d462ab5402e772307034936ec2b24889ecaec2
DIST gscan2pdf-2.6.3.tar.xz 459276 BLAKE2B 395260a2034e9ac782c4c6104af5dc24561d271b45a359762cef990fce9f8343c6dc3c863ad66fc0ba56991df20945384edb695e3d94fa5fcc58c78ad039d380 SHA512 77478e7d35a90fd737a28f302bac214d3946cd5f0ce93f8d22b3485a6d1150ff2834433d028487fea4433a36a532714b4f47e8fbba3307c178fc161a0adbdbb0
+DIST gscan2pdf-2.6.4.tar.xz 460636 BLAKE2B 80d6123f8849ce305ca9b914da267f5b8898d6b3b660026ba075e5f8e10fc78093bb49d3186ec6a90d32b8c6ae0dade70fc146dcb677540810c06e91186bdbd7 SHA512 10d08b10f3101759757a2d98f2c2b41813a5f67234471f746ecda5ffebe085cb0d435343d05fa9107ed942785f707c7c2d8db6e430b1af335afe30b1d9079f08
EBUILD gscan2pdf-1.8.11.ebuild 1731 BLAKE2B 0b0f7cdfef98e666e20e44882584e0636e490429186e441d87f965e74071f5076693896e17e68184319dfaf3a1fd4487140209ef3b49603c9496cc936516333d SHA512 b94b73d3396208a8c67c2aad407815329501717c364d60189b21d96f652846e554d59a2a36f4b58383d7f49ab728d4fe251bce9ab1944befb667a9e0c09237b3
-EBUILD gscan2pdf-2.6.2.ebuild 2318 BLAKE2B cb72ecd97b6eec1ca9b2a0be67aa0a9cbf20c1367791b65b57d22f3568d4632e5ef1285cb72d8cc30e5a2e438d4134cdd16cf9ce65f47bca0a0f0d1e34e9c6d0 SHA512 1a80ea580d566d981c28fb9f2fba632a964b01be736b9a68cf253ec96781f98bc0e11f5555018d50bbb65023f51bebf5c33b350bae5bf3974e4d007fc344871a
EBUILD gscan2pdf-2.6.3.ebuild 2318 BLAKE2B f0b8c7ddcfd7fb1033b4214b3cf49ebf440e50c517ae212c24ce5b9ac055526d356e09ce3dc5df0dd1f7745bc80e7791e1a9ec8f13d188c9be08fcd0e98239d8 SHA512 404b6aceff7b758f2f6ae45c8187564e242f3d24e69db2012c155e4bf17a18a95202c9a3f1f3fc1aa5bff04bb6b0a27701cbb3e636e9a37d98d03f5a90092904
+EBUILD gscan2pdf-2.6.4.ebuild 2420 BLAKE2B 4e1824b65e2b7f696ed5fc73073a2e49263fb052af14c0a46f88a308f345d6663b125df3b60ae1d5c1b86122b61206991aaf8c82ca1820354216b378dee0b845 SHA512 889325f26253e3d389c9db922591ff803e7ac3f02eeb659e669645564eb92dac13c7ebe4fc8df8930ac854f30d232f4346ee80e8c65ba5575c7368f3af2ff4ff
MISC metadata.xml 439 BLAKE2B 835480b0d68a079941e94f2646d0136dfb8a8e750e0279f8a5a2e23e6690242582ffe660798f5e80ebfb4378a576aa5715332b53230555866391a99ec28f54ff SHA512 af1cc05ac693899586df81036d2fa11af187edbb3c9449862298ba05efd0dbd0c4c5b008a1a21328c1f9a27a690671bd7a9967d2e457efb31561044e45984401
diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.6.2.ebuild b/media-gfx/gscan2pdf/gscan2pdf-2.6.4.ebuild
index 2c4c4ca4eca1..58c42016341f 100644
--- a/media-gfx/gscan2pdf/gscan2pdf-2.6.2.ebuild
+++ b/media-gfx/gscan2pdf/gscan2pdf-2.6.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_TEST="do"
-inherit eutils perl-module virtualx
+inherit eutils perl-module virtualx xdg-utils
DESCRIPTION="Scan documents, perform OCR, produce PDFs and DjVus"
HOMEPAGE="http://gscan2pdf.sourceforge.net/"
@@ -67,6 +67,8 @@ PERL_RM_FILES=( t/{90_MANIFEST,91_critic,99_pod}.t )
mydoc="History"
pkg_postinst() {
+ xdg_desktop_database_update
+
optfeature "DjVu file support" "app-text/djvu[tiff] media-gfx/imagemagick[djvu]"
optfeature "encrypting PDFs" app-text/pdftk
optfeature "creating PostScript files from PDFs" app-text/poppler[utils]
@@ -77,6 +79,10 @@ pkg_postinst() {
optfeature "sending PDFs as email attachments" x11-misc/xdg-utils
}
+pkg_postrm() {
+ xdg_desktop_database_update
+}
+
src_test(){
local confdir="${HOME}/.config/ImageMagick"
mkdir -p "${confdir}" || die
@@ -86,5 +92,5 @@ src_test(){
<policy domain="coder" rights="read" pattern="PS" />
</policymap>
EOT
- virtx perl-module_src_test
+ NO_AT_BRIDGE=1 virtx perl-module_src_test
}