wok-next diff harfbuzz/receipt @ rev 19802
Remove harfbuzz-icu package. Rework harfbuzz receipt: introduce libharfbuzz, libharfbuzz-icu, harfbuzz-icu-dev. Need to review all the packages that depends on harfbuzz and build-depends on harfbuzz-dev.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 26 13:51:02 2017 +0300 (2017-06-26) |
parents | 4ca71b0ef823 |
children | 60bd4df08f57 |
line diff
1.1 --- a/harfbuzz/receipt Sun Jun 25 14:29:39 2017 +0300 1.2 +++ b/harfbuzz/receipt Mon Jun 26 13:51:02 2017 +0300 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="harfbuzz" 1.7 -VERSION="1.3.0" 1.8 +VERSION="1.4.2" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="OpenType text shaping engine" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -12,8 +12,8 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 WGET_URL="https://www.freedesktop.org/software/harfbuzz/release/$TARBALL" 1.15 1.16 -BUILD_DEPENDS="glib-dev cairo-dev freetype-dev fontconfig-dev" 1.17 -SPLIT="harfbuzz-apps harfbuzz-dev" 1.18 +BUILD_DEPENDS="glib-dev cairo-dev freetype-dev fontconfig-dev icu-dev" 1.19 +SPLIT="libharfbuzz libharfbuzz-icu harfbuzz-icu-dev harfbuzz-dev" 1.20 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 @@ -22,7 +22,6 @@ 1.24 --with-glib \ 1.25 --with-freetype \ 1.26 --with-gobject \ 1.27 - --with-icu=no \ 1.28 $CONFIGURE_ARGS && 1.29 make && make install 1.30 } 1.31 @@ -30,20 +29,37 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 + # Note, we have two development packages: 1.36 + # * harfbuzz-dev - without ICU integration 1.37 + # * harfbuzz-icu-dev - with ICU integration 1.38 + # Use one of these packages at a time in your receipt. 1.39 + 1.40 case $PACKAGE in 1.41 harfbuzz) 1.42 - copy *.so* 1.43 - DEPENDS="glib cairo freetype libffi pcre" 1.44 + copy bin/ 1.45 + CAT="system-tools|applications" 1.46 + DEPENDS="libharfbuzz cairo" 1.47 ;; 1.48 - harfbuzz-apps) 1.49 - copy bin/ 1.50 - DEPENDS="harfbuzz cairo-gl" 1.51 - CAT="system-tools|applications" 1.52 + libharfbuzz) 1.53 + copy libharfbuzz.so* libharfbuzz-gobject.so* 1.54 + CAT="libs|shared library" 1.55 + DEPENDS="freetype glib" 1.56 + ;; 1.57 + libharfbuzz-icu) 1.58 + copy libharfbuzz-icu.so* 1.59 + CAT="libs|ICU integration" 1.60 + DEPENDS="libicu libharfbuzz" 1.61 + ;; 1.62 + harfbuzz-icu-dev) 1.63 + copy *-icu.h *-icu.la *-icu.pc 1.64 + CAT="development|ICU integration development files" 1.65 + DEPENDS="libharfbuzz-icu harfbuzz-dev icu-dev" 1.66 ;; 1.67 harfbuzz-dev) 1.68 copy @dev 1.69 + remove_already_packed 1.70 DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \ 1.71 - libpng-dev pcre-dev" 1.72 + libpng16-dev pcre-dev" 1.73 ;; 1.74 esac 1.75 }