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