wok-current annotate ffmpegthumbnailer/receipt @ rev 25019

updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author Hans-G?nter Theisgen
date Wed May 18 07:22:38 2022 +0100 (2022-05-18)
parents 919d2a3148b6
children
rev   line source
pascal@14379 1 # SliTaz package receipt.
pascal@14379 2
pascal@14379 3 PACKAGE="ffmpegthumbnailer"
Hans-G?nter@22757 4 VERSION="2.2.2"
al@14742 5 CATEGORY="system-tools"
Hans-G?nter@22757 6 SHORT_DESC="Lightweight video thumbnailer that can be used by file managers."
pascal@14379 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14653 8 LICENSE="GPL2"
pascal@20673 9 WEB_SITE="https://github.com/dirkvdb/ffmpegthumbnailer"
Hans-G?nter@22757 10
pascal@14379 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
maniac@21610 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
maniac@21610 13
Hans-G?nter@22757 14 DEPENDS="ffmpeg gcc83-lib-base libjpeg libpng"
Hans-G?nter@22757 15 BUILD_DEPENDS="cmake ffmpeg-dev gcc83 jpeg-dev libgnutls libpng-dev"
pascal@14379 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@14379 23 # Rules to configure and make the package.
pascal@14379 24 compile_rules()
pascal@14379 25 {
Hans-G?nter@22757 26 export CC=gcc-83
Hans-G?nter@22757 27 export CXX=g++-83
Hans-G?nter@22757 28
Hans-G?nter@22757 29 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
pascal@14379 30 make &&
pascal@14379 31 make install
pascal@14379 32 }
pascal@14379 33
pascal@14379 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14379 35 genpkg_rules()
pascal@14379 36 {
Hans-G?nter@22757 37 mkdir -p $fs/usr/lib
Hans-G?nter@22757 38 mkdir -p $fs/usr/share/thumbnailers
Hans-G?nter@22757 39
Hans-G?nter@22757 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22757 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22757 42 cp -a $stuff/* $fs/usr/share/thumbnailers
pascal@14379 43 }