wok-current rev 23803

updated awesome (3.5.1 -> 4.3)
author Hans-G?nter Theisgen
date Sun May 24 07:53:22 2020 +0100 (2020-05-24)
parents a8bde9afd23f
children 31ba14fadb9a
files awesome/receipt
line diff
     1.1 --- a/awesome/receipt	Sun May 24 07:28:37 2020 +0100
     1.2 +++ b/awesome/receipt	Sun May 24 07:53:22 2020 +0100
     1.3 @@ -1,32 +1,35 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="awesome"
     1.7 -VERSION="3.5.1"
     1.8 +VERSION="4.3"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Highly configurable framework window manager"
    1.11 +TAGS="window-manager"
    1.12 +SHORT_DESC="Highly configurable framework window manager."
    1.13  MAINTAINER="mallory@sweetpeople.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://awesome.naquadah.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WEB_SITE="http://awesome.naquadah.org/"
    1.19 -WGET_URL="${WEB_SITE}download/$TARBALL"
    1.20 -TAGS="window-manager"
    1.21 +WGET_URL="https://github.com/awesomeWM/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.22  
    1.23 -DEPENDS="cairo dbus gdk-pixbuf libxdg-basedir lgi lua startup-notification \
    1.24 -xcb-util-image xcb-util-keysyms xcb-util-wm xorg-libXcursor"
    1.25 -BUILD_DEPENDS="cmake xorg-libX11-dev libxcb-dev xcb-util-dev \
    1.26 -xcb-util-keysyms-dev xcb-util-image-dev xcb-util-wm-dev lua-dev pango-dev \
    1.27 -cairo-dev imlib2-dev dbus-dev libev-dev gperf cairo libxdg-basedir-dev \
    1.28 -startup-notification-dev imagemagick pkg-config freetype-dev fontconfig-dev \
    1.29 -libpng-dev libxdg-basedir-dev openexr libltdl gdk-pixbuf-dev \
    1.30 -xorg-libXcursor-dev lgi"
    1.31 +DEPENDS="cairo dbus gdk-pixbuf lgi libxdg-basedir libxkbcommon lua 
    1.32 +	pango-typelib startup-notification xcb-util-cursor xcb-util-image 
    1.33 +	xcb-util-keysyms xcb-util-renderutil xcb-util-wm"
    1.34 +BUILD_DEPENDS="cairo cairo-dev cmake dbus-dev fontconfig-dev freetype-dev 
    1.35 +	gdk-pixbuf-dev gperf imagemagick imlib2-dev lgi libev-dev libpng-dev 
    1.36 +	libltdl libxdg-basedir-dev libxkbcommon-dev lua-dev openexr pango-dev 
    1.37 +	pkg-config startup-notification-dev xcb-util-cursor-dev xcb-util-dev 
    1.38 +	xcb-util-image-dev xcb-util-keysyms-dev xcb-util-renderutil-dev 
    1.39 +	xcb-util-wm-dev xcb-util-xrm-dev xorg-libX11-dev"
    1.40  
    1.41  # Rules to configure and make the package.
    1.42  compile_rules()
    1.43  {
    1.44  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ldl"
    1.45  	export AWESOME_IGNORE_LGI=1
    1.46 -	make CMAKE_ARGS=" -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    1.47 -		-DXDG_CONFIG_DIR=/etc/xdg \
    1.48 +	make							\
    1.49 +		CMAKE_ARGS=" -DCMAKE_INSTALL_PREFIX:PATH=/usr	\
    1.50 +		-DXDG_CONFIG_DIR=/etc/xdg			\
    1.51  		-DCMAKE_BUILD_TYPE=RELEASE" &&
    1.52  	make install
    1.53  }
    1.54 @@ -34,37 +37,30 @@
    1.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.56  genpkg_rules()
    1.57  {
    1.58 -	cp -a $install/* $fs
    1.59 +	mkdir -p $fs/usr/share/lua
    1.60 +
    1.61 +	cp -a $install/*		$fs
    1.62  
    1.63  	# move lua scripts to lua directory
    1.64 -	mkdir -p $fs/usr/share/lua
    1.65 -	mv $fs/usr/share/awesome/lib $fs/usr/share/lua/5.2
    1.66 -
    1.67 -	# add pango typelibs
    1.68 -	# (not need to install pango-dev with full stack of dev packages)
    1.69 -	mkdir -p $fs/usr/lib
    1.70 -	cp -a $WOK/pango/install/usr/lib/girepository-1.0 $fs/usr/lib
    1.71 +	mv $fs/usr/share/awesome/lib	$fs/usr/share/lua/5.2
    1.72  }
    1.73  
    1.74  post_install()
    1.75  {
    1.76  	res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//)
    1.77  	# Adding WM to SLIM available sessions.
    1.78 -	if ! echo "$res" | grep -q $PACKAGE; then
    1.79 -		sed -i "s/^sessions.*/sessions            ${res},$PACKAGE/" "$1/etc/slim.conf"
    1.80 +	if ! echo "$res" | grep -q $PACKAGE
    1.81 +	  then
    1.82 +		sed -i "s/^sessions.*/sessions            ${res},$PACKAGE/" \
    1.83 +			"$1/etc/slim.conf"
    1.84  	fi
    1.85  }
    1.86  
    1.87  post_remove()
    1.88  {
    1.89  	# Remove WM from SLIM available sessions.
    1.90 -	if grep -q $PACKAGE "$1/etc/slim.conf"; then
    1.91 +	if grep -q $PACKAGE "$1/etc/slim.conf"
    1.92 +	  then
    1.93  		sed -i s/,$PACKAGE// "$1/etc/slim.conf"
    1.94  	fi
    1.95  }
    1.96 -
    1.97 -## -----------------------------------------------------------------------
    1.98 -## Revision: 03/Aug/2017 - SliTaz DevTeam.
    1.99 -## Website: "http://awesome.naquadah.org/" is OFF.
   1.100 -## This looks good? => https://awesomewm.org/
   1.101 -## !! Please, remove this after you update. Thank you.