Name libice
Description X11 Inter-Client Exchange library
Version 1.1.2-r0
Package Base libice
Homepage https://xorg.freedesktop.org/
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/libice
Sources ['https://www.x.org/releases/individual/lib/libICE-1.1.2-r0.tar.xz']
Dependencies ['libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies ['check-dev', 'util-macros', 'xmlto', 'xorgproto', 'xtrans']
Provides ['so:libICE.so.6=6.3.0']
Builddate 19-12-2024 18:05:35
Architecture x86_64
Distro-Version v3.22
Licenses ['X11']
Hash Q1f9SKx+OkwXbkD/WQs8kVNgAhD0g=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libice
pkgver=1.1.2
pkgrel=0
pkgdesc="X11 Inter-Client Exchange library"
url="https://xorg.freedesktop.org/"
arch="all"
license="X11"
makedepends="
	check-dev
	util-macros
	xmlto
	xorgproto
	xtrans
	"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/lib/libICE-$pkgver.tar.xz"
builddir="$srcdir/libICE-$pkgver"

# secfixes:
#   1.0.10-r0:
#     - CVE-2017-2626

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-ipv6 \
		--enable-docs \
		--with-xmlto \
		--without-fop
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
340f51ffa1f14ed442ab8bcea92dd63df147c48242e232e818cafe02f43de7ab6e99c5430b9cb8d0dc661295239d2b3f6bdb6a092ce51a98afa06235257e9b1f  libICE-1.1.2.tar.xz
"