wok-6.x view libquicktime/receipt @ rev 24114

black, libquicktime, redis, stella: make -j 4
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 29 20:50:54 2021 +0000 (2021-09-29)
parents 6020e80e880a
children 3abeffdae80b
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="http://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/$PACKAGE/files/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;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 }