wok annotate deadbeef/receipt @ rev 25462
ufraw: include exiv2/error.hpp in ufraw_exiv2.cc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 10:52:41 2022 +0000 (2022-09-28) |
parents | 109495182d5a |
children | 6b33f9da53d4 |
rev | line source |
---|---|
pankso@5639 | 1 # SliTaz package receipt. |
pankso@5639 | 2 |
pankso@5639 | 3 PACKAGE="deadbeef" |
Hans-G?nter@22640 | 4 VERSION="1.8.2" |
pankso@5639 | 5 CATEGORY="multimedia" |
al@21208 | 6 TAGS="music audio player mp3 ogg ape" |
pankso@5639 | 7 SHORT_DESC="Simple to use GTK+ audio player with systray support." |
pankso@5639 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15021 | 9 LICENSE="GPL2 LGPL2.1" |
Hans-G?nter@22640 | 10 WEB_SITE="https://deadbeef.sourceforge.io/" |
al@21208 | 11 |
pankso@5639 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5639 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15021 | 14 |
Hans-G?nter@22640 | 15 SUGGESTED="deadbeef-plugins cdparanoia-III" |
Hans-G?nter@22640 | 16 DEPENDS="alsa-lib atk cairo fontconfig freetype gdk-pixbuf glib gtk+ |
Hans-G?nter@22640 | 17 jansson libgio libmad libvorbis pango xorg-libX11" |
Hans-G?nter@22641 | 18 BUILD_DEPENDS="alsa-lib-dev cdparanoia-III-dev curl-dev flac-dev gettext |
Hans-G?nter@22640 | 19 gtk+-dev intltool jansson-dev libcddb-dev libcdio-dev libcurl |
Hans-G?nter@22640 | 20 libmad-dev libogg-dev libsamplerate-dev libsndfile libsndfile-dev |
Hans-G?nter@22640 | 21 libvorbis-dev libzip-dev util-linux-uuid-dev yasm zlib-dev" |
pankso@9961 | 22 |
pascal@24385 | 23 # What is the latest version available today? |
pascal@24385 | 24 current_version() |
pascal@24385 | 25 { |
pascal@24385 | 26 wget -O - https://sourceforge.net/projects/deadbeef/files/travis/linux/ 2>/dev/null | \ |
pascal@24385 | 27 sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24385 | 28 sed '/scope="row/!d;/deadbeef-[0-9]/!d;s|.*/deadbeef-||;s|.tar.*||;q' |
pascal@24385 | 29 } |
pascal@24385 | 30 |
pankso@5639 | 31 # Rules to configure and make the package. |
pankso@5639 | 32 compile_rules() |
pankso@5639 | 33 { |
al@21208 | 34 ./configure $CONFIGURE_ARGS && |
al@21208 | 35 make && |
al@21208 | 36 make install |
pankso@5639 | 37 } |
pankso@5639 | 38 |
pankso@5639 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5639 | 40 genpkg_rules() |
pankso@5639 | 41 { |
Hans-G?nter@22640 | 42 mkdir -p $fs/usr |
Hans-G?nter@22640 | 43 mkdir -p $fs/usr/lib/deadbeef |
Hans-G?nter@22640 | 44 mkdir -p $fs/usr/share |
Hans-G?nter@22640 | 45 mkdir -p $fs/usr/share/icons/hicolor |
al@21208 | 46 |
Hans-G?nter@22640 | 47 cp -a $install/usr/bin $fs/usr |
al@21208 | 48 |
Hans-G?nter@22640 | 49 for i in alsa ddb_gui_GTK2 hotkeys vorbis mp3 |
Hans-G?nter@22640 | 50 do |
Hans-G?nter@22640 | 51 cp -a $install/usr/lib/deadbeef/$i.so $fs/usr/lib/deadbeef |
Hans-G?nter@22640 | 52 done |
al@21208 | 53 |
Hans-G?nter@22640 | 54 for i in applications doc deadbeef |
Hans-G?nter@22640 | 55 do |
Hans-G?nter@22640 | 56 cp -a $install/usr/share/$i $fs/usr/share |
Hans-G?nter@22640 | 57 done |
Hans-G?nter@22640 | 58 |
Hans-G?nter@22640 | 59 for i in 16 48 |
Hans-G?nter@22640 | 60 do |
Hans-G?nter@22640 | 61 cp -a $install/usr/share/icons/hicolor/${i}x$i \ |
Hans-G?nter@22640 | 62 $fs/usr/share/icons/hicolor |
Hans-G?nter@22640 | 63 done |
pankso@5639 | 64 } |