diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /app-antivirus | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/Manifest.gz | bin | 891 -> 893 bytes | |||
-rw-r--r-- | app-antivirus/clamav-unofficial-sigs/Manifest | 2 | ||||
-rw-r--r-- | app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild | 89 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 2 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.101.0.ebuild | 2 | ||||
-rw-r--r-- | app-antivirus/clamtk/Manifest | 3 | ||||
-rw-r--r-- | app-antivirus/clamtk/clamtk-6.00.ebuild | 157 | ||||
-rw-r--r-- | app-antivirus/clamtk/files/clamtk-6.00-change_icon_path.patch | 15 |
8 files changed, 177 insertions, 93 deletions
diff --git a/app-antivirus/Manifest.gz b/app-antivirus/Manifest.gz Binary files differindex 8b24848368a2..11c46f4c9111 100644 --- a/app-antivirus/Manifest.gz +++ b/app-antivirus/Manifest.gz diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest index 6dc5505a440c..12ee345e8ba5 100644 --- a/app-antivirus/clamav-unofficial-sigs/Manifest +++ b/app-antivirus/clamav-unofficial-sigs/Manifest @@ -1,7 +1,5 @@ AUX clamav-unofficial-sigs.8 4568 BLAKE2B 3bb0a56c11d733d0727c38588fb1b9b38b679e32cf9ac0b2c277f623e3a3508df2aa0ac65497fa0026d43a629ec69a0cad386ca57b9cb8178b30b3061fc2abf1 SHA512 8e688281c6918ea8c13f5d76c63fee65b6e3378ca1d2e92033a741b7f02d12607d838484075e0d3ae8d99680a5b235acee062fc80c63f7e5577cfee575b56573 AUX clamav-unofficial-sigs.logrotate 109 BLAKE2B 662b268f5332f088670fb762dd5162c0fccba68ca3fad5d089f2330057f1d52c35785924e56a8174c3d9c2d7d6c9232f3d41adb83c2cd88c55d096b764781ed8 SHA512 3d79caf1bbc29218aacda9c6c411b6b9e827644c3a89a3a1b9e0d89baeb7927cdbda3322c9b5a5186e53f0efa598e165d10cfa698936a687bd6279f6e3866830 -DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 BLAKE2B 2f00e9adf5f54e2b38c602da56a2daeb70618123ab4e59a74804885252f3cad2c23f7b9b10f4ec664c6977bca849947b83d0fc69f76669dbae58ebff54c6755b SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4 DIST clamav-unofficial-sigs-5.6.2.tar.gz 50931 BLAKE2B 6fea42f8f76ae5344c2b96c9203d2b09e755573d03f2b9d3d9ee2a488150fbb6f598e052b730daf12c551920a71fd8daad1dc10002fca12fa4a74554cf7d445e SHA512 79978db065a22d778490d0a2673f5a0bb7ab73e42de64563e7d26ac23459f7e5b2e73b0548e1ea6483e3c5f43eed65cdbc6814037cc0c46a339366a0150e5427 -EBUILD clamav-unofficial-sigs-3.7.2.ebuild 2808 BLAKE2B 859a3ee7a7d3486b7923460ad06b858b9af4fd5d86ef9b143c72b7326748ef5cad341acc322919e31a65833f4152240ae1aac285fa300d66a8ce4ce911dfe91a SHA512 2174641a412029828d0746c89c5b98074a74da636cd1de3e8f9a589708917b684a1a73625a2e9ebb064297a62cbb8572c62f2ca55eb568b4e5c0b9ff7d995a34 EBUILD clamav-unofficial-sigs-5.6.2.ebuild 1787 BLAKE2B f8bc585f65cc59767549bbe9c3b85cb9608a6b26e10ae1611c838058bbd8fd91fda37772ba5ec18f99db32291335d993459981a9912bd7fb9580b28d70c05c27 SHA512 9c1b49ee6b750527240d24256ee9c146251b68c26fd8fc25ff4990342cc41be4072ad25e643e90c2363a8331a05067377db47ac938f461b7b2b66a60d3ac6685 MISC metadata.xml 383 BLAKE2B 3640860216d88ba2817e3c23aea1bd8a6269319ee2f3efeeb384503e60f08d672d1fdbfb5add18b36027b54fd73e75b6a71c00cb97d88049c1c5935be93df2ef SHA512 05f6d2f4047ee61b977dc999baae20c7b607bd22182c23a1a9435c1e9a3e5c5a13189cc9976a01d4dc4f82024d907804e8263c4cbbfa1f8c994ea30a1e74addc diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild deleted file mode 100644 index 6eddf2b6683e..000000000000 --- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -DESCRIPTION="Downloads and installs third-party clamav signatures" -HOMEPAGE="https://sourceforge.net/projects/unofficial-sigs" -SRC_URI="mirror://sourceforge/unofficial-sigs/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -# We need its user/group. -DEPEND="app-antivirus/clamav" - -# The script relies on either net-misc/socat, or Perl's -# IO::Socket::UNIX. We already depend on Perl, and Gentoo's Perl ships -# with IO::Socket::UNIX, so we can leave out net-misc/socat here. -RDEPEND="${DEPEND} - app-crypt/gnupg - dev-lang/perl - net-dns/bind-tools - net-misc/curl" - -src_prepare() { - # First, fix the paths contained in the configuration file. Eventually - # these should be moved under /run, but for now we keep them sync'ed - # with the default clamd.conf. - local pid_default="/var/run/clamd.pid" - local pid_gentoo="/var/run/clamav/clamd.pid" - - # clamd listens on a local socket by default. The clamd_socket - # setting needs to be uncommented in the configuration file for it - # to take effect. - local socket_default="#clamd_socket=\"/var/run/clamd.socket\"" - local socket_gentoo="clamd_socket=\"/var/run/clamav/clamd.sock\"" - - sed -i -e '$a\pkg_mgr="emerge"' \ - -e "\$a\\pkg_rm=\"emerge -C ${PN}\"" \ - -e "s~${socket_default}~${socket_gentoo}~" \ - -e "s~${pid_default}~${pid_gentoo}~" \ - "${PN}.conf" \ - || die "failed to update paths in the ${PN}.conf file" - - # Now, change the script's working directory to point to - # /var/lib/${PN}. We'll need to make this writable by the clamav - # user during src_install. - sed -i -e "s~/usr/unofficial-dbs~/var/lib/${PN}~" "${PN}.conf" \ - || die "failed to update the work_dir variable in ${PN}.conf" - - # Tell the script that it's been configured. - local cfged_default='user_configuration_complete="no"' - local cfged_gentoo='user_configuration_complete="yes"' - sed -i "s/${cfged_default}/${cfged_gentoo}/" "${PN}.conf" \ - || die "failed to set user configuration completed in ${PN}.conf" -} - -src_install() { - dosbin "${PN}.sh" - - # We set the script's working directory to /var/lib/${PN} in - # src_compile, so make sure that the permissions are set correctly - # here. By default, it runs as clamav/clamav. - diropts -m 0755 -o clamav -g clamav - dodir "/var/lib/${PN}" - - insinto /etc/logrotate.d - doins "${PN}-logrotate" - - insinto /etc - doins "${PN}.conf" - - doman "${PN}.8" - dodoc CHANGELOG INSTALL README -} - -pkg_postinst() { - elog '' - elog "You will need to select databases in /etc/${PN}.conf." - elog "For details, please see the ${PN}(8) manual page." - elog '' - elog 'An up-to-date description of the available Sanesecurity' - elog 'databases is available at,' - elog '' - elog ' http://sanesecurity.com/usage/signatures/' - elog '' -} diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index c0c5012f9db4..7401000fb148 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -22,7 +22,7 @@ EBUILD clamav-0.100.0.ebuild 5258 BLAKE2B 79c3b2fa7d2acd9288785ecec5761132bd3b1f EBUILD clamav-0.100.1-r1.ebuild 5337 BLAKE2B 16b5beb72422f5399c76f96d6a0b5427d21e91929615818950769227296939016924692f89cf32ea9bd799a21a589dad2a2d3a68197d42a2b1fb80f59ce77b41 SHA512 ae405b7ecae1293f242ef120cb90476f698c07588c17b663f94cd10366eb23314a5b7a47c6fb912abf06d5da511bda8b218715a2aa223a9555c5d7d6651401e7 EBUILD clamav-0.100.1.ebuild 5263 BLAKE2B 48e800ac532b6d6f42d6e1d5766d4cb9fa33e3c9452fc5b5df0e72a5287c7124aefaaad0164b8863f85a58461aab0a3222bd5983731c828a8e3f2b73eb2ce990 SHA512 51c138ff3680b89770830f891fec9ae3bb69a169501cd550d23b8d954eb0d4a7273ddc671dac789544637a3a6c785a54572ad8922d6c9598a4f69b6479c72315 EBUILD clamav-0.100.2.ebuild 5517 BLAKE2B 9de363bf86a77e276d2c150079354a49f7b184e4782279920af51adccbf64b44d310c4fb1396c084472a54df2149fe3d2c480ca512f628e1175225bf3025793b SHA512 d765955e0787f037710597de836ccea9f19b3987bd8cb308d007fbb0b2500101225852d81c01ed43a98eb1e17ca759fdde85fa32b93b5e3bd72ce137052d3875 -EBUILD clamav-0.101.0.ebuild 5494 BLAKE2B d0746cb7029f7be1d0fbe3e1b3b7b370177594f6ef8e22ba15092c6e42a68e0ec876b5c9109de43ff9fed940205e8ce1ef25d7526a265b355f78681d369892d8 SHA512 28ea470e81f65c4a7fcdd0e3f943121cb5b6bb8c82bcfe2cd6305cd266541c70948d411e17df7bd92a06ee1f53ac1e54702fd2f230e371c5f4028ce0e7559e7d +EBUILD clamav-0.101.0.ebuild 5491 BLAKE2B 12f2560645cfe618c67f3fb37679a821f8cbee23ec444d531891c5abd5a3abff2ec7e532bf6c32c353284604a53722d74501fe79ba4474cdc2c3ba73e0663faa SHA512 22e2e350450ffa512777d676f2dd88e19a32a56da363487488ba1f04e34c15f996dae2204b392db78fbeeaec58ea5c67839d15691f88fb6d0e06b272a1eeb802 EBUILD clamav-0.101.1.ebuild 5498 BLAKE2B 8f410d5caf1f6caa3c2bab34d8dc09abb6dc134e386ade36776b7680feea489c07bb1efa98bf4b5f3eed17178587c19c590777e557e35a01d2f06fb9e337e144 SHA512 b36238c4e6875952ec7dbd87cced6ed448e8317aff438e3a054e5a0fb4733cb69951553a2f54930ba4cf8025be3fdfbf096ee5109b38c8d23d854464158a8618 EBUILD clamav-0.99.4-r1.ebuild 5117 BLAKE2B 1af1ba195eec3e7c9154386101719e08d7e0f2a28f74871374195b9619cdd99b5306d203eec88fe1041f5f024ec9baadfd02ed1f269dcf806dd6b3341ac1fd59 SHA512 f211a3bcb516f86a2d2143aea40e61e0c4e54064dfd7e37f1130ae38323efbd70c4d93eec321669ec7274b1eaadd2acf16dc9ad41bb290b4a1136b16e505dd8e EBUILD clamav-0.99.4-r2.ebuild 5117 BLAKE2B 1af1ba195eec3e7c9154386101719e08d7e0f2a28f74871374195b9619cdd99b5306d203eec88fe1041f5f024ec9baadfd02ed1f269dcf806dd6b3341ac1fd59 SHA512 f211a3bcb516f86a2d2143aea40e61e0c4e54064dfd7e37f1130ae38323efbd70c4d93eec321669ec7274b1eaadd2acf16dc9ad41bb290b4a1136b16e505dd8e diff --git a/app-antivirus/clamav/clamav-0.101.0.ebuild b/app-antivirus/clamav/clamav-0.101.0.ebuild index 171b056c98ae..ac3093278723 100644 --- a/app-antivirus/clamav/clamav-0.101.0.ebuild +++ b/app-antivirus/clamav/clamav-0.101.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" IUSE="bzip2 doc clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs test uclibc xml" CDEPEND="bzip2? ( app-arch/bzip2 ) diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest index 965a818e2cb2..e462ac5fe8f9 100644 --- a/app-antivirus/clamtk/Manifest +++ b/app-antivirus/clamtk/Manifest @@ -1,8 +1,11 @@ AUX change_icon_path.patch 772 BLAKE2B f4773e967f7f87547509bdb34d9e8624453eacecebd37b9b8d4bf44c80698a79e76994bd3750eba189ccf8403958c4b93bdc9f02bba5c5101ac62158674f40f7 SHA512 79b0eb27f0abc972395634f9d40198fa70e49e05eec5c3c2c315e13d769e55f7f2ebb4d206eb7f1735654b1582b1fc8aef649acc68de1b76fba989cb7c2f89b9 +AUX clamtk-6.00-change_icon_path.patch 786 BLAKE2B 05a5e30bf33e4d13134d08277bac3011559c86d6a14d681dbf4217d62addb23345ded4e6e9c30bba1a5175a9a185150b1cf8d7d2773d49a33c6ef5117ab1647c SHA512 29871b25a948d182a613b5d12d60fc34e48ca473edae27763b51cc1403b7dbda56b4bfcf91bdfd04f0165f893010be8f0bf9975f74b8465239c7833cfd861932 DIST clamtk-5.26.tar.xz 243748 BLAKE2B 42845cdd0f9e7387b2b69c5844ba26306ba1b0e64f70c16bcb7a830ba17c35dd681e48f9b386f6fbbc5c4a8da1ac9383cdddda7ef19376ac7955405fd9234b3e SHA512 791228a678a0b3bd57ef6effc959bec0c78151f56715d85ca8fafc139ab649d417762db1f567e9fc28d10475138ba90012a9fe9b49840a7658039f9d42e7bcf5 +DIST clamtk-6.00.tar.xz 227592 BLAKE2B b1fe3afc1fed5d96fea9fad4dfd065fc794cdcac3bbb49e04afa78548c37d6817c2c7638f46cd045bb1447d71ec619026e8d5226674951045914d5df28c3166a SHA512 5b8434532142f340caf5b16f95da0f5d0f3910c3c834ef963c1c8a9d7c1d032555c38fcb3f6195ad5f6cacde796824b68432bc1d16460a34976f0608eee47fdc DIST clamtk-gnome-0.02.tar.xz 14888 BLAKE2B 2137e7bc53f557cdb2f03afe3b6cb3b1185bb12c6b646f2bdb74c69bc3d6b59b23895d36583225f6a536d91237ffd84d307e7b52f16336a88311a60b84b2cbcd SHA512 f4a33d31ecf914f016fd029a7e9b9c903ba39bb139ed21f15786445d2394ace36ff08396baf68130d4bc3081847c34efda31ad3f727b9f5c479da4392750940f 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-5.26.ebuild 4426 BLAKE2B 04b372726a7b5a43807832d7164928d928c7f75cd3f10d1740de6d2960885a4119d6bb37360f389f475c564bbbcd05499d7e4b324df80c027772a1cd68c0ad55 SHA512 1aa30856d2c2a845113fb5e22fdcf470fb03a874aed6f22316844c88b300c54dec804dc364d632872a72a10a8f3461a78f0a675439748a97a6b54e3e6fed05d9 +EBUILD clamtk-6.00.ebuild 3932 BLAKE2B e742c5c7045faf112d3531bc77ce02ad128bd3d8fc8d0a1cac6294d151cf124be70deb57e546508427e6398e127c692832cfc2c86ab0c795a1ff35d022c986e1 SHA512 5c2843dcf9424458f32341ad707a6751618e8645f89c1747a997aba6ca92ece9db2832d3c91419a231b66559bd711937dc68a34244dddcd33e92d28db838214f MISC metadata.xml 942 BLAKE2B 537f7480903f2c4d4d315e0a7becf14be2f4f7cd2280f1918877f738cac8e71b58d65fa702f4a9979f44f2cb81e61dd44e7f9ba8197472095d6c7071a1bc0be6 SHA512 9bd9e7e9560a7358ed5935949a913628f50b885509f065419060d2cb6dbe605723d98930027908c1faf64f368289cac3c86e9d75a91838912036912ed60022a4 diff --git a/app-antivirus/clamtk/clamtk-6.00.ebuild b/app-antivirus/clamtk/clamtk-6.00.ebuild new file mode 100644 index 000000000000..e9a228575eb4 --- /dev/null +++ b/app-antivirus/clamtk/clamtk-6.00.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit desktop perl-functions python-single-r1 xdg-utils + +MY_PV_KDE="0.18" +MY_PV_NAUTILUS="0.02" +MY_PV_NEMO="0.04" +MY_PV_THUNAR="0.06" + +DESCRIPTION="A graphical front-end for ClamAV" +HOMEPAGE="https://dave-theunsub.github.io/clamtk/" +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? ( dev-python/nautilus-python[${PYTHON_USEDEP}] ) +" + +BDEPEND="nls? ( sys-devel/gettext )" + +DOCS=( "CHANGES" "credits.md" "DISCLAIMER" "README.md" ) + +PATCHES=( "$FILESDIR"/"${P}"-change_icon_path.patch ) + +pkg_setup() { + if use nautilus; then + python-single-r1_pkg_setup + fi +} + +src_unpack() { + default + + unpack "${S}"/clamtk.1.gz + + if use kde; then + unpack "${S}"/../clamtk-kde-${MY_PV_KDE}/clamtk-kde.1.gz + fi + + if use nautilus; then + unpack "${S}"/../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.1.gz + fi + + if use nemo; then + unpack "${S}"/../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.1.gz + fi + + if use thunar; then + unpack "${S}"/../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.1.gz + fi +} + +src_install() { + dobin clamtk + + perl_set_version + insinto "${VENDOR_LIB}"/ClamTk + doins lib/*.pm + + if use nls; then + domo po/*.mo + fi + + 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 new file mode 100644 index 000000000000..3b8018442d89 --- /dev/null +++ b/app-antivirus/clamtk/files/clamtk-6.00-change_icon_path.patch @@ -0,0 +1,15 @@ +--- 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( |