2013-01-12 16:54:14 +00:00
|
|
|
# Template file for 'WindowMaker'
|
|
|
|
pkgname=WindowMaker
|
2014-09-06 20:08:49 +00:00
|
|
|
version=0.95.6
|
2014-10-03 18:25:25 +00:00
|
|
|
revision=3
|
2013-01-12 16:54:14 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-xinerama --with-nlsdir=/usr/share/locale
|
2014-01-20 10:27:48 +00:00
|
|
|
--enable-usermenu --enable-modelock --enable-xrandr --disable-static"
|
|
|
|
hostmakedepends="automake libtool pkg-config"
|
|
|
|
makedepends="libXinerama-devel libXrandr-devel libXmu-devel libXpm-devel
|
2014-10-03 21:39:49 +00:00
|
|
|
libXpm-devel libXft-devel libpng-devel>=1.6 tiff-devel giflib-devel>=5.1.0
|
2014-01-20 10:27:48 +00:00
|
|
|
fontconfig-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/WindowMaker/WindowMaker
|
|
|
|
/etc/WindowMaker/WMRootMenu
|
|
|
|
/etc/WindowMaker/WMWindowAttributes
|
|
|
|
/etc/WindowMaker/WMState
|
|
|
|
/etc/WindowMaker/WMGLOBA"
|
2013-01-12 16:54:14 +00:00
|
|
|
short_desc="An X11 window manager with a NEXTSTEP look and feel"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.windowmaker.org/"
|
|
|
|
distfiles="http://windowmaker.org/pub/source/release/${pkgname}-${version}.tar.gz"
|
2014-09-06 20:08:49 +00:00
|
|
|
checksum=435b0b4a318a3a00e8267f02cdbd826ad547b1f54259d193ce43e9a77ce06dc4
|
2014-01-20 10:27:48 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
2014-10-03 21:39:49 +00:00
|
|
|
# make it build with giflib-5.1.0
|
|
|
|
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
|
|
|
|
sed -i "/DGifCloseFile/s:gif:&, NULL:g" wrlib/load_gif.c
|
2014-01-20 10:27:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_configure() {
|
|
|
|
# Remove hardcoded /usr/{include,lib} paths!
|
|
|
|
find ${wrksrc} -name Makefile -exec sed 's,-L${libdir},,g;s,-I${includedir},,g' -i {} \;
|
|
|
|
}
|
2013-01-12 16:54:14 +00:00
|
|
|
|
|
|
|
post_install() {
|
2014-09-06 20:08:49 +00:00
|
|
|
vlicense COPYING.WTFPL
|
2013-01-12 16:54:14 +00:00
|
|
|
vinstall ${FILESDIR}/wmaker.desktop 644 usr/share/xsessions
|
|
|
|
}
|
2013-04-12 07:01:46 +00:00
|
|
|
|
|
|
|
WindowMaker-devel_package() {
|
2014-01-20 10:27:48 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-04-30 08:24:56 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 07:01:46 +00:00
|
|
|
pkg_install() {
|
2013-04-16 12:04:41 +00:00
|
|
|
vmove usr/include
|
2014-01-20 10:27:48 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-16 12:04:41 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-12 07:01:46 +00:00
|
|
|
}
|
|
|
|
}
|