diff options
Diffstat (limited to 'app-antivirus/clamtk')
-rw-r--r-- | app-antivirus/clamtk/Manifest | 2 | ||||
-rw-r--r-- | app-antivirus/clamtk/clamtk-6.07.ebuild | 142 |
2 files changed, 144 insertions, 0 deletions
diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest index dfc6c990e236..304a27f15dcd 100644 --- a/app-antivirus/clamtk/Manifest +++ b/app-antivirus/clamtk/Manifest @@ -1,7 +1,9 @@ DIST clamtk-6.06.tar.xz 232024 BLAKE2B a9a7310410f685bb6cae24ae6cee45b31a524b88cf75c9346617614e5dba43f3942d39dd6d484d656906c3fbb2122ab3858ab017c0e79d5ed9271b2968b750d2 SHA512 ee4d09e0f3c703bef5a1b3e1bdc97d3d1d91998c98e82a2fb1e3326fa8fdff32d7bbef7d9e2bf2b6292fa1982b1efb3b5cdb4cdd7afb17f6ffd0e089d8b4539a +DIST clamtk-6.07.tar.xz 234112 BLAKE2B fc938bbf72af1ce0040c7211792e7effbd55ddfe1377364e0a0c8a8f456d50ad55888427ebed9d5558e65c6d9e122fdca70ef31860bd39fd698a76daeb48d409 SHA512 cb3c042f7b0b1f0b498f398d5074b5cdb3dbd1ae540a2a5009efc09eab8cfae83786ccafd3ebb846214cab6e82393a5aa3330ece717d8d4d0530f631f6036d5f 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 DIST thunar-sendto-clamtk-0.06.tar.xz 4416 BLAKE2B 6b9f8857fead9f175af0a5fd3585790c49865b07016ddbc0dfc21f761ecbac32d97a65731fdca0335fd4852af9efc93c06ecb994f769a5efeade35cb734e9924 SHA512 f3b6f296213ad5974f8134d682cce4e426d9730d1898e8f7ea474e27314ee47957b033bbd7f16196cabf054eccec844c05ff8c8f9a98ad013a7f89b899cee591 EBUILD clamtk-6.06.ebuild 3803 BLAKE2B 7d674a0e2d104b37823e70857ec9948e8de03a97f577aaa09baaf8b9a4066ac6acd884f42f512c0eeab0548d8b10ece39f611b5ddafa7e0dfee95094ed7f3d6f SHA512 254ac7f66ea2923d5882ebc84ebf070de75080f610b22b3887c490d3eaa1723bb60796bd49d312ee591573d6192cfd8e22ad4c6961f0f670b3be55d852aefa5e +EBUILD clamtk-6.07.ebuild 3805 BLAKE2B 56acde3d967d59ea2e176d18eb6c70ab50d571c914df8bf11764495facf24926fa712a95e0a4e7114c01aadf1871db57af6e4f3937d7d86597bd8021b3ef79ce SHA512 bc5f9437e23450ccb9c9e1d38ab1788a5815aed950362c32c4793a9aaef34c5263288736939ee005b17b9153e43a58acf28e8aed104ca26d568b0d9d7108bdb2 MISC metadata.xml 809 BLAKE2B 6c61c6d564fd120a1996f0620eb94af868a19a4a2178ebf694bda8f7a926b42848723911d2b45ed6a8199a969802d62e574422d22a76163fea2eb8d053553236 SHA512 984613fcdc7d6c2dd02475f3a9ca0f1e68e66c59961d9e43532722b5ac4c8022a4daff30742eec959da5317d4f3e10c2608538b50bad5b4d95af5ba7731f75b7 diff --git a/app-antivirus/clamtk/clamtk-6.07.ebuild b/app-antivirus/clamtk/clamtk-6.07.ebuild new file mode 100644 index 000000000000..6519a62f1c4b --- /dev/null +++ b/app-antivirus/clamtk/clamtk-6.07.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_{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://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 + 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 +} |