wok annotate libquicktime/receipt @ rev 25495

Up expat (2.5.0), CVE-2022-43680
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:14:28 2022 +0000 (19 months ago)
parents 7dd01dedad38
children d3556b8f5c3d
rev   line source
jozee@6830 1 # SliTaz package receipt.
jozee@6830 2
jozee@6830 3 PACKAGE="libquicktime"
slaxemulator@12423 4 VERSION="1.2.4"
jozee@6830 5 CATEGORY="multimedia"
jozee@6830 6 MAINTAINER="jozee@slitaz.org"
pascal@14716 7 LICENSE="LGPL2.1"
jozee@6830 8 SHORT_DESC="A library for reading and writing quicktime files."
pascal@25460 9 WEB_SITE="https://libquicktime.sourceforge.net/"
jozee@6830 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@6830 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@6830 12
slaxemulator@12423 13 DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa xorg-libXaw x264"
slaxemulator@12423 14 BUILD_DEPENDS="gtk+-dev ffmpeg-dev alsa-lib-dev xorg-libXv-dev xorg-libXaw-dev x264-dev zlib-dev mesa-dev"
slaxemulator@12423 15
pascal@25461 16 # What is the latest version available today?
pascal@24114 17 current_version()
pascal@24114 18 {
pascal@24453 19 wget -O - https://sourceforge.net/projects/libquicktime/files/libquicktime/ 2>/dev/null | \
pascal@24114 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24453 21 sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|' | sort -Vr | sed q
pascal@24114 22 }
pascal@24114 23
jozee@6830 24 # Rules to configure and make the package.
slaxemulator@12423 25 compile_rules()
slaxemulator@12423 26 {
pascal@16653 27 patch -p0 < $stuff/ffmpeg.u
pascal@13796 28 ./configure --prefix=/usr \
pascal@13796 29 --enable-gpl \
pascal@13796 30 --with-ffmpeg \
pascal@13796 31 --with-x264 \
pascal@13796 32 --without-doxygen \
pascal@13796 33 $CONFIGURE_ARGS &&
pascal@24114 34 make -j 4 &&
pascal@13796 35 make DESTDIR=$DESTDIR install
jozee@6830 36 }
jozee@6830 37
jozee@6830 38 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6830 39 genpkg_rules()
jozee@6830 40 {
jozee@6830 41 mkdir -p $fs/usr/lib/$PACKAGE
slaxemulator@12423 42 cp -a $install/usr/bin $fs/usr
slaxemulator@12423 43 cp -a $install/usr/lib/*so* $fs/usr/lib/
slaxemulator@12423 44 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6830 45 }