mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -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.4.tar.gz 1119271 BLAKE2B 790a002e0abd66d7db0d61ab0240712b2810e698c73d507a5054ad83d4a7a7258c4407d5167ce92fc4c1f3acdfc9f8d3244634af801cde2a00762f09d5e1d823 SHA512 7e322788aed8a758a8c289112433aabccd12dacf14b247ba9060503bcc44930c9251f0c4e718987b9a151de097e72bc1e07c8096f7f4ad83a7d7183a549721d6
|
||||
DIST m17n-lib-1.8.6.tar.gz 1134862 BLAKE2B d51974643f7c76ccb96f8e9849c7850880d6c206beb07a2dddbe5b885d4ad97d092f80382ad0e3ebe72d76e04510b6ae1753f0395add09250ebc17647a62d57d SHA512 4fe3e9d2f88a90e8e9b30ee53a71612f937ab3d4c5243075f39de13818522e5c595840f67b3411b03d403affeafeb1802158b6ae8ddf80a1e695d1105b595a59
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2025 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}-freetype.patch
|
||||
"${FILESDIR}"/${PN}-ispell.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