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