wok view miro/receipt @ rev 25317

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