public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamtk/
Date: Thu,  8 Feb 2024 21:51:53 +0000 (UTC)	[thread overview]
Message-ID: <1707429017.ddeaa16b2025d71133661b11e13306cc2caceb4c.conikost@gentoo> (raw)

commit:     ddeaa16b2025d71133661b11e13306cc2caceb4c
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  8 18:59:38 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Feb  8 21:50:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddeaa16b

app-antivirus/clamtk: add 6.18

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-antivirus/clamtk/Manifest           |   1 +
 app-antivirus/clamtk/clamtk-6.18.ebuild | 151 ++++++++++++++++++++++++++++++++
 2 files changed, 152 insertions(+)

diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest
index 5f3374d0d772..93cefdb2218c 100644
--- a/app-antivirus/clamtk/Manifest
+++ b/app-antivirus/clamtk/Manifest
@@ -1,4 +1,5 @@
 DIST clamtk-6.17.tar.xz 288544 BLAKE2B 56dce01a74e4d81e683c53dd5a040a342ec0ac3dd441f5b1bc7e288999e6ce1f104fd75e03babee4e0f6a8b487b56a1b588a614f405833813240607861875f00 SHA512 8dd03af9a390f19881dd3e94c2687bc2927b3a731cd6756c944ba2bf92d54cc2a78cb1f7befbb5cda9d0f258d7a457deaa1b05874a9e1194b43ae08abaef5397
+DIST clamtk-6.18.tar.xz 287692 BLAKE2B f33a0799550978859706b94f10e9125654cdbfa6384f4929f4a87cecc4a8524b65098d13a50215ca5155105200c09e0e6655b1f75f6ef7f72f1cb40214879472 SHA512 f126b61e2493473ecb4df1adbc0583a844b9abfd9e0c62e8f82a5b635b72690c91cc1a44f70aca46a7987edd63713ec2a67ac634241a33e5d993abe77026c323
 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

diff --git a/app-antivirus/clamtk/clamtk-6.18.ebuild b/app-antivirus/clamtk/clamtk-6.18.ebuild
new file mode 100644
index 000000000000..3c7547287d67
--- /dev/null
+++ b/app-antivirus/clamtk/clamtk-6.18.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2024 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.md" "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
+}


             reply	other threads:[~2024-02-08 21:51 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-08 21:51 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 23:12 [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamtk/ Andreas K. Hüttel
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-03-09 17:41 Conrad Kostecki
2024-01-23 20:11 Conrad Kostecki
2024-01-23 20:11 Conrad Kostecki
2024-01-23 20:11 Conrad Kostecki
2023-12-23 21:51 Conrad Kostecki
2023-08-05 22:41 Conrad Kostecki
2023-07-12 18:45 Conrad Kostecki
2023-07-12 18:45 Conrad Kostecki
2023-07-12 18:45 Conrad Kostecki
2023-06-08 20:04 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-04-23 12:24 Conrad Kostecki
2023-04-22 23:53 Conrad Kostecki
2022-11-03 22:37 Conrad Kostecki
2021-12-23 19:19 Conrad Kostecki
2021-12-23 19:19 Conrad Kostecki
2021-12-23 19:19 Conrad Kostecki
2021-11-21 16:42 Conrad Kostecki
2021-08-08 20:36 Conrad Kostecki
2021-08-08 20:36 Conrad Kostecki
2021-08-08 20:36 Conrad Kostecki
2021-07-09 15:38 Conrad Kostecki
2021-07-09 15:38 Conrad Kostecki
2021-07-07 19:49 Conrad Kostecki
2021-07-01 21:15 Conrad Kostecki
2021-05-12 19:14 Conrad Kostecki
2021-05-12 19:14 Conrad Kostecki
2021-05-12 19:14 Conrad Kostecki
2021-04-10 22:57 Conrad Kostecki
2021-04-10 22:57 Conrad Kostecki
2021-03-15 20:34 Conrad Kostecki
2021-03-15 20:34 Conrad Kostecki
2021-03-04 20:51 Conrad Kostecki
2021-03-04 20:51 Conrad Kostecki
2021-02-20 18:56 Conrad Kostecki
2021-02-20 18:56 Conrad Kostecki
2021-02-07 17:07 Conrad Kostecki
2020-11-08 15:18 Conrad Kostecki
2020-11-08 13:09 Sam James
2020-10-25 23:42 Thomas Deutschmann
2020-09-24 20:40 Conrad Kostecki
2020-09-18  9:20 Conrad Kostecki
2020-08-27 15:58 Conrad Kostecki
2020-08-09 15:53 Conrad Kostecki
2020-08-05 19:48 Conrad Kostecki
2020-08-05 14:17 Agostino Sarubbo
2020-08-05 13:53 Agostino Sarubbo
2020-06-19 23:28 Conrad Kostecki
2020-06-04  6:23 Agostino Sarubbo
2020-05-02 16:13 Conrad Kostecki
2020-02-07 11:12 Michał Górny
2019-12-13 22:23 Conrad Kostecki
2019-12-13  7:36 Agostino Sarubbo
2019-12-12 10:37 Agostino Sarubbo
2019-10-04  5:39 Joonas Niilola
2019-10-03  6:21 Michał Górny
2019-10-02 19:08 Agostino Sarubbo
2019-10-02 18:53 Agostino Sarubbo
2019-07-21  9:01 Michał Górny
2019-05-30 14:32 Michał Górny
2019-04-10  3:58 Aaron Bauman
2018-09-19  4:38 Georgy Yakovlev
2018-09-19  4:38 Georgy Yakovlev
2018-06-24 20:09 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1707429017.ddeaa16b2025d71133661b11e13306cc2caceb4c.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox