diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-08-17 00:09:46 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-08-17 00:09:46 +0900 |
commit | 917677d9d8aaacdca46f0db9ac3ea9aee72c6198 (patch) | |
tree | b225fa0af570765badf8c28c9405a33d84e7ccac /app-i18n/libchewing | |
parent | app-i18n/libchewing: update to EAPI 6 (diff) | |
download | gentoo-917677d9d8aaacdca46f0db9ac3ea9aee72c6198.tar.gz gentoo-917677d9d8aaacdca46f0db9ac3ea9aee72c6198.tar.bz2 gentoo-917677d9d8aaacdca46f0db9ac3ea9aee72c6198.zip |
app-i18n/libchewing: drop old
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/libchewing')
-rw-r--r-- | app-i18n/libchewing/files/0.3.3-cflags.patch | 10 | ||||
-rw-r--r-- | app-i18n/libchewing/files/0.3.3-tinfo.patch | 43 | ||||
-rw-r--r-- | app-i18n/libchewing/libchewing-0.3.3-r1.ebuild | 50 |
3 files changed, 0 insertions, 103 deletions
diff --git a/app-i18n/libchewing/files/0.3.3-cflags.patch b/app-i18n/libchewing/files/0.3.3-cflags.patch deleted file mode 100644 index dba1093c5ae6..000000000000 --- a/app-i18n/libchewing/files/0.3.3-cflags.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -153,7 +122,6 @@ - if test x$LIBDEBUG = x"true"; then - AC_DEFINE(ENABLE_DEBUG, 1, - [Define to 1 if you want native library runtime debugging code enabled]) -- CFLAGS="$CFLAGS -g" - fi - AC_SUBST(LIBDEBUG) - diff --git a/app-i18n/libchewing/files/0.3.3-tinfo.patch b/app-i18n/libchewing/files/0.3.3-tinfo.patch deleted file mode 100644 index 10692e72c8ed..000000000000 --- a/app-i18n/libchewing/files/0.3.3-tinfo.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -91,38 +91,8 @@ - AM_CONDITIONAL(ENABLE_UNIT_TEST, test x$enable_check = "xyes") - - # Checks for ncursesw --OLDCFLAGS=$CFLAGS --LIB_NAME=ncursesw --NCURSESW_CFLAGS= --NCURSESW_LIBS= --for p in "$HOME/include" "$prefix/include" /usr/local/include /usr/include --do -- if test -f "$p/ncursesw/ncurses.h" -- then -- NCURSESW_CFLAGS="-I$p" -- AC_DEFINE(HAVE_NCURSESW_NCURSES_H, 1, [ Define to 1 if you have the <ncursesw/ncurses.h> header file. ]) -- break -- elif test -f "$p/ncurses/ncurses.h" -- then -- NCURSESW_CFLAGS="-I$p" -- AC_DEFINE(HAVE_NCURSES_NCURSES_H, 1, [ Define to 1 if you have the <ncurses/ncurses.h> header file. ]) -- break -- fi --done -- --for p in "$HOME/lib" "$prefix/lib" /usr/local/lib /usr/lib --do -- if test -f "$p/libncursesw.so" -- then -- if test "$p" != x/usr/lib -- then -- NCURSESW_LIBS="-L$p -lncursesw" -- else -- NCURSESW_LIBS="-lncursesw" -- fi -- break -- fi --done -+PKG_CHECK_MODULES(NCURSESW,ncursesw, -+ AC_DEFINE(HAVE_NCURSESW_NCURSES_H, 1, [ Define to 1 if you have the <ncursesw/ncurses.h> header file. ]),) - - enable_ncursesw=yes - if test -z "$NCURSESW_CFLAGS"; then diff --git a/app-i18n/libchewing/libchewing-0.3.3-r1.ebuild b/app-i18n/libchewing/libchewing-0.3.3-r1.ebuild deleted file mode 100644 index 44ef3bd839e2..000000000000 --- a/app-i18n/libchewing/libchewing-0.3.3-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils multilib toolchain-funcs - -DESCRIPTION="Library for Chinese Phonetic input method" -HOMEPAGE="http://chewing.csie.net/" -SRC_URI="http://chewing.csie.net/download/libchewing/${P}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="static-libs test" - -DEPEND=" - virtual/pkgconfig - test? ( - sys-libs/ncurses[unicode] - >=dev-libs/check-0.9.4 - ) -" - -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-cflags.patch \ - "${FILESDIR}"/${PV}-strncat-fix.patch \ - "${FILESDIR}"/${PV}-tinfo.patch - - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_test() { - # test subdirectory is not enabled by default; this means that we - # have to make it explicit. - emake -C test check -} - -DOCS=( AUTHORS ChangeLog NEWS README TODO ) - -src_install() { - default - - prune_libtool_files -} |