From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- app-dicts/Manifest.gz | Bin 46080 -> 46082 bytes app-dicts/opendict/Manifest | 2 +- app-dicts/opendict/opendict-0.6.7-r1.ebuild | 91 ++++++++++++++++++++++++++++ app-dicts/opendict/opendict-0.6.7.ebuild | 89 --------------------------- 4 files changed, 92 insertions(+), 90 deletions(-) create mode 100644 app-dicts/opendict/opendict-0.6.7-r1.ebuild delete mode 100644 app-dicts/opendict/opendict-0.6.7.ebuild (limited to 'app-dicts') diff --git a/app-dicts/Manifest.gz b/app-dicts/Manifest.gz index 3c5086c1a3f2..b5d0b66f573a 100644 Binary files a/app-dicts/Manifest.gz and b/app-dicts/Manifest.gz differ diff --git a/app-dicts/opendict/Manifest b/app-dicts/opendict/Manifest index 868033875a08..d5f52938c2f2 100644 --- a/app-dicts/opendict/Manifest +++ b/app-dicts/opendict/Manifest @@ -1,3 +1,3 @@ DIST opendict-0.6.7.tar.gz 169580 BLAKE2B 665fe181bf16d8e923470568b6685149075b6c5a9afe2deffe6ee4ff792b4e6a2c166f3ce4297f59fc57cd11efe299a93518c4fb5e929b13270d04f172a62146 SHA512 ef97ec84591bda4d8d4746fa4532de109cf03d89dfd5aa20e1775224c687b503759c020b2286e5cedd395ebce5db3b2a10495adc31fcc31dbd4fddfca6fee1f8 -EBUILD opendict-0.6.7.ebuild 2049 BLAKE2B 3cc51451ed9b8cf49a21141695ee6c8e33ff673d2e651e162e01a240667af0bf840f983f0ed47f5b8c95fd4ca5209fc17fb55fe2f8a7fce03cecfaf42aa02276 SHA512 30cd657a497536afa6c95de547ea48c50d3dd2e8e6af77b35d018fbc9522f43c6b5474f7967c829c07e635b38d99dc5501ac2f15d464cc201d557ed67bcea1ea +EBUILD opendict-0.6.7-r1.ebuild 2082 BLAKE2B 1e1f654ed9dc383c48ff7aa3cfb6af762d77886c5323c97fcfb7bed78045b5a463739e2b76afc7feb28516a70bf6481e190e2598f49dcf93b7b184c7725f8e1c SHA512 6e9170d45a282fe2687393d4d24b972da7262eee38821e1d13d2218469a50e1593fdb22a6f23dea9c5c9df8d2342ab03624191d087ddb70cbfee7f01a8becaac MISC metadata.xml 339 BLAKE2B 3233d939c71c80bd1d803ef77bafb2d50022497ef3f580171d9bd37aa260c0b5d7e7d306a5bd98ab8a2bdd6b052048032887579c5064d7684b9aa43aa4a53ffd SHA512 49affe3fdde01f9c9726abbf3088e9332fd2aad7c47cb7591eee9d23dd18caf4877c2858e457b236bfec2318baa5e3cbf8184ae431825d6d28a01557a58daf98 diff --git a/app-dicts/opendict/opendict-0.6.7-r1.ebuild b/app-dicts/opendict/opendict-0.6.7-r1.ebuild new file mode 100644 index 000000000000..2adc18c71cf4 --- /dev/null +++ b/app-dicts/opendict/opendict-0.6.7-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2 python-single-r1 readme.gentoo-r1 + +DESCRIPTION="OpenDict is a free cross-platform dictionary program" +HOMEPAGE="http://opendict.sourceforge.net/" +SRC_URI="mirror://sourceforge/opendict/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/wxpython:3.0[${PYTHON_MULTI_USEDEP}] + ') +" +DEPEND="${RDEPEND}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="If you want system-wide plugins, unzip them into +${ROOT}usr/share/${PN}/dictionaries/plugins + +Some are available from http://opendict.sourceforge.net/?cid=3" + +src_prepare() { + sed -e "s:), '..')):), '../../../../..', 'share', 'opendict')):g" \ + -i "${S}/lib/info.py" + + gnome2_src_prepare +} + +src_configure() { + # override gnome2_src_configure + default +} + +src_compile() { + # evil makefile + : +} + +src_install() { + # makefile is broken, do it manually + + dodir /usr/share/${PN}/dictionaries/plugins # global dictionary plugins folder + + # Needed by GUI + insinto /usr/share/${PN} + doins "${S}"/copying.html + + insinto /usr/share/${PN}/pixmaps + doins "${S}"/pixmaps/* + + DHOME="$(python_get_sitedir)/opendict" + insinto "${DHOME}/lib" + doins -r "${S}"/lib/* + exeinto "${DHOME}" + python_fix_shebang opendict.py + doexe opendict.py + + dosym "${DHOME}/opendict.py" /usr/bin/opendict + + domenu misc/${PN}.desktop + + insinto /usr/share/icons/hicolor/24x24/apps/ + newins "${S}/pixmaps/icon-24x24.png" opendict.png + insinto /usr/share/icons/hicolor/32x32/apps/ + newins "${S}/pixmaps/icon-32x32.png" opendict.png + insinto /usr/share/icons/hicolor/48x48/apps/ + newins "${S}/pixmaps/icon-48x48.png" opendict.png + insinto /usr/share/icons/hicolor/scalable/apps/ + newins "${S}/pixmaps/SVG/icon-rune.svg" opendict.svg + + doman opendict.1 + dodoc README.txt TODO.txt doc/Plugin-HOWTO.html + + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + readme.gentoo_print_elog +} diff --git a/app-dicts/opendict/opendict-0.6.7.ebuild b/app-dicts/opendict/opendict-0.6.7.ebuild deleted file mode 100644 index 99c27f354f2b..000000000000 --- a/app-dicts/opendict/opendict-0.6.7.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit gnome2 python-single-r1 readme.gentoo-r1 - -DESCRIPTION="OpenDict is a free cross-platform dictionary program" -HOMEPAGE="http://opendict.sourceforge.net/" -SRC_URI="mirror://sourceforge/opendict/files/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - dev-python/wxpython:3.0[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS="If you want system-wide plugins, unzip them into -${ROOT}usr/share/${PN}/dictionaries/plugins - -Some are available from http://opendict.sourceforge.net/?cid=3" - -src_prepare() { - sed -e "s:), '..')):), '../../../../..', 'share', 'opendict')):g" \ - -i "${S}/lib/info.py" - - gnome2_src_prepare -} - -src_configure() { - # override gnome2_src_configure - default -} - -src_compile() { - # evil makefile - : -} - -src_install() { - # makefile is broken, do it manually - - dodir /usr/share/${PN}/dictionaries/plugins # global dictionary plugins folder - - # Needed by GUI - insinto /usr/share/${PN} - doins "${S}"/copying.html - - insinto /usr/share/${PN}/pixmaps - doins "${S}"/pixmaps/* - - DHOME="$(python_get_sitedir)/opendict" - insinto "${DHOME}/lib" - doins -r "${S}"/lib/* - exeinto "${DHOME}" - python_fix_shebang opendict.py - doexe opendict.py - - dosym "${DHOME}/opendict.py" /usr/bin/opendict - - domenu misc/${PN}.desktop - - insinto /usr/share/icons/hicolor/24x24/apps/ - newins "${S}/pixmaps/icon-24x24.png" opendict.png - insinto /usr/share/icons/hicolor/32x32/apps/ - newins "${S}/pixmaps/icon-32x32.png" opendict.png - insinto /usr/share/icons/hicolor/48x48/apps/ - newins "${S}/pixmaps/icon-48x48.png" opendict.png - insinto /usr/share/icons/hicolor/scalable/apps/ - newins "${S}/pixmaps/SVG/icon-rune.svg" opendict.svg - - doman opendict.1 - dodoc README.txt TODO.txt doc/Plugin-HOWTO.html - - readme.gentoo_create_doc -} - -pkg_postinst() { - gnome2_pkg_postinst - readme.gentoo_print_elog -} -- cgit v1.2.3