diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-23 14:59:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-23 14:59:31 +0100 |
commit | 764cacf515464f89b60c94a29b3b7262479feb22 (patch) | |
tree | c29184ca60bf08fd667d410fac9802dd3df8d099 /dev-util/diffuse | |
parent | 955b5fcaf4acc77c39a1f145d7c56e99f13083a7 (diff) |
gentoo auto-resync : 23:05:2023 - 14:59:31
Diffstat (limited to 'dev-util/diffuse')
-rw-r--r-- | dev-util/diffuse/Manifest | 4 | ||||
-rw-r--r-- | dev-util/diffuse/diffuse-0.8.2.ebuild | 52 | ||||
-rw-r--r-- | dev-util/diffuse/metadata.xml | 2 |
3 files changed, 56 insertions, 2 deletions
diff --git a/dev-util/diffuse/Manifest b/dev-util/diffuse/Manifest index 467a7cb51cc5..17c8ba4b72ec 100644 --- a/dev-util/diffuse/Manifest +++ b/dev-util/diffuse/Manifest @@ -1,3 +1,5 @@ DIST diffuse-0.7.7.tar.gz 620577 BLAKE2B 5c6cf09519e177404dd4d0fd8b27d176581ac08fb9d6dac5b4a90b130f7c28fce0f0f3802a99c7b3078e608f967a36851532d43f5e661854755242b5b23a64e8 SHA512 bf9576734ebd696252732b3b0ce6f1f18508a800520388459d9f27482a43251db879c2198c3a279bad9528afc08cf8e7f23a3253b58edad049db9b1c697fd6e0 +DIST diffuse-0.8.2.tar.gz 1187378 BLAKE2B 466cb2291dcc812a82ade4fb59c3e3faf1f632d741fc3efef886c00b100e8edebdddc1837e980d9bb86c18182172cf9afca3b1abc17a8258669f6aada0763beb SHA512 c2a5c1cac435bc0879fc6e6f10bcf10bd8e58e4a2cb603a4e1435c411b3d66373424680d1a41296d38c249e659aa53e67c8783eb26a3d02a42ef5c7e7fa1e245 EBUILD diffuse-0.7.7.ebuild 1460 BLAKE2B 8a61d9e8f42a02bd9aa0e0011377d66e35a7dc7aa521b6aad125160be7fa28da705265fe076bb8d9896f771738c8d4dc3bf2cb9a0ffb798dd111a778a7b90449 SHA512 3a4d5eccd63958d1f35e2b9cafaafc7b232f6c678f94fd563cbed12d4ba653159632d87ab157a92e294c52ba7fa0a11036c35081e644d3e25d0bbba8a4f5eabe -MISC metadata.xml 324 BLAKE2B f4889c3b688d5c75efaef149b263839d073cc9bb5af34143db1fe800459b42a4a2676e03af21bdff14e75a85e9cf20a8e2e6d9447678c45a849798e35d587811 SHA512 24b6f7a5010dea044356f4fec287c0faeae4d3aa7ed79c3d436c28e12edce917f5c34597d7efab39dd59b907baab8cacfd942e61ccf843248df093092cdacd32 +EBUILD diffuse-0.8.2.ebuild 1471 BLAKE2B 67ebb4a8e0a8638ced1f92a6b15c494b154f803f0e65e82c40bab7078e6f930a548c04d64523d61062b08608cac2fd0650562564cdc305b68ba6620036417058 SHA512 f91c6e3f0279eea0db77db76900e9c3f05165815699d90ca34ef89e930c643fc954e28e66d2f34f0e9b7b6815a6eb96e5855d874aa8fe0e42245d6d487946ff0 +MISC metadata.xml 331 BLAKE2B 0d7237b2c8c4914f4888a983908157e5d9de1190566738fd6dc7e55e9695bbf3438344e617e447f03b7398d0f96605e8abedb73f6c03689c714e004592c268a0 SHA512 29c7e053de0a4dd2350c8e50d3049a7f27f5eb7bf054f947fab9840963a6c0572b07d408faeda415671250e36a3546263d99443f06c61e312c95af9988a194b7 diff --git a/dev-util/diffuse/diffuse-0.8.2.ebuild b/dev-util/diffuse/diffuse-0.8.2.ebuild new file mode 100644 index 000000000000..6c606d89d34a --- /dev/null +++ b/dev-util/diffuse/diffuse-0.8.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) +PLOCALES="cs de es fr it ja ka ko nl pl pt pt_BR ru sv th tr zh_CN zh_TW" +inherit meson plocale python-r1 xdg + +DESCRIPTION="A graphical tool to compare and merge text files" +HOMEPAGE="http://diffuse.sourceforge.net/ https://github.com/MightyCreak/diffuse/" +SRC_URI="https://github.com/MightyCreak/diffuse/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP},cairo] + ') + x11-libs/gtk+:3[introspection]" +# file collision, bug #279018 +DEPEND="${DEPEND} + !sci-chemistry/tinker" + +src_prepare() { + default + plocale_find_changes po '' '.po' + + rm_locale() { + rm -f po/${1}.po + rm -rf data/usr/share/man/${1} + rm -rf data/usr/share/gnome/help/${PN}/$1 + rm -f data/usr/share/omf/${PN}/${PN}-$1.omf + sed -e "/^${1}/d" -i po/LINGUAS + } + + plocale_for_each_disabled_locale rm_locale +} + +src_install() { + meson_src_install + rm "${D}"/usr/bin/${PN} || die "rm ${PN} failed" + python_foreach_impl python_doscript ../${P}-build/src/${PN}/${PN} + mkdir "${D}"/usr/share/metainfo || die "mkdir metainfo failed" + mv "${D}"/usr/share/appdata/* "${D}"/usr/share/metainfo/ \ + || die "mv appdata -> metainfo failed" + dodoc AUTHORS CHANGELOG.md README.md +} diff --git a/dev-util/diffuse/metadata.xml b/dev-util/diffuse/metadata.xml index c1a33ad7fc6e..2b41d624d4c8 100644 --- a/dev-util/diffuse/metadata.xml +++ b/dev-util/diffuse/metadata.xml @@ -6,6 +6,6 @@ <name>Andrey Grozin</name> </maintainer> <upstream> - <remote-id type="sourceforge">diffuse</remote-id> + <remote-id type="github">MightyCreak/diffuse</remote-id> </upstream> </pkgmetadata> |