2018-04-14 18:05:26 +10:00
|
|
|
# Description: xorg xorgproto
|
|
|
|
# URL: http://xorg.freedesktop.org
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: xorg-xorgproto
|
|
|
|
|
|
|
|
name=xorg-xorgproto-32
|
2024-03-28 23:57:35 +01:00
|
|
|
version=2024.1
|
2018-04-14 18:05:26 +10:00
|
|
|
release=1
|
2022-09-03 13:40:44 +02:00
|
|
|
source=(https://xorg.freedesktop.org/archive/individual/proto/xorgproto-$version.tar.xz)
|
2018-04-14 18:05:26 +10:00
|
|
|
|
|
|
|
build() {
|
2021-09-17 23:10:36 +02:00
|
|
|
meson setup xorgproto-$version build \
|
2018-04-14 18:05:26 +10:00
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
2021-09-17 23:10:36 +02:00
|
|
|
--datadir=/usr/lib32 \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D legacy=false
|
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2018-04-14 18:05:26 +10:00
|
|
|
|
2021-09-17 23:10:36 +02:00
|
|
|
rm -r $PKG/usr/include $PKG/usr/lib32/doc $PKG/usr/lib32/pkgconfig/applewmproto.pc
|
2018-04-14 18:05:26 +10:00
|
|
|
}
|