23 lines
588 B
Plaintext
23 lines
588 B
Plaintext
# Description: General-purpose library for WPE WebKit
|
|
# URL: https://wpewebkit.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: libxkbcommon mesa
|
|
|
|
name=libwpe
|
|
version=1.14.2
|
|
release=1
|
|
source=(https://wpewebkit.org/releases/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
-Wno-dev
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|