wok-6.x annotate openshot/receipt @ rev 24476
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 18 09:29:30 2022 +0000 (2022-02-18) |
parents | 16df76e1fc6a |
children | 3f7980d355a5 |
rev | line source |
---|---|
jozee@6829 | 1 # SliTaz package receipt. |
jozee@6829 | 2 |
jozee@6829 | 3 PACKAGE="openshot" |
pascal@13623 | 4 VERSION="1.4.3" |
jozee@6829 | 5 CATEGORY="multimedia" |
jozee@6829 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@14999 | 7 LICENSE="GPL3" |
jozee@6829 | 8 SHORT_DESC="an open-source, non-linear video editor for Linux based on MLT framework" |
jozee@6829 | 9 WEB_SITE="http://www.openshotvideo.com/" |
pascal@14999 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14999 | 11 WGET_URL="https://launchpad.net/openshot/${VERSION%.*}/$VERSION/+download/$TARBALL" |
pascal@14999 | 12 TAGS="" |
pascal@14999 | 13 |
pascal@13623 | 14 DEPENDS="mlt-python-bindings pygoocanvas libsdl librsvg python-xdg \ |
pascal@13623 | 15 frei0r-plugins python-pil python-httplib2" |
jozee@6829 | 16 SUGGESTED="dvgrab libquicktime libavc1394 faac jack-audio-connection-kit ladspa" |
pascal@13623 | 17 BUILD_DEPENDS="mlt-dev librsvg-dev libsdl-dev frei0r-plugins-dev sox-dev \ |
pascal@13623 | 18 ffmpeg-dev goocanvas-dev wget" |
jozee@6829 | 19 |
pascal@24476 | 20 # What is the latest version available today? |
pascal@24476 | 21 current_version() |
pascal@24476 | 22 { |
pascal@24476 | 23 wget -O - https://launchpad.net/openshot/ 2>/dev/null | \ |
pascal@24476 | 24 sed '/Latest version/!d;s|.*is ||' |
pascal@24476 | 25 } |
pascal@24476 | 26 |
jozee@6829 | 27 # Rules to configure and make the package. |
jozee@6829 | 28 compile_rules() { |
slaxemulator@9246 | 29 python setup.py install --root=$DESTDIR --optimize=1 |
jozee@6829 | 30 } |
al@17261 | 31 |
jozee@6829 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6829 | 33 genpkg_rules() |
jozee@6829 | 34 { |
al@17261 | 35 mkdir -p $fs/usr |
al@17261 | 36 |
pascal@13623 | 37 cp -a $install/usr/bin $fs/usr |
pascal@13623 | 38 cp -a $install/usr/lib $fs/usr |
jozee@6829 | 39 } |
al@18077 | 40 |