2012-12-17 15:09:22 +00:00
|
|
|
# Template file for 'slim'
|
|
|
|
pkgname=slim
|
2013-10-05 07:12:20 +00:00
|
|
|
version=1.3.6
|
2014-11-04 16:59:53 +00:00
|
|
|
revision=8
|
2014-03-24 17:13:03 +00:00
|
|
|
lib32disabled=yes
|
2012-12-17 15:09:22 +00:00
|
|
|
build_style=cmake
|
2014-11-04 16:59:53 +00:00
|
|
|
build_options="systemd"
|
|
|
|
configure_args="$(vopt_if systemd '-DUSE_CONSOLEKIT=0' '-DUSE_CONSOLEKIT=1') -DUSE_PAM=yes
|
2014-10-13 14:41:13 +00:00
|
|
|
-DFREETYPE_INCLUDE_DIR_freetype2=${XBPS_CROSS_BASE}/usr/include/freetype2"
|
2013-10-05 07:12:20 +00:00
|
|
|
hostmakedepends="cmake pkg-config"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="libpng-devel freetype-devel libjpeg-turbo-devel libXrandr-devel
|
2014-11-04 16:59:53 +00:00
|
|
|
libXmu-devel libXft-devel pam-devel $(vopt_if systemd systemd-devel ConsoleKit-devel)"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/slim.conf /etc/pam.d/slim"
|
2012-12-17 15:09:22 +00:00
|
|
|
short_desc="Desktop-independent graphical login manager for X11"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-12-17 15:09:22 +00:00
|
|
|
license="GPL-2"
|
2014-11-02 15:39:09 +00:00
|
|
|
homepage="http://sourceforge.net/projects/slim.berlios/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}.berlios/${pkgname}-${version}.tar.gz"
|
2013-10-05 07:12:20 +00:00
|
|
|
checksum=21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df
|
2012-12-17 15:09:22 +00:00
|
|
|
|
2013-01-19 10:06:07 +00:00
|
|
|
pre_configure() {
|
2013-10-05 07:12:20 +00:00
|
|
|
sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt
|
2013-01-19 10:06:07 +00:00
|
|
|
}
|
2012-12-17 15:09:22 +00:00
|
|
|
post_install() {
|
2014-10-13 14:41:13 +00:00
|
|
|
vsv slim
|
2012-12-17 15:09:22 +00:00
|
|
|
vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim
|
|
|
|
}
|