wok-current view deadbeef/receipt @ rev 24036

created recipe for autoconf-archive 2021.02.19)
author Hans-G?nter Theisgen
date Sun Apr 11 16:42:15 2021 +0100 (2021-04-11)
parents 7f25ad61db56
children 640a2eba2511
line source
1 # SliTaz package receipt.
3 PACKAGE="deadbeef"
4 VERSION="1.8.2"
5 CATEGORY="multimedia"
6 TAGS="music audio player mp3 ogg ape"
7 SHORT_DESC="Simple to use GTK+ audio player with systray support."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2 LGPL2.1"
10 WEB_SITE="https://deadbeef.sourceforge.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SUGGESTED="deadbeef-plugins cdparanoia-III"
16 DEPENDS="alsa-lib atk cairo fontconfig freetype gdk-pixbuf glib gtk+
17 jansson libgio libmad libvorbis pango xorg-libX11"
18 BUILD_DEPENDS="alsa-lib-dev cdparanoia-III-dev curl-dev flac-dev gettext
19 gtk+-dev intltool jansson-dev libcddb-dev libcdio-dev libcurl
20 libmad-dev libogg-dev libsamplerate-dev libsndfile libsndfile-dev
21 libvorbis-dev libzip-dev util-linux-uuid-dev yasm zlib-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 mkdir -p $fs/usr/lib/deadbeef
36 mkdir -p $fs/usr/share
37 mkdir -p $fs/usr/share/icons/hicolor
39 cp -a $install/usr/bin $fs/usr
41 for i in alsa ddb_gui_GTK2 hotkeys vorbis mp3
42 do
43 cp -a $install/usr/lib/deadbeef/$i.so $fs/usr/lib/deadbeef
44 done
46 for i in applications doc deadbeef
47 do
48 cp -a $install/usr/share/$i $fs/usr/share
49 done
51 for i in 16 48
52 do
53 cp -a $install/usr/share/icons/hicolor/${i}x$i \
54 $fs/usr/share/icons/hicolor
55 done
56 }