diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-12-20 15:59:47 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-12-20 16:06:26 +0100 |
commit | 6b009a650b3d155f8fd9c29435005744af64b84d (patch) | |
tree | d51268afde8b55ff6f5582bdc6eb4660017c4f68 /app-i18n | |
parent | app-portage/distpatch: treeclean (diff) | |
download | gentoo-6b009a650b3d155f8fd9c29435005744af64b84d.tar.gz gentoo-6b009a650b3d155f8fd9c29435005744af64b84d.tar.bz2 gentoo-6b009a650b3d155f8fd9c29435005744af64b84d.zip |
app-i18n/xsunpinyin: treeclean
Closes: https://bugs.gentoo.org/845477
Closes: https://bugs.gentoo.org/695022
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/xsunpinyin/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/xsunpinyin/metadata.xml | 11 | ||||
-rw-r--r-- | app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20200306162733.ebuild | 76 |
3 files changed, 0 insertions, 88 deletions
diff --git a/app-i18n/xsunpinyin/Manifest b/app-i18n/xsunpinyin/Manifest deleted file mode 100644 index ab2a2125633b..000000000000 --- a/app-i18n/xsunpinyin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sunpinyin-2.0.4_pre20200306162733.tar.gz 547519 BLAKE2B 6e0e4457217d7b85221cab15173f588a5c7c039208a8f6cd48ed5fb21c5b5eae2f4616d6fddbf6eff8a006193097de26c866d5385d4602f41059ee8d7e52a2d5 SHA512 e8cf73aeca8dcbc7dd6f51f034a9a0363201bc14a814800e071c987933935b0e8039aa84178a6bd1cba1c7dee4b25b2d5546e78ea683e68e8981afea48fdab33 diff --git a/app-i18n/xsunpinyin/metadata.xml b/app-i18n/xsunpinyin/metadata.xml deleted file mode 100644 index e9f122857cf4..000000000000 --- a/app-i18n/xsunpinyin/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>cjk@gentoo.org</email> - <name>Cjk</name> - </maintainer> - <upstream> - <remote-id type="github">sunpinyin/sunpinyin</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20200306162733.ebuild b/app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20200306162733.ebuild deleted file mode 100644 index 3a4878507e31..000000000000 --- a/app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20200306162733.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2011-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -PYTHON_COMPAT=( python3_{8..9} ) - -inherit python-any-r1 scons-utils toolchain-funcs - -MY_PN="sunpinyin" -MY_P="${MY_PN}-${PV}" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/sunpinyin/sunpinyin" -elif [[ "${PV}" == *_pre* ]]; then - SUNPINYIN_GIT_REVISION="f39c195db08661e894017507842991a1ef70bedf" -fi - -DESCRIPTION="Standalone XIM server for SunPinyin" -HOMEPAGE="https://github.com/sunpinyin/sunpinyin" -if [[ "${PV}" == "9999" ]]; then - SRC_URI="" -elif [[ "${PV}" == *_pre* ]]; then - SRC_URI="https://github.com/sunpinyin/${MY_PN}/archive/${SUNPINYIN_GIT_REVISION}.tar.gz -> ${MY_P}.tar.gz" -else - SRC_URI="https://github.com/sunpinyin/${MY_PN}/archive/v${PV/_/-}.tar.gz -> ${MY_P}.tar.gz" -fi - -LICENSE="|| ( CDDL LGPL-2.1 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -BDEPEND="virtual/pkgconfig" -DEPEND="~app-i18n/sunpinyin-${PV} - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/pango" -RDEPEND="${DEPEND} - app-i18n/sunpinyin-data" - -if [[ "${PV}" == *_pre* ]]; then - S="${WORKDIR}/${MY_PN}-${SUNPINYIN_GIT_REVISION}" -elif [[ "${PV}" != "9999" ]]; then - S="${WORKDIR}/${MY_PN}-${PV/_/-}" -fi - -src_prepare() { - default - - # https://github.com/sunpinyin/sunpinyin/pull/101 - sed -e "/^[[:space:]]*print /s/print \(.*\)/print(\1)/" -i wrapper/xim/SConstruct || die - - # https://github.com/sunpinyin/sunpinyin/issues/110 - sed -e "s/^\( *\)('CXX', 'CXX'),/&\n\1('AR', 'AR'),\n\1('RANLIB', 'RANLIB'),/" -i wrapper/xim/SConstruct || die - - # https://github.com/sunpinyin/sunpinyin/issues/114 - sed -e "/^#include <iconv\.h>$/d" -i wrapper/xim/xim.c || die -} - -src_configure() { - tc-export AR CC CXX RANLIB -} - -src_compile() { - escons -C wrapper/xim \ - --prefix="${EPREFIX}/usr" -} - -src_install() { - escons -C wrapper/xim --install-sandbox="${D}" install -} |