summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-antivirus/clamtk/Manifest1
-rw-r--r--app-antivirus/clamtk/clamtk-6.02-r1.ebuild145
-rw-r--r--app-antivirus/clamtk/files/clamtk-6.00-change_icon_path.patch15
3 files changed, 0 insertions, 161 deletions
diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest
index bdc1e5c84aec..f0634f1ae266 100644
--- a/app-antivirus/clamtk/Manifest
+++ b/app-antivirus/clamtk/Manifest
@@ -1,4 +1,3 @@
-DIST clamtk-6.02.tar.xz 227780 BLAKE2B cd5f05c5d5fe2fe7e6d52ab4619fe01f810195ca505ae85101e0cf743d9d20e42de74dfadfaecdc23cb97359121ea8ddc49772a96ec237921a7d6628ae453cc4 SHA512 df619da28ebadb218bb2f9ab2c9be1804f2df5e7e444762f2b1eb3ce0e830b07ebfd05b8cb9c7d79a9e3523c9837b00b52d0e06265c62d782487546f15b0349f
DIST clamtk-6.03.tar.xz 227940 BLAKE2B 08364ba8c3b4fcdb49364cd2721413c7f487aaff23dfa0fb0e7b28f9baf9d267589099cc159558dd004fe882d762b6ece272672aab962b4a666fb8c244671d19 SHA512 4e81b161b17ae15a307d026766efcab2ea0433437e68dd7e3465e07c999e66c556372adc29cee093a1cec5a8f37861d1b8cddd08ed6e4cfbd59f5333d4f03fac
DIST clamtk-gnome-0.03.tar.xz 15088 BLAKE2B cc1440de117eea036cf14a9ed36650916703299799c90548b02a5fee92c80f82c1d4f63e1cd726438e428e1ae3ee1550b4c8acbc22e97093131f993099c47c36 SHA512 c35a3ee34cbe5609f2ad22d0974a503bf6f24710c26d71d865c3ad3751a72fe909a9773c27cc53295c581f77d33e58d49fdd6f38f71177aa7ef1570e00ea55f2
DIST clamtk-kde-0.18.tar.xz 17732 BLAKE2B ca82934417f2d869fd8c8e36a31ef4a52cf4ee73581c5d1d400c1b28908c5ea2524a8f5d1110b1e949038378613fb4d5607d5123eebe91df695a53d0dd489302 SHA512 145ddd349010e0bb6fe3295e50d6e15a2dd96e604babbd5de4cb49ba75169d2050777cac38e40ac6a64cb89ddf94025d610aca73136c75f81115d0a2d863d24e
diff --git a/app-antivirus/clamtk/clamtk-6.02-r1.ebuild b/app-antivirus/clamtk/clamtk-6.02-r1.ebuild
deleted file mode 100644
index 435b69a7e783..000000000000
--- a/app-antivirus/clamtk/clamtk-6.02-r1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit desktop perl-functions python-single-r1 xdg-utils
-
-MY_PV_KDE="0.18"
-MY_PV_NAUTILUS="0.03"
-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://bitbucket.org/davem_/${PN}-gtk3/downloads/${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
- x11-themes/faenza-icon-theme
- nautilus? (
- ${PYTHON_DEPS}
- dev-python/nautilus-python[${PYTHON_SINGLE_USEDEP}]
- )
-"
-
-BDEPEND="nls? ( sys-devel/gettext )"
-
-DOCS=( "CHANGES" "credits.md" "DISCLAIMER" "README.md" )
-
-PATCHES=( "$FILESDIR"/"${PN}"-6.00-change_icon_path.patch )
-
-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
-}
diff --git a/app-antivirus/clamtk/files/clamtk-6.00-change_icon_path.patch b/app-antivirus/clamtk/files/clamtk-6.00-change_icon_path.patch
deleted file mode 100644
index 3b8018442d89..000000000000
--- a/app-antivirus/clamtk/files/clamtk-6.00-change_icon_path.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/lib/GUI.pm 2019-02-22 12:05:43.000000000 +0100
-+++ b/lib/GUI.pm 2019-03-08 21:27:39.000000000 +0100
-@@ -35,9 +35,9 @@
- # because it's missing an icon :|
- # https://aur.archlinux.org/packages/clamtk/
- my $theme = Gtk3::IconTheme::get_default;
-- $theme->append_search_path( '/usr/share/icons/gnome/24x24/actions' );
-- $theme->append_search_path( '/usr/share/icons/gnome/24x24/places' );
-- $theme->append_search_path( '/usr/share/icons/gnome/24x24/mimetypes' );
-+ $theme->append_search_path( '/usr/share/icons/Faenza/actions/24' );
-+ $theme->append_search_path( '/usr/share/icons/Faenza/places/24' );
-+ $theme->append_search_path( '/usr/share/icons/Faenza/mimetypes/24' );
-
- $window = Gtk3::Window->new( 'toplevel' );
- $window->signal_connect(