mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-libs/m17n-lib: drop old
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST m17n-lib-1.8.0.tar.gz 1091731 BLAKE2B a4b55fbc3246fe0865dcf1647e91d03de6ead06fb4349ba207613cdea6bb079c0e7623510a6fb046dce4bfefd262f68c41c9174d29a2b4a6f673da298642e1cb SHA512 8aba862888393232172c03cdf52531e29ea969c4327e6f69879ecf7438eafee32782f509ec292b3e1b7cd3202e2764984d7a59e85cdb87a7c8bfcbac5b0ee6fd
|
||||
DIST m17n-lib-1.8.4.tar.gz 1119271 BLAKE2B 790a002e0abd66d7db0d61ab0240712b2810e698c73d507a5054ad83d4a7a7258c4407d5167ce92fc4c1f3acdfc9f8d3244634af801cde2a00762f09d5e1d823 SHA512 7e322788aed8a758a8c289112433aabccd12dacf14b247ba9060503bcc44930c9251f0c4e718987b9a151de097e72bc1e07c8096f7f4ad83a7d7183a549721d6
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Multilingual Library for Unix/Linux"
|
||||
HOMEPAGE="https://www.nongnu.org/m17n/"
|
||||
SRC_URI="mirror://nongnu/m17n/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
|
||||
IUSE="X anthy athena bidi fontconfig gd libotf libxml2 spell xft"
|
||||
|
||||
RDEPEND="~dev-db/m17n-db-${PV}
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
athena? ( x11-libs/libXaw )
|
||||
bidi? ( dev-libs/fribidi )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gd? ( media-libs/gd[png] )
|
||||
libotf? ( dev-libs/libotf )
|
||||
xft? (
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
)
|
||||
)
|
||||
anthy? ( app-i18n/anthy )
|
||||
libxml2? ( dev-libs/libxml2 )
|
||||
spell? ( app-text/aspell )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-configure.patch
|
||||
"${FILESDIR}"/${PN}-clang.patch
|
||||
"${FILESDIR}"/${PN}-freetype.patch
|
||||
"${FILESDIR}"/${PN}-ftconfig.patch
|
||||
"${FILESDIR}"/${PN}-ispell.patch
|
||||
"${FILESDIR}"/${PN}-parallel-make.patch
|
||||
"${FILESDIR}"/${PN}-pkg-config.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
# workaround for parallel install
|
||||
sed -i "/^install-module/s/:/: install-libLTLIBRARIES/" src/Makefile.in
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_with anthy)
|
||||
$(use_with libxml2)
|
||||
$(use_with spell ispell)
|
||||
)
|
||||
if use X; then
|
||||
myconf+=(
|
||||
$(use_with athena)
|
||||
$(use_with bidi fribidi)
|
||||
$(use_with fontconfig)
|
||||
$(use_with xft freetype)
|
||||
$(use_with gd)
|
||||
--with-gui
|
||||
$(use_with libotf)
|
||||
--with-x
|
||||
$(use_with xft)
|
||||
)
|
||||
else
|
||||
myconf+=(
|
||||
--without-athena
|
||||
--without-fontconfig
|
||||
--without-freetype
|
||||
--without-fribidi
|
||||
--without-gd
|
||||
--without-gui
|
||||
--without-libotf
|
||||
--without-x
|
||||
--without-xft
|
||||
)
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user