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.
This commit is contained in:
q66 2019-12-01 23:20:32 +01:00 committed by Helmut Pozimski
parent d812a96a7b
commit f47b637c73

View file

@ -9,7 +9,7 @@ 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"
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>"
@ -21,12 +21,6 @@ checksum=daa9c5b5850a26599f55d463ed250550c0309fd657cd20a5ac862976e7e8d3f9
# 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
}