void-packages/srcpkgs/m17n-lib/template
newbluemoon f239166017 m17n-lib: update to 1.8.0
Closes: #11536 [via git-merge-pr]
2018-03-25 18:26:57 +02:00

35 lines
1.2 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 wont 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"
}
}