f239166017
Closes: #11536 [via git-merge-pr]
35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'm17n-lib'
|
||
pkgname=m17n-lib
|
||
version=1.8.0
|
||
revision=1
|
||
build_style=gnu-configure
|
||
hostmakedepends="pkg-config"
|
||
makedepends="libxml2-devel fribidi-devel freetype-devel fontconfig-devel gd-devel
|
||
libXft-devel libotf-devel libthai-devel m17n-db $(vopt_if anthy anthy-devel)"
|
||
depends="m17n-db"
|
||
short_desc="Multilingual text processing library"
|
||
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
||
license="LGPL-2.1"
|
||
homepage="http://www.nongnu.org/m17n/"
|
||
distfiles="${NONGNU_SITE}/${pkgname/-lib/}/${pkgname}-${version}.tar.gz"
|
||
checksum=78bacae7451822dfff62482ce4f9433c5ae82846e4c64b590541e29e800fe64a
|
||
disable_parallel_build=yes
|
||
|
||
build_options="anthy"
|
||
desc_option_anthy="Enable anthy Japanese input system"
|
||
|
||
# without the flags configure won’t detect fribidi
|
||
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/glib-2.0 -I${XBPS_CROSS_BASE}/usr/lib/glib-2.0/include"
|
||
CPPFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/glib-2.0 -I${XBPS_CROSS_BASE}/usr/lib/glib-2.0/include"
|
||
|
||
m17n-lib-devel_package() {
|
||
short_desc+=" - development files"
|
||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||
pkg_install() {
|
||
vmove usr/include
|
||
vmove usr/lib/pkgconfig
|
||
vmove "usr/lib/*.a"
|
||
vmove "usr/lib/*.so"
|
||
vmove "usr/lib/m17n/1.0/*.a"
|
||
}
|
||
}
|