wok-current view recordmydesktop/receipt @ rev 25274
updated recordmydesktop (0.3.8.1 -> 0.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 13:57:40 2022 +0100 (2022-07-18) |
parents | 3105f866bc3e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="recordmydesktop"
4 VERSION="0.4.0"
5 CATEGORY="misc"
6 TAGS="desktop"
7 SHORT_DESC="Desktop session recorder."
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://enselic.github.io/recordmydesktop/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/Enselic/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="alsa-lib libtheora popt xorg-libICE xorg-libSM xorg-libX11 xorg-libXau
16 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes zlib"
17 BUILD_DEPENDS="alsa-lib-dev libogg-dev libtheora-dev libvorbis-dev popt-dev
18 xorg-damageproto xorg-fixesproto xorg-libICE-dev xorg-libSM-dev
19 xorg-libX11-dev xorg-libXdamage-dev xorg-libXext-dev
20 xorg-libXfixes-dev xorg-xextproto zlib-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/recordmydesktop/files/recordmydesktop/ 2>/dev/null | \
26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
27 sed '/scope="row/!d;s|.*/recordmydesktop/||;s|/.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 # 0.4.0 removed
34 # sed -i 's|shmstr.h|shmproto.h|g' src/*.h
35 # sed -i 's|shmstr.h|shmproto.h|g' src/*.c
37 ./configure \
38 --prefix=/usr \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install DESTDIR=$DESTDIR
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cook_copy_folders bin
50 }