fribidi: update to latest git revision
The former distfile is gone and upstream did not yet make a release. Fix to produce host tools for table generation when cross compiling.
This commit is contained in:
parent
551ac73e1a
commit
594e67ca1f
@ -1,16 +1,34 @@
|
|||||||
# Template file for 'fribidi'
|
# Template file for 'fribidi'
|
||||||
pkgname=fribidi
|
pkgname=fribidi
|
||||||
version=0.19.7
|
version=0.19.7.20171205
|
||||||
revision=1
|
revision=1
|
||||||
|
_c2man_version=2.41
|
||||||
|
_gitrev=0efbaa9052320a951823a6e776b30a580e3a2b4e
|
||||||
|
wrksrc=fribidi-${_gitrev}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="libglib-devel"
|
makedepends="libglib-devel"
|
||||||
short_desc="Free Implementation of the Unicode Bidirectional Algorithm"
|
short_desc="Free Implementation of the Unicode Bidirectional Algorithm"
|
||||||
homepage="http://fribidi.org/"
|
homepage="http://fribidi.org/"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
distfiles="http://fribidi.org/download/$pkgname-$version.tar.bz2"
|
distfiles="https://github.com/fribidi/fribidi/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
checksum=08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e
|
checksum=3bc7b61bbe1194828159feb5d3151cca9647d102f13b84e320cf040640ba2449
|
||||||
|
disable_parallel_build=yes
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
mkdir -p m4
|
||||||
|
NOCONFIGURE=1 autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
sed -i gen.tab/Makefile \
|
||||||
|
-e "s;^\(CC =\) .*;\1 cc;" \
|
||||||
|
-e "s;^\(CFLAGS =\) .*;\1 -O2 -pipe;" \
|
||||||
|
-e "s;^\(LDFLAGS =\) .*;\1 -s;"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
fribidi-devel_package() {
|
fribidi-devel_package() {
|
||||||
depends="${makedepends} fribidi>=${version}_${revision}"
|
depends="${makedepends} fribidi>=${version}_${revision}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user