29 lines
1,000 B
Bash
29 lines
1,000 B
Bash
# Template file for 'icewm'
|
|
pkgname=icewm
|
|
version=1.6.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DENABLE_LTO=ON -DCONFIG_LIBRSVG=ON -DENABLE_ALSA=ON -DCFGDIR=/etc/icewm"
|
|
hostmakedepends="asciidoc gettext-devel libtool mkfontdir perl pkg-config"
|
|
makedepends="libSM-devel libXft-devel libXinerama-devel libXpm-devel
|
|
libXrandr-devel libao-devel librsvg-devel libsndfile-devel libXcomposite-devel fribidi-devel"
|
|
depends="shared-mime-info"
|
|
short_desc="Window Manager designed for speed, usability, and consistency"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://ice-wm.org/"
|
|
distfiles="https://github.com/ice-wm/icewm/archive/${version}.tar.gz"
|
|
checksum=1008c17caa7d69a0bd29e5122efee278c99f0082b4c02b1e2a45c188ea9396dc
|
|
|
|
# No c++ warnings for 'One Defintion Rules' and make sure LTO goes ok
|
|
CXXFLAGS="-Wno-odr -fno-strict-aliasing"
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
makedepends+=" libXdamage-devel"
|
|
fi
|
|
|
|
|
|
pre_install() {
|
|
cp lib/IceWM.jpg build/lib/IceWM.jpg
|
|
}
|