2019-09-22 19:15:54 +10:00
|
|
|
# Description: General-purpose library for WPE WebKit
|
|
|
|
# URL: https://wpewebkit.org/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-12-13 17:48:47 +11:00
|
|
|
# Depends on: libxkbcommon mesa
|
2019-09-22 19:15:54 +10:00
|
|
|
|
|
|
|
name=libwpe
|
2023-02-03 18:52:27 +01:00
|
|
|
version=1.14.1
|
2019-09-22 19:15:54 +10:00
|
|
|
release=1
|
|
|
|
source=(https://wpewebkit.org/releases/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2021-01-28 21:30:46 +00:00
|
|
|
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
|
2019-09-22 19:15:54 +10:00
|
|
|
|
2020-04-16 19:36:55 +10:00
|
|
|
cmake --build build
|
2020-07-08 23:14:57 +10:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2019-09-22 19:15:54 +10:00
|
|
|
}
|