wok-next view gnome-mplayer/receipt @ rev 19778

glib: no more libgio package:
As ldd show, libgio-2.0.so (from former libgio package) depends on libgobject-2.0.so.0, libgmodule-2.0.so.0, libglib-2.0.so.0 (from former glib package): libgio package depends on glib package.
In other hand, binaries from former glib package (gsettings, gapplication, gresource, gio-querymodules, glib-compile-resources, gdbus, gio) depends on libglib-2.0.so.0: glib package depends on libgio package.

Solution: packages was combined. Use 'glib' instead of 'libgio', as well as glib-dev instead of libgio-dev.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 16 14:56:07 2017 +0300 (2017-06-16)
parents 5e89c125c736
children ea3c4b76ea5d
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="http://gnome-mplayer.googlecode.com/"
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --disable-schemas-install \
24 --without-gconf \
25 --disable-nautilus \
26 --disable-panscan \
27 --without-libmusicbrainz3 &&
28 make &&
29 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/glib-2.0 $fs/usr/share
39 cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
40 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $install/usr/share/applications/$PACKAGE.desktop
41 }