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-08-31 13:53:21 +00:00
|
|
|
revision=5
|
2014-03-24 17:13:03 +00:00
|
|
|
lib32disabled=yes
|
2012-12-17 15:09:22 +00:00
|
|
|
build_style=cmake
|
2014-08-31 13:53:21 +00:00
|
|
|
build_options="consolekit"
|
|
|
|
build_options_default="consolekit"
|
|
|
|
configure_args="-DUSE_PAM=yes -DFREETYPE_INCLUDE_DIR_freetype2=${XBPS_CROSS_BASE}/usr/include/freetype2"
|
2013-10-05 07:12:20 +00:00
|
|
|
hostmakedepends="cmake pkg-config"
|
2014-08-31 13:53:21 +00:00
|
|
|
makedepends="libpng-devel>=1.6 freetype-devel libjpeg-turbo-devel libXrandr-devel
|
|
|
|
libXmu-devel libXft-devel pam-devel $(vopt_if consolekit 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"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://slim.berlios.de/"
|
2014-08-31 13:53:21 +00:00
|
|
|
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/slim/slim-${version}.tar.gz/d40d256394f9ef34cef34d2aa9cb52e6/slim-${version}.tar.gz"
|
2013-10-05 07:12:20 +00:00
|
|
|
checksum=21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df
|
2012-12-17 15:09:22 +00:00
|
|
|
|
2014-08-31 13:53:21 +00:00
|
|
|
if [ "$build_option_consolekit" ]; then
|
|
|
|
configure_args+=" -DUSE_CONSOLEKIT=1"
|
|
|
|
fi
|
|
|
|
|
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() {
|
|
|
|
vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim
|
|
|
|
}
|