wok annotate miro/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (9 days ago) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
slaxemulator@7789 | 1 # SliTaz package receipt. |
slaxemulator@7789 | 2 |
slaxemulator@7789 | 3 PACKAGE="miro" |
pascal@19143 | 4 VERSION="6.0" |
slaxemulator@7789 | 5 CATEGORY="multimedia" |
slaxemulator@7789 | 6 SHORT_DESC="The free and open source internet TV platform." |
slaxemulator@7789 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15583 | 8 LICENSE="GPL2" |
slaxemulator@7789 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7789 | 10 WEB_SITE="http://www.getmiro.com" |
pascal@24978 | 11 WGET_URL="https://github.com/pculture/miro/archive/refs/tags/v$VERSION.tar.gz" |
slaxemulator@7789 | 12 |
slaxemulator@13262 | 13 DEPENDS="dbus-python python-pyrex pygtk gstreamer python-pysqlite pywebkitgtk \ |
slaxemulator@13262 | 14 shared-mime-info desktop-file-utils hicolor-icon-theme gst-python notify-python \ |
slaxemulator@13262 | 15 libtorrent-rasterbar gst-plugins-base gst-plugins-good gst-ffmpeg \ |
slaxemulator@13262 | 16 pycurl taglib python-gconf" |
slaxemulator@13262 | 17 BUILD_DEPENDS="$DEPENDS python-dev dbus-python-dev pygtk-dev gstreamer-dev \ |
slaxemulator@13262 | 18 shared-mime-info-dev gst-python-dev libtorrent-rasterbar-dev libsoup-dev \ |
pascal@14357 | 19 libwebkit-dev gst-plugins-base-dev gst-plugins-good-dev ffmpeg-dev \ |
pascal@14357 | 20 imagemagick-dev taglib-dev libboost-dev" |
slaxemulator@10827 | 21 |
pascal@24453 | 22 # What is the latest version available today? |
pascal@24453 | 23 current_version() |
pascal@24453 | 24 { |
pascal@24453 | 25 wget -O - https://github.com/pculture/miro/tags 2>/dev/null | \ |
pascal@24453 | 26 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24453 | 27 } |
pascal@24453 | 28 |
slaxemulator@7789 | 29 # Rules to configure and make the package. |
slaxemulator@7789 | 30 compile_rules() |
slaxemulator@7789 | 31 { |
slaxemulator@7789 | 32 cd $src/linux |
pascal@23065 | 33 sed 's|= CODEC|= AV_CODEC|g;s|....o_st->pts.val|0|' -i miro-segmenter.c |
slaxemulator@9067 | 34 python setup.py install --root=$DESTDIR |
slaxemulator@9067 | 35 sed -i "s|./miro.real|/usr/bin/miro.real|g" $DESTDIR/usr/bin/miro |
slaxemulator@7789 | 36 } |
slaxemulator@7789 | 37 |
slaxemulator@7789 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7789 | 39 genpkg_rules() |
slaxemulator@7789 | 40 { |
al@17261 | 41 mkdir -p $fs/usr/share |
al@17261 | 42 |
slaxemulator@13262 | 43 cp -a $install/usr/bin $fs/usr |
slaxemulator@13262 | 44 cp -a $install/usr/lib $fs/usr |
al@17261 | 45 cp -a $install/usr/share/icons $fs/usr/share |
slaxemulator@13262 | 46 cp -a $install/usr/share/miro $fs/usr/share |
slaxemulator@7789 | 47 } |