awesome: use lua-5.3

This commit is contained in:
Christian Buschau 2018-12-20 15:44:46 +01:00 committed by maxice8
parent b45f3327ea
commit ecb7484b24
1 changed files with 7 additions and 11 deletions

View File

@ -1,23 +1,20 @@
# Template file for 'awesome' # Template file for 'awesome'
pkgname=awesome pkgname=awesome
version=4.2 version=4.2
revision=1 revision=2
build_style=cmake build_style=cmake
configure_args="-DSYSCONFDIR=/etc configure_args="-DSYSCONFDIR=/etc"
-DLUA_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/lua5.2 conf_files="/etc/xdg/awesome/rc.lua"
-DLUA_LIBRARY=${XBPS_CROSS_BASE}/usr/lib/liblua5.2.so.5.2" hostmakedepends="asciidoc ImageMagick lgi lua pkg-config xmlto"
hostmakedepends="xmlto asciidoc pkg-config"
makedepends=" 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 lgi libxdg-basedir-devel
libxdg-basedir-devel gdk-pixbuf-devel lua52-devel dbus-devel gdk-pixbuf-devel lua-devel dbus-devel libxkbcommon-devel xcb-util-xrm-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"
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.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2" license="GPL-2.0-or-later"
homepage="http://awesomewm.org" homepage="http://awesomewm.org"
distfiles="https://github.com/awesomeWM/awesome/releases/download/v${version}/awesome-${version}.tar.xz" distfiles="https://github.com/awesomeWM/awesome/releases/download/v${version}/awesome-${version}.tar.xz"
checksum=ac5da1a99f5fad083821993d2b56d1cd9594164eafc0be2beb540598345d974f checksum=ac5da1a99f5fad083821993d2b56d1cd9594164eafc0be2beb540598345d974f
@ -25,7 +22,6 @@ checksum=ac5da1a99f5fad083821993d2b56d1cd9594164eafc0be2beb540598345d974f
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
} }
post_install() { post_install() {
vinstall awesome.desktop 644 usr/share/xsessions vinstall awesome.desktop 644 usr/share/xsessions