wok view gnome-mplayer/receipt @ rev 24740
updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:07:05 2022 +0100 (2022-03-16) |
parents | e3f377fbc5f0 |
children | 9b180a3071fb |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-mplayer"
4 VERSION="1.0.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="simple MPlayer GUI"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sites.google.com/site/kdekorte2/gnomemplayer"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="player audio video movie mp3 ogg dvd"
14 DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod"
15 BUILD_DEPENDS="$DEPENDS dbus-dev dbus-glib-dev libnotify-dev libgpod-dev pkg-config xorg-libX11-dev libxcb-dev gtk+-dev xorg-libXss-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/kdekorte/gnome-mplayer/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr \
29 --sysconfdir=/etc \
30 --disable-schemas-install \
31 --without-gconf \
32 --disable-nautilus \
33 --disable-panscan \
34 --without-libmusicbrainz3 &&
35 make &&
36 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/glib-2.0 $fs/usr/share
46 cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
47 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $install/usr/share/applications/$PACKAGE.desktop
48 }