wok-next annotate libass/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
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@21020 | 16 SPLIT="$PACKAGE-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 } |