Skip to content

Commit

Permalink
[Wayland] Add FreeBSD platform (#7381)
Browse files Browse the repository at this point in the history
  • Loading branch information
barche authored Sep 20, 2023
1 parent 6fc2896 commit b6c0719
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions W/Wayland/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ sources = [
script = raw"""
cd $WORKSPACE/srcdir/wayland-*/
# We need to run `wayland-scanner` of the same version on the host system
apk add wayland-dev --repository=http://dl-cdn.alpinelinux.org/alpine/v3.17/main
ln -s `which wayland-scanner` $bindir
cp $prefix/libdata/pkgconfig/* $prefix/lib/pkgconfig || true
mkdir build-wayland
Expand All @@ -26,11 +26,12 @@ meson .. \
-Ddocumentation=false
ninja -j${nproc}
ninja install
rm -f $prefix/lib/pkgconfig/epoll-shim*.pc
"""

# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = filter!(Sys.islinux, supported_platforms(; experimental=true))
platforms = filter(p -> arch(p) != "armv6l" && (Sys.islinux(p) || Sys.isfreebsd(p)), supported_platforms())

# The products that we will ensure are always built
products = [
Expand All @@ -46,6 +47,8 @@ dependencies = [
Dependency("Expat_jll"; compat="2.2.10"),
Dependency("Libffi_jll"; compat="~3.2.2"),
Dependency("XML2_jll"),
Dependency("EpollShim_jll"),
HostBuildDependency("Wayland_jll"),
]

# Build the tarballs.
Expand Down

0 comments on commit b6c0719

Please sign in to comment.