wok view freetuxtv/receipt @ rev 24920
updated mp (5.2.10 -> 5.58)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 10 07:48:27 2022 +0100 (2022-04-10) |
parents | 7d8f0ec43ab3 |
children | 20ad21d5532c |
line source
1 # SliTaz package receipt.
3 PACKAGE="freetuxtv"
4 VERSION="0.6.8"
5 CATEGORY="network"
6 SHORT_DESC="FreetuxTV is a free GTK+ WebTV and Web Radio player for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/freetuxtv/freetuxtv"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/freetuxtv/freetuxtv/archive/$TARBALL"
13 DEPENDS="gtk+ glib dbus-glib libsqlite libvlc libcurl libnotify"
14 BUILD_DEPENDS="gtk+-dev glib-dev dbus-glib-dev libsqlite sqlite-dev \
15 libvlc-dev libvlc curl-dev libnotify-dev intltool file automake libtool"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/freetuxtv-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|_box_new(.*HORIZONTAL|_hbox_new(FALSE|' src/*.c
27 sed -i 's|_box_new(.*VERTICAL|_vbox_new(FALSE|' src/*.c
28 ./autogen.sh
29 ./configure --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/applications
39 cp -a $install/* $fs
40 cp $stuff/freetuxtv.desktop $fs/usr/share/applications
41 }