wok view libquicktime/receipt @ rev 25461

foobillardplus: add LDFLAGS for -Wl,--copy-dt-needed-entries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 09:44:06 2022 +0000 (19 months ago)
parents 7dd01dedad38
children d3556b8f5c3d
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/libquicktime/files/libquicktime/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch -p0 < $stuff/ffmpeg.u
28 ./configure --prefix=/usr \
29 --enable-gpl \
30 --with-ffmpeg \
31 --with-x264 \
32 --without-doxygen \
33 $CONFIGURE_ARGS &&
34 make -j 4 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/$PACKAGE
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*so* $fs/usr/lib/
44 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
45 }