wok-next annotate libass/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 342b30daff76 |
children | d5aab818505e |
rev | line source |
---|---|
al@19811 | 1 # SliTaz package receipt v2. |
slaxemulator@7310 | 2 |
slaxemulator@7310 | 3 PACKAGE="libass" |
al@19811 | 4 VERSION="0.13.6" |
slaxemulator@7310 | 5 CATEGORY="multimedia" |
slaxemulator@7310 | 6 SHORT_DESC="A portable library for SSA/ASS subtitles rendering" |
slaxemulator@7310 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15472 | 8 LICENSE="BSD" |
al@19811 | 9 WEB_SITE="https://github.com/libass/libass" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libass.html" |
al@19811 | 11 |
slaxemulator@12368 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19811 | 13 WGET_URL="https://github.com/libass/libass/releases/download/$VERSION/$TARBALL" |
slaxemulator@7310 | 14 |
al@19811 | 15 BUILD_DEPENDS="yasm-dev freetype-dev fribidi-dev fontconfig-dev" |
al@19811 | 16 SPLIT="libass-dev" |
slaxemulator@12368 | 17 |
al@20575 | 18 compile_rules() { |
al@20575 | 19 ./configure $CONFIGURE_ARGS && |
al@20575 | 20 fix libtool && |
al@20575 | 21 make && |
al@20575 | 22 make install |
slaxemulator@7310 | 23 } |
slaxemulator@7310 | 24 |
al@20575 | 25 genpkg_rules() { |
al@19811 | 26 case $PACKAGE in |
al@19811 | 27 libass) |
al@19811 | 28 copy @std |
al@20749 | 29 DEPENDS="fontconfig freetype fribidi libharfbuzz" |
al@19811 | 30 ;; |
al@19811 | 31 *-dev) |
al@19811 | 32 copy @dev |
al@20749 | 33 DEPENDS="libass \ |
al@20749 | 34 fontconfig-dev freetype-dev fribidi-dev harfbuzz-dev" |
al@19811 | 35 ;; |
al@19811 | 36 esac |
slaxemulator@7310 | 37 } |