diff options
Diffstat (limited to 'app-antivirus/clamtk/clamtk-6.10.ebuild')
-rw-r--r-- | app-antivirus/clamtk/clamtk-6.10.ebuild | 142 |
1 files changed, 0 insertions, 142 deletions
diff --git a/app-antivirus/clamtk/clamtk-6.10.ebuild b/app-antivirus/clamtk/clamtk-6.10.ebuild deleted file mode 100644 index a03f211ef68b..000000000000 --- a/app-antivirus/clamtk/clamtk-6.10.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -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 -} |