wok-current annotate mlt/receipt @ rev 20235
busybox: add arch (uname -m alias)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 05 15:52:59 2018 +0100 (2018-03-05) |
parents | 775714eeb4c8 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
jozee@6826 | 1 # SliTaz package receipt. |
jozee@6826 | 2 |
jozee@6826 | 3 PACKAGE="mlt" |
pascal@19816 | 4 VERSION="6.4.1" |
jozee@6826 | 5 CATEGORY="multimedia" |
jozee@6826 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15583 | 7 LICENSE="LGPL2.1" |
jozee@6826 | 8 SHORT_DESC="An open source multimedia framework" |
jozee@6826 | 9 WEB_SITE="http://www.mltframework.org" |
jozee@6826 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19816 | 11 WGET_URL="https://github.com/mltframework/mlt/archive/v$VERSION.tar.gz" |
jozee@6826 | 12 TAGS="multimedia" |
jozee@6826 | 13 |
pascal@19686 | 14 DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg \ |
pascal@19686 | 15 frei0r-plugins" |
pascal@19686 | 16 BUILD_DEPENDS="libsdl-image-dev libsamplerate-dev libdv-dev Qt4-dev sox-dev \ |
pascal@19816 | 17 libxml2-dev gtk+-dev ffmpeg-dev frei0r-plugins-dev mesa-dev alsa-lib-dev \ |
pascal@19816 | 18 pulseaudio-dev" |
pascal@15583 | 19 |
jozee@6826 | 20 # Rules to configure and make the package. |
jozee@6826 | 21 |
pascal@19689 | 22 compile_rules() |
pascal@19689 | 23 { |
pascal@19689 | 24 ./configure --prefix=/usr \ |
pascal@19689 | 25 --enable-gpl \ |
pascal@19689 | 26 --disable-mmx \ |
pascal@19689 | 27 --qimage-libdir=/usr/lib/ \ |
pascal@19689 | 28 --qimage-includedir=/usr/include/Qt \ |
pascal@19689 | 29 --avformat-swscale && |
pascal@19689 | 30 make && |
pascal@19689 | 31 make install |
jozee@6826 | 32 } |
jozee@6826 | 33 |
jozee@6826 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6826 | 35 genpkg_rules() |
jozee@6826 | 36 { |
jozee@6826 | 37 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share |
pascal@15583 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15583 | 39 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
pascal@15583 | 40 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pascal@15583 | 41 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE |
jozee@6826 | 42 } |