30 lines
940 B
Plaintext
30 lines
940 B
Plaintext
# Description: A GNOME web browser based on the WebKit rendering engine
|
|
# URL: https://gitlab.gnome.org/GNOME/epiphany
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: appstream libhandy libportal iso-codes webkitgtk-60 gcr libadwaita
|
|
# Optional: gst-plugins-good gst-plugins-bad gst-libav libnotify enchant
|
|
|
|
name=epiphany
|
|
version=45.0
|
|
release=1
|
|
source=(https://gitlab.gnome.org/GNOME/$name/-/archive/$version/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# fail the build if libportal was not compiled against gtk4
|
|
[ -e /usr/lib/pkgconfig/libportal-gtk4.pc ] || \
|
|
{ echo "You need to rebuild libportal with gtk4 installed."; exit 1; }
|
|
|
|
sed -e "/^subdir('po')/d" \
|
|
-i meson.build
|
|
|
|
meson setup build \
|
|
--prefix="/usr" --libexecdir="/usr/lib" \
|
|
-Ddeveloper_mode=false
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
DESTDIR="${PKG}" meson install -C build
|
|
rm -r "${PKG}/usr/share/help"
|
|
}
|