wok view gst-omx/receipt @ rev 24402
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 08 16:59:06 2022 +0000 (2022-02-08) |
parents | a78610b2eb47 |
children | 82d54eca72be |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-omx"
4 VERSION="1.0.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GSt OpenMAX IL plugin with hw-accelerated video decoding on the R-Pi."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://gstreamer.freedesktop.org/releases/gst-omx/1.0.0.html"
11 WGET_URL="https://gstreamer.freedesktop.org/src/gst-omx/$TARBALL"
12 HOST_ARCH="arm"
14 DEPENDS="gstreamer-1.0 gst-plugins-base-1.0"
15 BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev"
17 current_version()
18 {
19 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
20 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a ${install}/usr/lib ${fs}/usr
35 rm ${fs}/usr/lib/*/*.la
36 }