mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-08 09:21:30 +01:00
60 lines
1.2 KiB
Plaintext
60 lines
1.2 KiB
Plaintext
# Contributor: Paul Bredbury <brebs@sent.com>
|
|
# Maintainer: Paul Bredbury <brebs@sent.com>
|
|
pkgname=icewm
|
|
pkgver=2.6.0
|
|
pkgrel=0
|
|
pkgdesc="Window manager designed for speed, usability and consistency"
|
|
url="https://github.com/ice-wm/icewm"
|
|
arch="all"
|
|
options="!check" # No test suite
|
|
license="LGPL-2.0-only"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
makedepends="alsa-lib-dev
|
|
asciidoctor
|
|
cmake
|
|
fribidi-dev
|
|
glib-dev
|
|
imlib2-dev
|
|
libao-dev
|
|
libintl
|
|
libsm-dev
|
|
libsndfile-dev
|
|
libxcomposite-dev
|
|
libxdamage-dev
|
|
libxft-dev
|
|
libxinerama-dev
|
|
libxpm-dev
|
|
libxrandr-dev
|
|
perl"
|
|
|
|
source="https://github.com/ice-wm/icewm/releases/download/$pkgver/icewm-$pkgver.tar.lz"
|
|
|
|
case "$CARCH" in
|
|
s390x|mips*|riscv64)
|
|
;;
|
|
*)
|
|
makedepends="$makedepends librsvg-dev"
|
|
_arch_opts="-DCONFIG_LIBRSVG=ON"
|
|
;;
|
|
esac
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCFGDIR=/etc \
|
|
-DENABLE_NLS=OFF \
|
|
-DCONFIG_IMLIB2=ON \
|
|
-DENABLE_LTO=ON \
|
|
-DDOCDIR=/usr/share/doc/icewm $_arch_opts
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
|
|
sha512sums="
|
|
fe491c8c59aa530d48a20134857c787eccfeda5bd9529e063d865bd3c5f243ef41fbecba40aa06e7fa8037af89839958095debebc5d9b1acc9b5670bd0e12eb6 icewm-2.6.0.tar.lz
|
|
"
|