wok-next view gogglesmm/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents ac4c22275bd3
children c0521c689857
line source
1 # SliTaz package receipt.
3 PACKAGE="gogglesmm"
4 VERSION="0.12.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Goggles Music Manager is nice a music collection manager and player."
7 MAINTAINER="chadi.elahmad@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://code.google.com/p/gogglesmm/"
11 WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL"
13 DEPENDS="fox xine-lib dbus curl sqlite3 taglib libpng16 jpeg expat tiff \
14 mesa libglu-mesa"
15 BUILD_DEPENDS="fox-dev sqlite3 taglib dbus-dev xine-lib-dev \
16 sqlite3-dev taglib-dev curl-dev expat-dev xorg-xproto \
17 xorg-libX11-dev libgcrypt-dev mesa-dev libglu-mesa-dev pkg-config"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/0x80/-128/g' src/gmutils.cpp
23 # Fixed installing .mo files since busybox install commmand
24 # doesn't have -T option
25 sed -i 's| -T||g' $src/Makefile
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 --infodir=/usr/share/info \
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 $fs/usr/share/pixmaps
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/applications $fs/usr/share
41 cp -a $src/extra/*.png $fs/usr/share/pixmaps
42 }