2020-06-14 23:31:38 +00:00
|
|
|
# Description: freedesktop.org backend for WPE WebKit
|
|
|
|
# URL: https://wpewebkit.org/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-08-01 22:38:57 +00:00
|
|
|
# Depends on: glib libepoxy libwpe wayland-protocols
|
2020-06-14 23:31:38 +00:00
|
|
|
|
|
|
|
name=wpebackend-fdo
|
2020-09-12 16:40:06 +00:00
|
|
|
version=1.8.0
|
2020-06-14 23:31:38 +00:00
|
|
|
release=1
|
|
|
|
source=(https://wpewebkit.org/releases/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2020-11-08 12:47:57 +00:00
|
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
|
|
|
-Wno-dev
|
2020-06-14 23:31:38 +00:00
|
|
|
cmake --build build
|
2020-07-08 13:01:36 +00:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-06-14 23:31:38 +00:00
|
|
|
}
|