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