diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-dicts/opendict/opendict-0.6.7-r1.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'app-dicts/opendict/opendict-0.6.7-r1.ebuild')
-rw-r--r-- | app-dicts/opendict/opendict-0.6.7-r1.ebuild | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/app-dicts/opendict/opendict-0.6.7-r1.ebuild b/app-dicts/opendict/opendict-0.6.7-r1.ebuild deleted file mode 100644 index 2adc18c71cf4..000000000000 --- a/app-dicts/opendict/opendict-0.6.7-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# 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 -} |