diff options
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/Manifest.gz | bin | 5027 -> 5029 bytes | |||
-rw-r--r-- | media-radio/flrig/Manifest | 6 | ||||
-rw-r--r-- | media-radio/flrig/flrig-1.3.54.ebuild | 23 | ||||
-rw-r--r-- | media-radio/flrig/flrig-1.4.0.ebuild | 23 | ||||
-rw-r--r-- | media-radio/flrig/flrig-1.4.1.ebuild | 23 | ||||
-rw-r--r-- | media-radio/tucnak/Manifest | 6 | ||||
-rw-r--r-- | media-radio/tucnak/tucnak-4.28.ebuild | 68 | ||||
-rw-r--r-- | media-radio/tucnak/tucnak-4.29.ebuild | 68 | ||||
-rw-r--r-- | media-radio/tucnak/tucnak-4.30.ebuild | 2 | ||||
-rw-r--r-- | media-radio/xlog/Manifest | 2 | ||||
-rw-r--r-- | media-radio/xlog/xlog-2.0.23.ebuild | 83 |
11 files changed, 87 insertions, 217 deletions
diff --git a/media-radio/Manifest.gz b/media-radio/Manifest.gz Binary files differindex 258e91aa1fa8..76c1602258fc 100644 --- a/media-radio/Manifest.gz +++ b/media-radio/Manifest.gz diff --git a/media-radio/flrig/Manifest b/media-radio/flrig/Manifest index a57357da7cef..ff34a9033c89 100644 --- a/media-radio/flrig/Manifest +++ b/media-radio/flrig/Manifest @@ -1,9 +1,3 @@ -DIST flrig-1.3.54.tar.gz 891644 BLAKE2B 9bb87c9a0960a3975cf27c67b0850c3d6ad3ac4efd41c5f49857fe9e3c1ea22c2db7e7fabfdaa1aeacb82ee3d712313681c5a0bf08cf790a6f63813d6de9a4e1 SHA512 0f143a2ba5afe766219133d76c398b0a8b3d61cd8313d50a18585f2b1454e4aa5802b9a4995b40e0dc4de3b1e58850f76fa9a5342ebe06be20ea1ace5c187eba -DIST flrig-1.4.0.tar.gz 885450 BLAKE2B 1ad18c07a4812168653969e7f00c8cf2a865caa7764fbbab755ceabf95e6ccabc133a1d1b607b9ee7db9be2d805e76850864f06de5e01762361aeec54bf3d681 SHA512 2d0ebbc51af784b423fe0bc658bacc99975660ea44e613922847d2acdc072c4b0e89eccd05adb88773364cd96a19e2daf3535aa5313690e999b047acbb472ec8 -DIST flrig-1.4.1.tar.gz 916690 BLAKE2B bd411693145e4b69a0fc07d4412ff1c76be1b1a3507176ecf7676581a931caa9b992d279d27afc32a3fa7441cbedce203805ad9cb3ffd0ea145cb6adb7296287 SHA512 d365ea6c260f97fc6a0fe78b49ed69991fbefb06b7e0f4788eac6b0f959c1a1c511596f5ba950ea7153de9dc6ce65f232de0ba0f960cd7b1f31381bfa5e7c90a DIST flrig-1.4.2.tar.gz 918730 BLAKE2B 85c2ac351e833b19dab0e36899df58665c86ac397035e8eabad29bb38018a0d2c822ca73b721f2db938a1f7cf2cd2b3a6878f605d5d65f01608563f3f4a0d89e SHA512 094f50a427cabc5c596a4315e7182ea4040218467f06fac456a0fe8923726f30cf3220379033024449066b4379a3877d48449971afe3f4b46b4307f9a64c3ff8 -EBUILD flrig-1.3.54.ebuild 494 BLAKE2B 18a4362c3b53317561478c01954baffbe8b446143cc28d699a8b07c407ccba3b588052d9fd153e024e9605dc310716fe18c882d5a227537bcbf1150d7c2bea99 SHA512 186692d333262ddcd7454760618d5e075464cf43b7769d38804a38419fe7dc120befa0c687cccb19e3a3fdf732338d3c17a04c5edc36b0c3b51a71af90875e18 -EBUILD flrig-1.4.0.ebuild 496 BLAKE2B 4064896c9153034ae69222521400e4d86cf5569e05470b9676ffd235583ec22700c2a8c9649e749e311fec52fd1a3070b4eb2b8c1c6a536e1d475c69cdaac297 SHA512 a12f538adb54c474e5acb4cfeefd19f432e586aea2be9b8ffb5d2a1b271da98df1c30337d517a8197e7334141ee5a6e295485b31af1d58993d5510b757bda068 -EBUILD flrig-1.4.1.ebuild 496 BLAKE2B 4064896c9153034ae69222521400e4d86cf5569e05470b9676ffd235583ec22700c2a8c9649e749e311fec52fd1a3070b4eb2b8c1c6a536e1d475c69cdaac297 SHA512 a12f538adb54c474e5acb4cfeefd19f432e586aea2be9b8ffb5d2a1b271da98df1c30337d517a8197e7334141ee5a6e295485b31af1d58993d5510b757bda068 EBUILD flrig-1.4.2.ebuild 494 BLAKE2B 36486ca125bd2701b4679178896a1b9455a1e8486e13a331df9118fc96c8e3655c92651f3e766b625919a5c0edb7a33183a54abd1ed26375930d25470dd9dff0 SHA512 aa6b14cb3c8fedfb8472fc5cee20d5e5cac1d81abb0dc740ab25e16d73ddd23c75e7d551434404a68635ec9d780807fc251765d4681c1f2507615916756c9277 MISC metadata.xml 326 BLAKE2B fb57e943fa61222b3967939ff95da7bb17aae2651e55d960a9c405e6d5965843ed0ec9e6fadd0df1f41602c0f3c90c78c6ca2ab12ea72b515484f7c2ec34ec68 SHA512 e48dc185e9eaa074ed92d1ed27920e41b72760cd3e878fd40583efdca0a6997598a7d82221a33c7987fb19dea090f92eee070b9e89ea452ddce028d88db7bf9c diff --git a/media-radio/flrig/flrig-1.3.54.ebuild b/media-radio/flrig/flrig-1.3.54.ebuild deleted file mode 100644 index 6935ddd0e9e6..000000000000 --- a/media-radio/flrig/flrig-1.3.54.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools - -DESCRIPTION="Transceiver control program for Amateur Radio use" -HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="nls" - -DOCS=(AUTHORS ChangeLog README) - -RDEPEND="x11-libs/libX11 - x11-libs/fltk:1 - x11-misc/xdg-utils" - -DEPEND="${RDEPEND} - sys-devel/gettext" diff --git a/media-radio/flrig/flrig-1.4.0.ebuild b/media-radio/flrig/flrig-1.4.0.ebuild deleted file mode 100644 index 955cc391d619..000000000000 --- a/media-radio/flrig/flrig-1.4.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools - -DESCRIPTION="Transceiver control program for Amateur Radio use" -HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nls" - -DOCS=(AUTHORS ChangeLog README) - -RDEPEND="x11-libs/libX11 - x11-libs/fltk:1 - x11-misc/xdg-utils" - -DEPEND="${RDEPEND} - sys-devel/gettext" diff --git a/media-radio/flrig/flrig-1.4.1.ebuild b/media-radio/flrig/flrig-1.4.1.ebuild deleted file mode 100644 index 955cc391d619..000000000000 --- a/media-radio/flrig/flrig-1.4.1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools - -DESCRIPTION="Transceiver control program for Amateur Radio use" -HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nls" - -DOCS=(AUTHORS ChangeLog README) - -RDEPEND="x11-libs/libX11 - x11-libs/fltk:1 - x11-misc/xdg-utils" - -DEPEND="${RDEPEND} - sys-devel/gettext" diff --git a/media-radio/tucnak/Manifest b/media-radio/tucnak/Manifest index fd82555f4f45..749a6ca18f61 100644 --- a/media-radio/tucnak/Manifest +++ b/media-radio/tucnak/Manifest @@ -1,7 +1,3 @@ -DIST tucnak-4.28.tar.gz 3592213 BLAKE2B 24a6a381367b823e24584541c56b4d34bfeab883cf6e488a42f20fe0f05d79432017f82c10702bd97cdb9a2454129410bfc3a894803ea3aaea8dad11029c702e SHA512 c5186ba331a0127d14f637548c738482ee3050749135404dd93d636c392e1e3b5032b1c92941b22548095d3b3131cc0768f71061feed532c40c8ff1e8a06cea7 -DIST tucnak-4.29.tar.gz 3593562 BLAKE2B 8469485e8262bf6fe83b22e8a3049bdfa519d8d9d8bfadb5be7068352ce8b6bf35cd4fb070fc9d337b06ca8d241645d9f8b978ce71263b89ea60a855567c7de7 SHA512 b938a62b5691e886903e0f876b4f2a387b1f3311cd179112202cfce12684bebeed9090ae9fcfafbab859162b6c992fa33481a2e9462b5b50dd59e2f9e10f1000 DIST tucnak-4.30.tar.gz 3594691 BLAKE2B 41ea3469ebd7ab4a50805c2806289c78ec4fe2ab28b3fea0301e486c9b9232a86b3c93ed26dc1ffc3dc531b69acb847f5cfe66b48ea2579d702d0a5427387d79 SHA512 dd840295c69c2a42ab2ac803444684e06bbf4f47623f9200832f2600bf4540817e2e375ffd1e1dcb6bb57743991396eea7f99a79182397d22dcb78adcf98f500 -EBUILD tucnak-4.28.ebuild 1968 BLAKE2B 33060a1288edd2bc2f564f58bd541419a43404b0206fb8d62738002f49d01e6a206ab17f986c90326b194876bab55e8e4b477afe48f4c5046e19c3451b846a88 SHA512 8912dc644b499c39dc65c8fa502793f40b498a23a9bade6d0399e2a961304ced5e51342bc0581d13ac123cf247747d083757508bfb5f1501d98a9f1127bb76ef -EBUILD tucnak-4.29.ebuild 1970 BLAKE2B d218d6fa3a2447f0983f076d9ad7a46a77374d1a2429c22b2fb2f2594d6b8a422906a29ae9e34ed50eb10caf54b76f9c8446b15c6ed2ed67cce977b7c2f8c0b5 SHA512 4c78b7d2a222360f8cb8d40de6c4c4357b9d871a82068ce7b3d097871757e197d94dccaead83fc99b1d47cfe3e58e192f4c9fde81dbc66c88e16ef780c576b6b -EBUILD tucnak-4.30.ebuild 1969 BLAKE2B 90669ac9d023d134c569a8af9d18b402956b581c4e6945cfc63267bfa2ec352c300375f0e5fe2d43e9b3adc67119aec68bba3cff11c7046a7f046ea20d6561fb SHA512 2f062c4a1074d714adc1921ad0b38f4fe157c3d2fb1043a6553cff07ec67860a9c98c46d802f64d729b9cbc874b7f4f1e249b973ca94196ec6dfb75da6ae8917 +EBUILD tucnak-4.30.ebuild 1968 BLAKE2B 33060a1288edd2bc2f564f58bd541419a43404b0206fb8d62738002f49d01e6a206ab17f986c90326b194876bab55e8e4b477afe48f4c5046e19c3451b846a88 SHA512 8912dc644b499c39dc65c8fa502793f40b498a23a9bade6d0399e2a961304ced5e51342bc0581d13ac123cf247747d083757508bfb5f1501d98a9f1127bb76ef MISC metadata.xml 409 BLAKE2B 8179722b95bb5d639bbf3755eac5ec6d3a2492d117a9af0edd5aba1910974f7ca99c35bf759f9c44a6ee59d18a4b7088c1f009abf0dbdfbafd04f6c3a6875b3a SHA512 e07f3bbf055dfafb6d6fb2596fe20bdb0aaccb8960fc5d1ad5ea372a51baafb75458571729f99afc1086fcc596aa35cd22aafbc9af4d422dba2aba1243c93422 diff --git a/media-radio/tucnak/tucnak-4.28.ebuild b/media-radio/tucnak/tucnak-4.28.ebuild deleted file mode 100644 index 9d0aeaa30bb1..000000000000 --- a/media-radio/tucnak/tucnak-4.28.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools flag-o-matic multilib - -DESCRIPTION="Amateur Radio VHF Contest Logbook" -HOMEPAGE="http://tucnak.nagano.cz" -SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="alsa fftw gpm hamlib suid" - -RDEPEND="dev-libs/glib:2 - dev-libs/libzia - media-libs/libsndfile - >=media-libs/libsdl-1.2 - alsa? ( media-libs/alsa-lib ) - fftw? ( sci-libs/fftw:3.0 ) - gpm? ( sys-libs/gpm ) - hamlib? ( media-libs/hamlib:= )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - eapply_user - # fix destop file - sed -i -e "s/HamRadio/HamRadio;/" share/applications/tucnak.desktop || die - # fix doc install path - sed -i -e "s/docsdir/# docsdir/" \ - -e "s/docs_DATA =/# docs_DATA/" \ - -e "s/EXTRA_DIST =/# EXTRA_DIST =/" Makefile.am doc/Makefile.am || die - eautoreconf -} - -src_configure() { - append-ldflags -L/usr/$(get_libdir)/hamlib - econf $(use_with alsa) \ - $(use_with gpm) $(use_with hamlib) \ - $(use_with fftw fftw3) -} - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog doc/NAVOD.pdf - if use suid ; then - fperms 4711 /usr/bin/soundwrapper - fi -} - -pkg_postinst() { - elog "In order to use sound with tucnak add yourself to the 'audio' group" - elog "and to key your rig via the parport add yourself to the 'lp' group" - elog "" - elog "tucnak can be used with the following additional packages:" - elog " media-radio/cwdaemon : Morse output via code cwdaemon" - elog " (No need to recompile)" - if use suid ; then - ewarn "You have choosen to install the little helper program 'soundwrapper'" - ewarn "setuid by setting USE=suid. That helper is only needed if you" - ewarn "want to use morse sidetone output via the PC speaker." - ewarn "" - ewarn "While the helper should be safe by design be aware that setting" - ewarn "any program setuid is a security risk." - fi -} diff --git a/media-radio/tucnak/tucnak-4.29.ebuild b/media-radio/tucnak/tucnak-4.29.ebuild deleted file mode 100644 index 74d1b35b9c84..000000000000 --- a/media-radio/tucnak/tucnak-4.29.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools flag-o-matic multilib - -DESCRIPTION="Amateur Radio VHF Contest Logbook" -HOMEPAGE="http://tucnak.nagano.cz" -SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa fftw gpm hamlib suid" - -RDEPEND="dev-libs/glib:2 - dev-libs/libzia - media-libs/libsndfile - >=media-libs/libsdl-1.2 - alsa? ( media-libs/alsa-lib ) - fftw? ( sci-libs/fftw:3.0 ) - gpm? ( sys-libs/gpm ) - hamlib? ( media-libs/hamlib:= )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - eapply_user - # fix destop file - sed -i -e "s/HamRadio/HamRadio;/" share/applications/tucnak.desktop || die - # fix doc install path - sed -i -e "s/docsdir/# docsdir/" \ - -e "s/docs_DATA =/# docs_DATA/" \ - -e "s/EXTRA_DIST =/# EXTRA_DIST =/" Makefile.am doc/Makefile.am || die - eautoreconf -} - -src_configure() { - append-ldflags -L/usr/$(get_libdir)/hamlib - econf $(use_with alsa) \ - $(use_with gpm) $(use_with hamlib) \ - $(use_with fftw fftw3) -} - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog doc/NAVOD.pdf - if use suid ; then - fperms 4711 /usr/bin/soundwrapper - fi -} - -pkg_postinst() { - elog "In order to use sound with tucnak add yourself to the 'audio' group" - elog "and to key your rig via the parport add yourself to the 'lp' group" - elog "" - elog "tucnak can be used with the following additional packages:" - elog " media-radio/cwdaemon : Morse output via code cwdaemon" - elog " (No need to recompile)" - if use suid ; then - ewarn "You have choosen to install the little helper program 'soundwrapper'" - ewarn "setuid by setting USE=suid. That helper is only needed if you" - ewarn "want to use morse sidetone output via the PC speaker." - ewarn "" - ewarn "While the helper should be safe by design be aware that setting" - ewarn "any program setuid is a security risk." - fi -} diff --git a/media-radio/tucnak/tucnak-4.30.ebuild b/media-radio/tucnak/tucnak-4.30.ebuild index 489376d7f13d..9d0aeaa30bb1 100644 --- a/media-radio/tucnak/tucnak-4.30.ebuild +++ b/media-radio/tucnak/tucnak-4.30.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="alsa fftw gpm hamlib suid" RDEPEND="dev-libs/glib:2 diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest index b64e4a5531d4..69f71a11f5a3 100644 --- a/media-radio/xlog/Manifest +++ b/media-radio/xlog/Manifest @@ -1,4 +1,6 @@ AUX xlog-2.0.7-desktop.patch 435 BLAKE2B 56fee116a69c99f5192f1a2e4804821d715dd15f927525694100471b296412675eb97237c7e239cc407a2ffb145dbf779e802c1a1f5914a064d70f73ad269d12 SHA512 5119356e9635ca7b6d028d4bb3be12542636ce5d2967540b20ad9c22d62792b81a1a06fcd8722c7cbe8df706d8113e60b308d1db7c6fa8f3238bea039eb4b4f6 DIST xlog-2.0.22.tar.gz 11407849 BLAKE2B 85d2e904d33ef39883cb8ac086eed4dc7e65503cdccb95e8d33f169d12de4f1ed556a28ac2f40e0044e937185bf4d93fe55608088d6e95744617c9c3a051fb55 SHA512 a261f8e28b75aed9380c29b3da69c7615b0d32346eaf84a0ace5cf77c53407372c4985c599078dba5ed92f77bd8052a74c7dca40028b99bca49cc3164d4ec490 +DIST xlog-2.0.23.tar.gz 11407743 BLAKE2B 82828d043006b7f73ee32bae5b0beb261684aa70a2c556af34a8a269b790ad76e24d40a7ddb5c9b5cfd74ac7feb510c19deacc1b3dea647594d1f5f8c1293ca4 SHA512 1c235e6a49c7d6dd049aade4a0c34ffed61c211ea31c0f8d4d62db1a03b2d1e025ffd2fd9ae42b639113485d36e1ee2e40439f74e1971eb99847f4564b21bd10 EBUILD xlog-2.0.22.ebuild 1888 BLAKE2B bee6934c6a426de22807f032b2ef5706b2014ea3f13cb36cd9229aac625e220209a1a6a1a33bd5f95086415a612770302d2692dcc228d8c0ff642ce53764874c SHA512 8dd97e60010d3abb1985ebb3f3ead50ea5c867528705eca25035e244d3bd4ffee397c6fde5548d87b0918e636cb71476dfc21b2c7a409370764f5577210808d9 +EBUILD xlog-2.0.23.ebuild 1890 BLAKE2B 4eee0c65853210997bd9b01b5bee76103ad7bf6b9623ddaeb3cae3f9e5284310be60cd252c25acb62d73ae2115e136ab8c34b6f2382086dc9197b1048253e522 SHA512 7f451d6585b14d8f6f9488a66491d73c849a7363e80c7388d2d41e5aa84e81c7690eb233ac0b7b9ef515f4febe621430d78a37308a2d57d34fa3876222ed2bda MISC metadata.xml 246 BLAKE2B 0e24c5acb9f25df4ce675d772f01ef4cca1df3e885dff8c64c0c6f255b9ec49c4761ee159c30a35f77bbeefa1ec62ac6e835d2facdae2b63fbf0d6b350ac23b0 SHA512 be18486abf39193c34501128c8f1bf7e1886b74a7d551735d00c3492c7bae8845ba2dbea93b2ca73d5467cb7764d90b670014143ae8a8ca0a480a02d9af60efb diff --git a/media-radio/xlog/xlog-2.0.23.ebuild b/media-radio/xlog/xlog-2.0.23.ebuild new file mode 100644 index 000000000000..6a50652eae61 --- /dev/null +++ b/media-radio/xlog/xlog-2.0.23.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs xdg-utils +MY_P=${P/_} + +DESCRIPTION="An amateur radio logging program" +HOMEPAGE="https://www.nongnu.org/xlog" +SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/hamlib:= + dev-libs/glib:2 + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + media-libs/libpng:0 + sys-devel/gettext + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +DOCS=( AUTHORS data/doc/THANKS NEWS README ) + +src_prepare() { + eapply_user + eapply -p0 "${FILESDIR}/${PN}-2.0.7-desktop.patch" + + # Drop -Werror + sed -i -e "s:-Werror::g" configure.ac || die + # fix underlinking + sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die + eautoconf + + # prepare for media-radio/hamlib-4.2 change of API + if has_version '>=media-libs/hamlib-4.2' ; then + sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/src/hamlib-utils.c || die + fi + + # Fix broken png files<< + einfo "Fixing broken png files." + pushd "${S}"/data/doc/manual/output/html + for png in xlog-clock.png xlog-dropdown.png xlog-editbox.png; do + pngfix -q --out=out.png ${png} + mv -f out.png "${png}" || die + done + popd + einfo "done ..." + +} + +src_configure() { + # mime-update causes file collisions if enabled + econf --disable-mime-update +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" install + # build system makes it complicate to inhibit updating desktop + # database, so just remove the offending file + rm "${D}"/usr/share/applications/mimeinfo.cache || die + docompress -x /usr/share/doc/${PF}/{KEYS,ChangeLog,TODO,BUGS} + einstalldocs +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |