void-packages/srcpkgs/icewm/template
q66 f47b637c73 icewm: always makedepend on libXdamage-devel
The previous condition was just wrong - the reason it "worked"
was that on x86_64 etc it's installed through cairo's enabled
opengl backend (which pulls in mesa, which pulls in xdamage)
while this is not enabled on 32-bit arm crosstargets.
2019-12-02 19:57:40 +01:00

26 lines
952 B
Bash

# Template file for 'icewm'
pkgname=icewm
version=1.6.3
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 libXdamage-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=daa9c5b5850a26599f55d463ed250550c0309fd657cd20a5ac862976e7e8d3f9
# 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
}