slim: update to 1.3.6.
This commit is contained in:
parent
c15bf6cefa
commit
ffc08f498c
19
srcpkgs/slim/patches/slim-1.3.6-fix-libslim-libraries.patch
Normal file
19
srcpkgs/slim/patches/slim-1.3.6-fix-libslim-libraries.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- CMakeLists.txt 2013-10-02 16:16:22.000000000 +0300
|
||||||
|
+++ CMakeLists.txt 2013-10-02 16:19:57.000000000 +0300
|
||||||
|
@@ -119,6 +119,7 @@ if(USE_PAM)
|
||||||
|
if(PAM_FOUND)
|
||||||
|
message("\tPAM Found")
|
||||||
|
set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
|
||||||
|
+ target_link_libraries(libslim ${PAM_LIBRARY})
|
||||||
|
target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
|
||||||
|
target_link_libraries(slimlock ${PAM_LIBRARY})
|
||||||
|
include_directories(${PAM_INCLUDE_DIR})
|
||||||
|
@@ -178,6 +179,8 @@ include_directories(
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(libslim
|
||||||
|
+ ${X11_Xft_LIB}
|
||||||
|
+ ${X11_Xrandr_LIB}
|
||||||
|
${JPEG_LIBRARIES}
|
||||||
|
${PNG_LIBRARIES}
|
||||||
|
)
|
@ -1,22 +1,20 @@
|
|||||||
# Template file for 'slim'
|
# Template file for 'slim'
|
||||||
pkgname=slim
|
pkgname=slim
|
||||||
version=1.3.5
|
version=1.3.6
|
||||||
revision=3
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DUSE_PAM=yes -DUSE_CONSOLEKIT=no"
|
configure_args="-DUSE_PAM=yes -DUSE_CONSOLEKIT=no"
|
||||||
|
hostmakedepends="cmake pkg-config"
|
||||||
|
makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libXrandr-devel libXmu-devel libXft-devel pam-devel"
|
||||||
short_desc="Desktop-independent graphical login manager for X11"
|
short_desc="Desktop-independent graphical login manager for X11"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://slim.berlios.de/"
|
homepage="http://slim.berlios.de/"
|
||||||
distfiles="http://download.berlios.de/slim/slim-${version}.tar.gz"
|
distfiles="http://download.berlios.de/slim/slim-${version}.tar.gz"
|
||||||
checksum=818d209f51e2fa8d5b94ef75ce90a7415be48b45e796d66f8083a9532b655629
|
checksum=21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df
|
||||||
|
|
||||||
# XXX make cmake find host libraries .
|
|
||||||
makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libX11-devel libXmu-devel libXft-devel pam-devel"
|
|
||||||
hostmakedepends="cmake pkg-config ${makedepends}"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's|usr/lib/systemd/system|/&|' CMakeLists.txt
|
sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user