2009-11-23 03:53:10 +11:00
|
|
|
# Description: Midori is a lightweight web browser.
|
2020-07-12 18:48:11 +00:00
|
|
|
# URL: https://www.midori-browser.org/
|
2023-06-30 16:44:34 -04:00
|
|
|
# Maintainer: UNMAINTAINED
|
|
|
|
# Depends on: aria2 desktop-file-utils gcr3 gst-libav gst-plugins-good json-glib libnotify libpeas webkitgtk xorg-libxscrnsaver
|
2009-11-23 03:53:10 +11:00
|
|
|
|
|
|
|
name=midori
|
2019-10-26 12:43:04 +11:00
|
|
|
version=9.0
|
2019-03-05 14:50:17 +11:00
|
|
|
release=1
|
2023-06-30 16:44:34 -04:00
|
|
|
_shasum=0cc28643593f53c47b453838152dcbe35a9a287bff38bda830844eb8f321a4f48c99b21e16a9b07bebdd0abc936d88fd759c3222a36325aa667a28ae00148be3
|
|
|
|
source=(https://src.fedoraproject.org/repo/pkgs/$name/$name-v$version.tar.gz/sha512/$_shasum/$name-v$version.tar.gz)
|
2009-11-23 03:53:10 +11:00
|
|
|
|
|
|
|
build() {
|
2020-11-08 09:13:24 +00:00
|
|
|
cmake -S $name-v$version -B build -G Ninja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2020-12-06 23:58:37 +00:00
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -fPIC -w" \
|
2020-11-08 12:00:40 +00:00
|
|
|
-Wno-dev
|
2017-11-26 22:17:56 +11:00
|
|
|
|
2020-11-08 09:13:24 +00:00
|
|
|
cmake --build build -j ${JOBS-1}
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2013-12-08 18:58:51 +11:00
|
|
|
|
2009-11-23 03:57:35 +11:00
|
|
|
rm -r $PKG/usr/share/{doc,locale}
|
2009-11-23 03:53:10 +11:00
|
|
|
}
|