Skip to content

Commit

Permalink
fribidi: update to 1.0.13, adopt.
Browse files Browse the repository at this point in the history
Fixes empty manpages, see fribidi/fribidi#197.

Closes: #44283 [via git-merge-pr]
  • Loading branch information
triallax authored and abenson committed Jun 11, 2023
1 parent 626fd30 commit cd90d75
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions srcpkgs/fribidi/template
Original file line number Diff line number Diff line change
@@ -1,34 +1,28 @@
# Template file for 'fribidi'
pkgname=fribidi
version=1.0.12
version=1.0.13
revision=1
build_style=gnu-configure
configure_args="--disable-docs"
hostmakedepends="automake libtool pkg-config"
hostmakedepends="pkg-config"
short_desc="Free Implementation of the Unicode Bidirectional Algorithm"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Mohammed Anas <triallax@tutanota.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fribidi/fribidi/"
changelog="https://raw.githubusercontent.com/fribidi/fribidi/master/NEWS"
distfiles="https://github.com/fribidi/fribidi/archive/v${version}.tar.gz"
checksum=2e9e859876571f03567ac91e5ed3b5308791f31cda083408c2b60fa1fe00a39d
disable_parallel_build=yes

pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
distfiles="https://github.com/fribidi/fribidi/releases/download/v${version}/fribidi-${version}.tar.xz"
checksum=7fa16c80c81bd622f7b198d31356da139cc318a63fc7761217af4130903f54a2

pre_build() {
if [ "$CROSS_BUILD" ]; then
sed -i gen.tab/Makefile \
vsed -i gen.tab/Makefile \
-e "s;^\(CC =\) .*;\1 cc;" \
-e "s;^\(CFLAGS =\) .*;\1 -O2 -pipe;" \
-e "s;^\(LDFLAGS =\) .*;\1 -s;"
fi
}

fribidi-devel_package() {
depends="fribidi>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
Expand Down

0 comments on commit cd90d75

Please sign in to comment.