wok-next diff mate-screensaver/receipt @ rev 20116
gimp: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 17:57:51 2017 +0100 (2017-10-30) |
parents | e863f2041090 |
children | b278b2018965 |
line diff
1.1 --- a/mate-screensaver/receipt Sun Aug 09 17:29:42 2015 -0300 1.2 +++ b/mate-screensaver/receipt Mon Oct 30 17:57:51 2017 +0100 1.3 @@ -1,35 +1,48 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="mate-screensaver" 1.8 -VERSION="1.9.1" 1.9 -CATEGORY="utilities" 1.10 -LICENSE="GPL3" 1.11 -SHORT_DESC="Screensaver for MATE desktop." 1.12 +VERSION="1.18.1" 1.13 +CATEGORY="x-window" 1.14 +SHORT_DESC="MATE screen saver and locker" 1.15 MAINTAINER="yuripourre@gmail.com" 1.16 +LICENSE="GPL2" 1.17 +WEB_SITE="https://github.com/mate-desktop/mate-screensaver" 1.18 + 1.19 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.20 -WEB_SITE="http://www.mate-desktop.org/" 1.21 -WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" 1.22 -TAGS="MATE" 1.23 -DEPENDS="" 1.24 -BUILD_DEPENDS="wget cacerts autoconf automake libtool itstool \ 1.25 -mate-common-dev mate-desktop-dev mate-menus-dev dbus-glib-dev \ 1.26 -dconf-dev gtk+-dev xorg-libXScrnSaver-dev util-linux-uuid-dev" 1.27 +WGET_URL="https://github.com/mate-desktop/mate-screensaver/archive/v$VERSION.tar.gz" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - ./autogen.sh \ 1.33 - --prefix=/usr \ 1.34 +BUILD_DEPENDS="mate-common xorg-libX11-dev xorg-libXScrnSaver-dev gtk+3-dev \ 1.35 +dbus-glib-dev mate-desktop-dev mate-menus-dev xmlto xorg-libXext-dev \ 1.36 +mesa17-dev libmatekbd-dev libnotify-gtk3-dev" 1.37 +SPLIT="mate-screensaver-dev" 1.38 + 1.39 +compile_rules() { 1.40 + ./autogen.sh \ 1.41 + --sysconfdir=/etc \ 1.42 + --localstatedir=/var \ 1.43 $CONFIGURE_ARGS && 1.44 make && 1.45 - make DESTDIR=$DESTDIR install 1.46 + make install 1.47 } 1.48 1.49 -genpkg_rules() 1.50 -{ 1.51 - mkdir -p $fs/usr 1.52 - cp -a $install/usr/bin $fs/usr 1.53 - cp -a $install/usr/etc $fs/usr 1.54 - cp -a $install/usr/libexec $fs/usr 1.55 - cp -a $install/usr/share $fs/usr 1.56 +genpkg_rules() { 1.57 + case $PACKAGE in 1.58 + mate-screensaver) 1.59 + copy @std 1.60 + DEPENDS=" atk bzlib cairo dbus dbus-glib dconf expat fontconfig \ 1.61 + freetype gdk-pixbuf glib gtk+3 libdrm libffi libharfbuzz liblzma \ 1.62 + libmatekbd libnotify-gtk3 libpng16 libxklavier libxml2 \ 1.63 + mate-desktop mate-menus mesa17 pango pcre startup-notification \ 1.64 + util-linux-blkid util-linux-mount util-linux-uuid xorg-libICE \ 1.65 + xorg-libSM xorg-libX11 xorg-libXScrnSaver xorg-libXau \ 1.66 + xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ 1.67 + xorg-libXi xorg-libXrandr xorg-libXrender xorg-libXxf86vm \ 1.68 + xorg-libxcb xorg-libxkbfile xorg-libxshmfence xorg-pixman \ 1.69 + xorg-xcb-util zlib" 1.70 + ;; 1.71 + *-dev) 1.72 + copy @dev 1.73 + ;; 1.74 + esac 1.75 + TAGS="MATE" 1.76 }