wok view libquicktime/receipt @ rev 25460

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