diff options
Diffstat (limited to 'main/slim/APKBUILD')
-rw-r--r-- | main/slim/APKBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/main/slim/APKBUILD b/main/slim/APKBUILD index bce7f473e..d4f62395c 100644 --- a/main/slim/APKBUILD +++ b/main/slim/APKBUILD @@ -1,22 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=slim -pkgver=1.3.2 -pkgrel=3 +pkgver=1.3.5 +pkgrel=0 pkgdesc="Desktop-independent graphical login manager for X11" url="http://slim.berlios.de/" arch="all" license="GPL-2" subpackages="$pkgname-doc" -makedepends="libxmu-dev libpng-dev jpeg-dev libxft-dev" +makedepends="libxmu-dev libpng-dev libjpeg-turbo-dev libxft-dev + cmake linux-pam-dev" depends= install= source="http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz http://dev.alpinelinux.org/~ncopa/alpine/slim-alpinelinux.tar.gz + pthread.patch $pkgname.logrotate $pkgname.initd - slim-restart.patch - slim-png15.patch - pthread.patch " prepare() { @@ -27,9 +26,6 @@ prepare() { esac done - #libpng 1.4.0 - sed -i -e 's/png12/png15/g' Makefile || return 1 - sed -i -e 's|#xserver_arguments.*|xserver_arguments -nolisten tcp vt07|'\ -e 's|/var/run/slim.lock|/var/lock/slim.lock|' \ -e 's|halt_cmd.*|halt_cmd /sbin/poweroff|'\ @@ -44,6 +40,15 @@ prepare() { build() { cd "$srcdir/slim-$pkgver" + cmake . \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DUSE_PAM=no \ + -DUSE_CONSOLEKIT=no \ + || return 1 + + make CXX="${CXX:-g++}" CC="${CC:-gcc}" || return 1 } @@ -62,10 +67,8 @@ package() { rm -rf "$pkgdir"/usr/share/slim/themes/default } -md5sums="ca1ae6120e6f4b4969f2d6cf94f47b42 slim-1.3.2.tar.gz +md5sums="1153e6993f9c9333e4cf745411d03472 slim-1.3.5.tar.gz cd63232c7770b0e67a009a94c2a46b82 slim-alpinelinux.tar.gz +a2fc2874a3bb2470a96dfa2a34833d05 pthread.patch 43da096480bf72c3ccec8ad8400f34f0 slim.logrotate -6ee3a023e56052528295034be809cfc6 slim.initd -648d871fe7d2a97b7d7b928019e2feee slim-restart.patch -8f63afd7cd390cb8d65f10fb167d4a71 slim-png15.patch -49cb6cae0b8aa6980b88f90dad2524cf pthread.patch" +6ee3a023e56052528295034be809cfc6 slim.initd" |