mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
62 lines
1.6 KiB
Bash
62 lines
1.6 KiB
Bash
SUMMARY="In-process Wayland server"
|
|
DESCRIPTION="Implementation of the Wayland protocols over the Haiku API. Unlike regular Wayland \
|
|
server implementations, Haiku in-process Wayland server does not run as a separate server process \
|
|
but loads as an add-on into each Wayland client instead. It doesn't do compositing by itself, but \
|
|
uses existing Haiku capabilities such as native Haiku windows and bitmap drawing API."
|
|
HOMEPAGE="https://github.com/X547/wayland-server"
|
|
COPYRIGHT="2022-2023 X512"
|
|
LICENSE="GNU LGPL v2.1
|
|
MIT"
|
|
REVISION="1"
|
|
srcGitRev="1e3eb35b40bc54438594bd959b553ecd619333fc"
|
|
SOURCE_URI="https://github.com/X547/wayland-server/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="bdd6a16864ebfecc97e8896f67bf91daa0bcd5e3d8854f7146e15136bf496947"
|
|
PATCHES="wayland_server-$portVersion.patchset"
|
|
SOURCE_DIR="wayland-server-$srcGitRev"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
wayland_server$secondaryArchSuffix = $portVersion
|
|
lib:wayland_server_inproc$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libwayland_client$secondaryArchSuffix
|
|
lib:libwayland_server$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
wayland_protocols
|
|
devel:libwayland_client$secondaryArchSuffix
|
|
devel:libwayland_server$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:meson
|
|
cmd:ninja
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:wayland_scanner
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
meson build --buildtype=release \
|
|
--prefix=$prefix \
|
|
--libdir=$libDir
|
|
ninja -C build
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
ninja -C build install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
ninja -C build test
|
|
}
|