void-packages/srcpkgs/icewm/template
2021-06-28 11:18:47 -03:00

32 lines
1.1 KiB
Bash

# Template file for 'icewm'
pkgname=icewm
version=2.5.0
revision=1
build_style=cmake
make_cmd=make
configure_args="-DENABLE_LTO=ON -DCONFIG_LIBRSVG=ON -DENABLE_ALSA=ON
-DCONFIG_XPM=ON -DCONFIG_LIBJPEG=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 libXdamage-devel fribidi-devel imlib2-devel"
depends="shared-mime-info"
short_desc="Window Manager designed for speed, usability, and consistency"
maintainer="Glaulher <glaulher.developer@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://ice-wm.org/"
distfiles="https://github.com/ice-wm/icewm/archive/${version}.tar.gz"
checksum=d9f2545b73b617c6b5177883a7a4f754b61d3cc7098564fcf9f9a809ed2c11f1
# broken tests
make_check=no
# Ninja build files generation fails
export CMAKE_GENERATOR="Unix Makefiles"
# No c++ warnings for 'One Defintion Rules' and make sure LTO goes ok
CXXFLAGS="-Wno-odr -fno-strict-aliasing"
pre_install() {
cp lib/IceWM.jpg build/lib/IceWM.jpg
}