wok view gogglesmm/receipt @ rev 25641

Fix miss gogglesmm app icon for menu
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 07 10:30:54 2024 +0100 (4 months ago)
parents 20ad21d5532c
children
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="https://gogglesmm.github.io/"
11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
13 DEPENDS="fox xine-lib dbus curl sqlite taglib libpng jpeg expat tiff \
14 mesa libglu-mesa"
15 BUILD_DEPENDS="fox-dev sqlite taglib dbus-dev xine-lib-dev \
16 sqlite-dev taglib-dev curl-dev expat-dev xorg-xproto \
17 xorg-libX11-dev libgcrypt-dev mesa-dev pkg-config"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/gogglesmm/gogglesmm/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 # Fixed installing .mo files since busybox install commmand
31 # doesn't have -T option
32 sed -i 's| -T||g' $src/Makefile
33 ./configure \
34 --prefix=/usr \
35 --mandir=/usr/share/man \
36 --infodir=/usr/share/info \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr $fs/usr/share/pixmaps
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/applications $fs/usr/share
48 cp -a $install/usr/share/icons $fs/usr/share
49 rm -rf $fs/usr/share/icons/hicolor/scalable
50 cp -a $src/extra/gogglesmm_48.png $fs/usr/share/pixmaps/gogglesmm.png
51 }