wok-next diff libass/receipt @ rev 19872
Up palemoon (27.5.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Sep 27 20:45:12 2017 +0200 (2017-09-27) |
parents | 6c3718ca17b6 |
children | 0ec6086e21d6 |
line diff
1.1 --- a/libass/receipt Sat Nov 09 17:34:23 2013 +0000 1.2 +++ b/libass/receipt Wed Sep 27 20:45:12 2017 +0200 1.3 @@ -1,31 +1,40 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libass" 1.8 -VERSION="0.10.0" 1.9 +VERSION="0.13.6" 1.10 CATEGORY="multimedia" 1.11 SHORT_DESC="A portable library for SSA/ASS subtitles rendering" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="https://github.com/libass/libass" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.17 -WEB_SITE="http://code.google.com/p/libass/" 1.18 -WGET_URL="http://libass.googlecode.com/files/$TARBALL" 1.19 +WGET_URL="https://github.com/libass/libass/releases/download/$VERSION/$TARBALL" 1.20 1.21 -DEPENDS="enca fontconfig libpng fribidi" 1.22 -BUILD_DEPENDS="enca-dev freetype-dev fontconfig-dev libpng-dev \ 1.23 -expat-dev fribidi-dev pkg-config libxml2-dev" 1.24 +BUILD_DEPENDS="yasm-dev freetype-dev fribidi-dev fontconfig-dev" 1.25 +SPLIT="libass-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd $src 1.31 - ./configure $CONFIGURE_ARGS && 1.32 - make && make install 1.33 + # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libass.html 1.34 + ./configure $CONFIGURE_ARGS && make && make install 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 - mkdir -p $fs/usr/lib 1.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 + case $PACKAGE in 1.43 + libass) 1.44 + copy @std 1.45 + DEPENDS="bzlib fontconfig freetype fribidi glib libharfbuzz \ 1.46 + liblzma libpng16 libxml2 pcre zlib" 1.47 + ;; 1.48 + *-dev) 1.49 + copy @dev 1.50 + DEPENDS="libass bzip2-dev fontconfig-dev freetype-dev fribidi-dev \ 1.51 + glib-dev harfbuzz-dev libpng16-dev libxml2-dev pcre-dev xz-dev \ 1.52 + zlib-dev" 1.53 + ;; 1.54 + esac 1.55 } 1.56 -