conky: add lua-cairo binding
This commit is contained in:
parent
0cd9b78401
commit
bcf7a27d69
1 changed files with 15 additions and 6 deletions
|
@ -1,15 +1,17 @@
|
||||||
# Template file for 'conky'
|
# Template file for 'conky'
|
||||||
pkgname=conky
|
pkgname=conky
|
||||||
version=1.10.1
|
version=1.10.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
-DCMAKE_BUILD_TYPE=Release -DMAINTAINER_MODE=ON -DDOC_PATH=share/${pkgname}
|
-DCMAKE_BUILD_TYPE=Release -DMAINTAINER_MODE=ON -DDOC_PATH=share/${pkgname}
|
||||||
-DBUILD_X11=ON -DBUILD_CURL=ON -DBUILD_XDBE=ON -DBUILD_RSS=ON -DBUILD_WEATHER_METAR=ON
|
-DBUILD_X11=ON -DBUILD_CURL=ON -DBUILD_XDBE=ON -DBUILD_RSS=ON -DBUILD_WEATHER_METAR=ON
|
||||||
-DBUILD_WEATHER_XOAP=ON -DBUILD_IMLIB2=ON -DBUILD_WLAN=ON"
|
-DBUILD_WEATHER_XOAP=ON -DBUILD_IMLIB2=ON -DBUILD_WLAN=ON -DBUILD_LUA_CAIRO=ON
|
||||||
hostmakedepends="cmake libtool pkg-config docbook2x man-db git"
|
-DBUILD_LUA_IMLIB2=ON -DBUILD_LUA_RSVG=ON -DBUILD_XSHAPE=ON"
|
||||||
makedepends="lua-devel alsa-lib-devel libglib-devel libxml2-devel libXft-devel
|
hostmakedepends="cmake libtool pkg-config docbook2x man-db git toluapp"
|
||||||
libXdamage-devel imlib2-devel wireless_tools-devel libcurl-devel ncurses-devel"
|
makedepends="lua51-devel toluapp-devel glibc-devel librsvg-devel alsa-lib-devel
|
||||||
|
libxml2-devel libXft-devel libXdamage-devel imlib2-devel wireless_tools-devel
|
||||||
|
libcurl-devel ncurses-devel"
|
||||||
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
|
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
|
||||||
short_desc="Lightweight system monitor for X"
|
short_desc="Lightweight system monitor for X"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -19,7 +21,14 @@ distfiles="https://github.com/brndnmtthws/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=b4e66a71e8211d02b8dbe8cd4873af209af25326e63afd90c90ba9416c79cf21
|
checksum=b4e66a71e8211d02b8dbe8cd4873af209af25326e63afd90c90ba9416c79cf21
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '1iinclude(CheckIncludeFile)' cmake/ConkyPlatformChecks.cmake
|
sed -i \
|
||||||
|
-e '1iinclude(CheckIncludeFile)' \
|
||||||
|
-e 's/(LUA REQUIRED lua5.2 lua-5.2 lua>=5.1 lua5.1 lua-5.1)/(LUA REQUIRED lua5.1 lua-5.1)/g' \
|
||||||
|
-e 's/(APP_TOLUA NAMES tolua++ tolua++5.1 tolua++-5.1)/(APP_TOLUA NAMES toluapp)/g' \
|
||||||
|
-e 's/(FATAL_ERROR "Unable to find program '\''tolua++'\''")/(FATAL_ERROR "Unable to find program '\''toluapp'\''")/g' \
|
||||||
|
-e 's/(TOLUA_LIBS NAMES tolua++ tolua++5.1 tolua++-5.1)/(TOLUA_LIBS NAMES toluapp)/g' \
|
||||||
|
-e 's/(FATAL_ERROR "Unable to find tolua++ library")/(FATAL_ERROR "Unable to find toluapp library")/g' \
|
||||||
|
cmake/ConkyPlatformChecks.cmake
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue