summaryrefslogtreecommitdiff
path: root/app-antivirus/clamtk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-23 06:06:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-23 06:06:50 +0100
commit98c7fa9070b6b423d52dfb59567ec7ef0d5f234d (patch)
tree15a9168c34e20acc6a8707fe4bee72b86d20f86c /app-antivirus/clamtk
parent0e1abc96fea41c994e56391bd01c5c9298236783 (diff)
gentoo auto-resync : 23:04:2023 - 06:06:49
Diffstat (limited to 'app-antivirus/clamtk')
-rw-r--r--app-antivirus/clamtk/Manifest4
-rw-r--r--app-antivirus/clamtk/clamtk-6.15.ebuild142
-rw-r--r--app-antivirus/clamtk/metadata.xml1
3 files changed, 146 insertions, 1 deletions
diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest
index 2a4039f17654..d25c58397e41 100644
--- a/app-antivirus/clamtk/Manifest
+++ b/app-antivirus/clamtk/Manifest
@@ -1,7 +1,9 @@
DIST clamtk-6.14.tar.xz 286356 BLAKE2B e9bf43f221463c78c2f42258c181a851ef5067a8e57fe14bdc72481f0f00daf242179f2258c0c32f50025046ea35ce686d4f10a0da5f97f582aef928ea87050c SHA512 e5fb584f85f7e89eae10ed15ffa0268ecf79d81baf2bbf5d5974c080014d7fe24e4350c0139e8372d0e45a94302a0ec2cd824d05e04fee29dc681cbaf9d0fe14
+DIST clamtk-6.15.tar.xz 287452 BLAKE2B 6cece01ca0691edc369bc462fd0d7992e3d40ffc5d05b3969ebe4f2afa9211b8e6babb77136ff075507ebcccd1769fa2b20e1f8bfa3cee1408cfff19377662b9 SHA512 0b882ba8f8bd615276e19aa303832a9aaabd0515f29a0f2b0a2543597e62a1aa6f720acd9193b76fd726bcb007d78c8d7ddfaca8fdbe8998a8b191366f36b41a
DIST clamtk-gnome-6.14.tar.xz 15156 BLAKE2B ed87dc8317b60a63c4f8824b0e24568ab29874d1e62ef0f4eddeb636960d9b2753b12dfb8fb6f3eb27a6fbfb18dc88b6a480b532afd0d22f20955f4023278eb8 SHA512 3fd798a7d8dbea0e33db09f266b6ad74b96ae5097ecc4d54e00c30c2a5f76a93cd6f2cbaa2b83dc69eb295905c09db88dc2f364592a398786e473783d1ee2c4e
DIST clamtk-kde-0.19.tar.xz 18652 BLAKE2B 4ecb849c9312948d493938683310904c9bbe7f4e26514d76dbfee3afdd063eec2a0aa85a638f83130c8e3ff41cfabee1479885691cc484680d97d1f8fbb76f00 SHA512 57a99d50f171ada999723dc69c2d193e91a482533add4281c6aac96a23273b3eb5456bff6918f69c72edf1635d22be86beae4c434eb29fc3c27fb687fa716861
DIST nemo-sendto-clamtk-0.05.tar.xz 5980 BLAKE2B ca5f37fb9ba9e7f7dc9dc67d52fe36f430697f200c2c91f4d912b068f28d79bee100a85878f66414012728e979073a0afc411e6789959a35bd468c28bf207618 SHA512 4cb2d32711da47c959be84d69654ea0ab0bfb4f2c4a806cbc035129fd0d985a93b89d51c5874de272f2a2841c66702c8867178f5af41505e698c8e37e3c74da9
DIST thunar-sendto-clamtk-0.07.tar.xz 5432 BLAKE2B 7b0911abbcf1601ee961a0449815e21273acb7e757b4c4f532a100da48fe4c7b2f6ecb05a27931e0cf60af94e7cd52af23736180f0d9afa1dd00b9f44eaa3c0b SHA512 f25802c80d5e8a6d703b7b3b2266a91eb031a377792420052f6873cb0eb759235d79df457dc26303d6ef4ed9989dbc4ff803258255fb568fef27c782144c1145
EBUILD clamtk-6.14.ebuild 3934 BLAKE2B a7d306fc69be64dff50fc91eb344aae373440375a90fafd2a245e1bb1d305b69cadec1880440f7a2a17be9a9b7071142a7eedba8a1140cd3bd918bc1d4c729be SHA512 75e8463ddce3a6176de9b9239333784ce88437dfeb9f9aed1b5abadfa503ab87077311a8df66953915f524e896d95055aeb0ea93622b4125ff626512a90ffb07
-MISC metadata.xml 810 BLAKE2B dfcc3134631f1ba3e4140f14e0f159ab2b64e9ac95905cf94925e27ecded077d2d29dd60a89dbd4d4bb91314fadb1f1973dd8c6b4dcb674f37783e864aa24490 SHA512 9909d3c911fd249d530e60ac212418ad762a319ba3ed1fee6565211dca14f85ce01515a3875e8c23999a3a8c826c0a2fe195a16e9894bec348c9ef0967af99a6
+EBUILD clamtk-6.15.ebuild 3936 BLAKE2B 2c6f450435ba66f4571c7f3e430fc36c452e05180dbc9f5086c5ddf123fe38eb34115af214a362d373fd77d874299c420be6a6dc137570c04f9003cc1dcadd9a SHA512 9cc7b9896cba75c491eca1917476756bd83e854a83a7f0737cefacac30692d41c850a2ac92d5c7766ba587ac7a5f38740638c9d1eeb5a8bea6272735aae00d86
+MISC metadata.xml 870 BLAKE2B 503e8b1fdd2cd3d2539c4cab72fa307e98df2824ec89e77a2a17303e96badaaf700332be4466443c3e881b371423cb40d464022692a563aa31e7698ba326a191 SHA512 77ac4d301d79f7404946014c243415dc408c165f6d0febd2a9fb74d257877ccee0b662b909efbb1afad5462b939a6405c9363e6fcc9e8e278414fdcf4166b253
diff --git a/app-antivirus/clamtk/clamtk-6.15.ebuild b/app-antivirus/clamtk/clamtk-6.15.ebuild
new file mode 100644
index 000000000000..07236840d9f6
--- /dev/null
+++ b/app-antivirus/clamtk/clamtk-6.15.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit desktop perl-functions python-single-r1 xdg-utils
+
+MY_PV_KDE="0.19"
+MY_PV_NAUTILUS="6.14"
+MY_PV_NEMO="0.05"
+MY_PV_THUNAR="0.07"
+
+DESCRIPTION="A graphical front-end for ClamAV"
+HOMEPAGE="https://gitlab.com/dave_m/clamtk/wikis/Home"
+SRC_URI="
+ https://github.com/dave-theunsub/${PN}/releases/download/v${PV}/${P}.tar.xz
+ kde? ( https://github.com/dave-theunsub/${PN}-kde/releases/download/v${MY_PV_KDE}/${PN}-kde-${MY_PV_KDE}.tar.xz )
+ nautilus? ( https://github.com/dave-theunsub/${PN}-gnome/releases/download/v${MY_PV_NAUTILUS}/${PN}-gnome-${MY_PV_NAUTILUS}.tar.xz )
+ nemo? ( https://github.com/dave-theunsub/nemo-sendto-${PN}/releases/download/v${MY_PV_NEMO}/nemo-sendto-${PN}-${MY_PV_NEMO}.tar.xz )
+ thunar? ( https://github.com/dave-theunsub/thunar-sendto-${PN}/releases/download/v${MY_PV_THUNAR}/thunar-sendto-${PN}-${MY_PV_THUNAR}.tar.xz )
+"
+
+LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde nautilus nemo +nls thunar"
+REQUIRED_USE="nautilus? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ app-antivirus/clamav
+ dev-perl/File-chdir
+ dev-perl/Gtk3
+ dev-perl/JSON
+ dev-perl/LWP-Protocol-https
+ dev-perl/LWP-UserAgent-Cached
+ dev-perl/Locale-gettext
+ dev-perl/Text-CSV
+ dev-perl/glib-perl
+ dev-perl/libwww-perl
+ virtual/perl-Digest-MD5
+ virtual/perl-Digest-SHA
+ virtual/perl-Encode
+ virtual/perl-MIME-Base64
+ virtual/perl-Time-Piece
+ nautilus? (
+ ${PYTHON_DEPS}
+ dev-python/nautilus-python[${PYTHON_SINGLE_USEDEP}]
+ )
+"
+
+BDEPEND="nls? ( sys-devel/gettext )"
+
+DOCS=( "CHANGES" "credits.md" "DISCLAIMER" "README.md" )
+
+pkg_setup() {
+ use nautilus && python-single-r1_pkg_setup
+}
+
+src_unpack() {
+ default
+
+ unpack "${S}"/clamtk.1.gz
+
+ use kde && unpack "${S}"/../clamtk-kde-${MY_PV_KDE}/clamtk-kde.1.gz
+ use nautilus && unpack "${S}"/../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.1.gz
+ use nemo && unpack "${S}"/../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.1.gz
+ use thunar && unpack "${S}"/../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.1.gz
+}
+
+src_install() {
+ dobin clamtk
+
+ perl_set_version
+ insinto "${VENDOR_LIB}"/ClamTk
+ doins lib/*.pm
+
+ use nls && domo po/*.mo
+
+ doicon images/clamtk.png images/clamtk.xpm
+
+ domenu clamtk.desktop
+
+ doman ../clamtk.1
+
+ if use kde; then
+ insinto /usr/share/kservices5/ServiceMenus
+ doins ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.desktop
+
+ doicon ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.png ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.xpm
+
+ doman ../clamtk-kde.1
+
+ docinto dolphin
+ dodoc ../clamtk-kde-${MY_PV_KDE}/CHANGES ../clamtk-kde-${MY_PV_KDE}/README.md
+ fi
+
+ if use nautilus; then
+ insinto /usr/share/nautilus-python/extensions
+ doins ../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.py
+
+ doicon ../clamtk-gnome-${MY_PV_NAUTILUS}/images/clamtk-gnome.png
+
+ doman ../clamtk-gnome.1
+
+ docinto nautilus
+ dodoc ../clamtk-gnome-${MY_PV_NAUTILUS}/CHANGES ../clamtk-gnome-${MY_PV_NAUTILUS}/DISCLAIMER ../clamtk-gnome-${MY_PV_NAUTILUS}/README.md
+ fi
+
+ if use nemo; then
+ insinto /usr/share/nemo/actions/
+ doins ../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.nemo_action
+
+ doman ../nemo-sendto-clamtk.1
+
+ docinto nemo
+ dodoc ../nemo-sendto-clamtk-${MY_PV_NEMO}/CHANGES ../nemo-sendto-clamtk-${MY_PV_NEMO}/DISCLAIMER ../nemo-sendto-clamtk-${MY_PV_NEMO}/README.md
+ fi
+
+ if use thunar; then
+ insinto /usr/share/Thunar/sendto
+ doins ../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.desktop
+
+ doman ../thunar-sendto-clamtk.1
+
+ docinto thunar
+ dodoc ../thunar-sendto-clamtk-${MY_PV_THUNAR}/CHANGES ../thunar-sendto-clamtk-${MY_PV_THUNAR}/DISCLAIMER ../thunar-sendto-clamtk-${MY_PV_THUNAR}/README.md
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
diff --git a/app-antivirus/clamtk/metadata.xml b/app-antivirus/clamtk/metadata.xml
index 1834f6430c86..e13c4efd625e 100644
--- a/app-antivirus/clamtk/metadata.xml
+++ b/app-antivirus/clamtk/metadata.xml
@@ -18,6 +18,7 @@
</use>
<upstream>
<bugs-to>https://gitlab.com/dave_m/clamtk/issues</bugs-to>
+ <remote-id type="github">dave-theunsub/clamtk</remote-id>
<remote-id type="gitlab">dave_m/clamtk</remote-id>
</upstream>
</pkgmetadata>