From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96ED9139345 for ; Wed, 7 Jul 2021 19:49:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEAAEE0D92; Wed, 7 Jul 2021 19:49:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF773E0D92 for ; Wed, 7 Jul 2021 19:49:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C9AC335D65 for ; Wed, 7 Jul 2021 19:49:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C802B7CB for ; Wed, 7 Jul 2021 19:49:48 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1625687247.58f6b051e1ef3eb02d88a1af465df8c4fabc57cd.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamtk/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-antivirus/clamtk/Manifest app-antivirus/clamtk/clamtk-6.12.ebuild X-VCS-Directories: app-antivirus/clamtk/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 58f6b051e1ef3eb02d88a1af465df8c4fabc57cd X-VCS-Branch: master Date: Wed, 7 Jul 2021 19:49:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60f9ab2b-e4a4-49f0-ad03-cdb382ae5241 X-Archives-Hash: 0036aee082a0d8eb76b1660c21acbe3f commit: 58f6b051e1ef3eb02d88a1af465df8c4fabc57cd Author: Conrad Kostecki gentoo org> AuthorDate: Wed Jul 7 19:43:47 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jul 7 19:47:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f6b051 app-antivirus/clamtk: bump to version 6.12 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> app-antivirus/clamtk/Manifest | 1 + app-antivirus/clamtk/clamtk-6.12.ebuild | 142 ++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest index c172a4ec134..9e50deebca3 100644 --- a/app-antivirus/clamtk/Manifest +++ b/app-antivirus/clamtk/Manifest @@ -1,4 +1,5 @@ DIST clamtk-6.11.tar.xz 286216 BLAKE2B 7ce995fbe12e215cfd22517e648a6d68dd7603c694c8b2fb4a25c6070fa07895f8aee1ae7e6dcc8ae0bc01fb7950a69019bd8cdaf3c01cd0e7754ad0341afb5c SHA512 6fb0512460ae8f9c4762beb012a2539b6eb157c513138e661e10d3a8f615b8b6c9b0876772defa705f0180bea0a8b97fe187c1114611fe75906f8dae108db11c +DIST clamtk-6.12.tar.xz 286320 BLAKE2B bd56a12529a1a0d5fb53b4e5ffd69cc38a1c09b12e03b27a414a88337c27e26a4cec87d29410df947f0e672ccacd8dc21b6142737dabb9c8dcd35b709767d01e SHA512 fb47ebd3ba8c658e3515075be0679ff69cdc91544c6f73d0351594467f82a92361720b204ec2f682d0923e047b83cf146c988531e18c3968ef16201f302af3f1 DIST clamtk-gnome-0.05.tar.xz 15148 BLAKE2B d72ad0c9b3272c1a21d3722994152e23aeb01bd79d006cbcd3545c2689887b4f596daeeef72a13d9cdd9cfc89c4091963b4a1917824bbb06be4678f2c446a114 SHA512 a5d3b0e87889880272aa61a0feebca8e885c7fa964bad767351c826188c236f2152b3c43328b6aa720c5942b2bf1da69916d3664358c274813a6ac032ee4dea0 DIST clamtk-kde-0.18.tar.xz 17732 BLAKE2B ca82934417f2d869fd8c8e36a31ef4a52cf4ee73581c5d1d400c1b28908c5ea2524a8f5d1110b1e949038378613fb4d5607d5123eebe91df695a53d0dd489302 SHA512 145ddd349010e0bb6fe3295e50d6e15a2dd96e604babbd5de4cb49ba75169d2050777cac38e40ac6a64cb89ddf94025d610aca73136c75f81115d0a2d863d24e DIST nemo-sendto-clamtk-0.04.tar.xz 4228 BLAKE2B ce656d4f021bc30cd12fb2ee5f98a78c1f1fdb2460ed2cbba0b572408617f91b39b2ca2fe542b9cec7be79b4b9fdfd685f5553e1a671454ca1e6723241dcb805 SHA512 2b5d3abbc4ae5dbc71b1b7bc836df88ad51e6afa00d5e954b5c1355a70c0420b6fef895e1cb5cccb86a662aee2039cef6c01821c1347fa155b5da3529b25562c diff --git a/app-antivirus/clamtk/clamtk-6.12.ebuild b/app-antivirus/clamtk/clamtk-6.12.ebuild new file mode 100644 index 00000000000..e94d7c54d66 --- /dev/null +++ b/app-antivirus/clamtk/clamtk-6.12.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit desktop perl-functions python-single-r1 xdg-utils + +MY_PV_KDE="0.18" +MY_PV_NAUTILUS="0.05" +MY_PV_NEMO="0.04" +MY_PV_THUNAR="0.06" + +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://bitbucket.org/davem_/${PN}-kde/downloads/${PN}-kde-${MY_PV_KDE}.tar.xz ) + nautilus? ( https://bitbucket.org/davem_/${PN}-gnome/downloads/${PN}-gnome-${MY_PV_NAUTILUS}.tar.xz ) + nemo? ( https://bitbucket.org/davem_/nemo-sendto-${PN}/downloads/nemo-sendto-${PN}-${MY_PV_NEMO}.tar.xz ) + thunar? ( https://bitbucket.org/davem_/thunar-sendto-${PN}/downloads/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 + fi + + einstalldocs +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +}