awesome: update to 4.0 (#5423)

This commit is contained in:
Matthew Wynn 2016-12-26 12:58:15 -06:00 committed by Juan RP
parent 53f5540c0a
commit 132b61efa7
2 changed files with 7 additions and 17 deletions

View file

@ -1,11 +0,0 @@
--- CMakeLists.txt.orig 2016-03-03 23:43:53.903916566 +0100
+++ CMakeLists.txt 2016-03-03 23:44:03.708916323 +0100
@@ -266,7 +266,7 @@ macro(a_icon_convert match replacement i
set(ALL_ICONS ${ALL_ICONS} ${output})
add_custom_command(
- COMMAND ${CONVERT_EXECUTABLE} ${input} ${ARGN} ${output}
+ COMMAND ${CONVERT_EXECUTABLE} ${input} -strip ${ARGN} ${output}
OUTPUT ${output}
DEPENDS ${input}
VERBATIM)

View file

@ -1,6 +1,6 @@
# Template file for 'awesome' # Template file for 'awesome'
pkgname=awesome pkgname=awesome
version=3.5.9 version=4.0
revision=1 revision=1
build_style=cmake build_style=cmake
configure_args="-DSYSCONFDIR=/etc configure_args="-DSYSCONFDIR=/etc
@ -11,20 +11,21 @@ makedepends="
libxcb-devel pango-devel xcb-util-devel xcb-util-image-devel libxcb-devel pango-devel xcb-util-devel xcb-util-image-devel
xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel
startup-notification-devel imlib2-devel ImageMagick lgi startup-notification-devel imlib2-devel ImageMagick lgi
libxdg-basedir-devel gdk-pixbuf-devel lua52-devel dbus-devel" libxdg-basedir-devel gdk-pixbuf-devel lua52-devel dbus-devel
libxkbcommon-devel xcb-util-xrm-devel"
depends="dbus-x11 lgi>=0.7.2 pango" depends="dbus-x11 lgi>=0.7.2 pango"
conf_files="/etc/xdg/awesome/rc.lua" conf_files="/etc/xdg/awesome/rc.lua"
short_desc="Highly configurable, next gen framework window manager for X" short_desc="Highly configurable, next gen framework window manager for X"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2"
homepage="http://awesome.naquadah.org" homepage="http://awesomewm.org"
distfiles="${homepage}/download/${pkgname}-${version}.tar.xz" distfiles="https://github.com/awesomeWM/awesome-releases/raw/master/${pkgname}-${version}.tar.xz"
checksum=c7f8b5e4578751688d70ec8c410c55316e22bca8ec1195c622274f1f7254d64f checksum=5c009730126fcef6bdcb6939084c9736fa02debbe28a5adc1b66297dcc67f333
pre_configure() { pre_configure() {
# Russian manpages fail to build. # Russian manpages fail to build.
sed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt sed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt
sed -i -e "s|lua|lua5.2|g" build-utils/lgi-check.sh sed -i -e "s|lua |lua5.2 |g" build-utils/lgi-check.sh
} }
post_install() { post_install() {
vinstall awesome.desktop 644 usr/share/xsessions vinstall awesome.desktop 644 usr/share/xsessions