2009-11-23 03:53:10 +11:00
|
|
|
# Description: Midori is a lightweight web browser.
|
2013-09-30 20:27:19 +10:00
|
|
|
# URL: http://www.midori-browser.org/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2019-03-05 14:50:17 +11:00
|
|
|
# Depends on: aria2 desktop-file-utils gcr 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
|
|
|
|
source=(https://github.com/midori-browser/core/releases/download/v$version/$name-v$version.tar.gz)
|
2009-11-23 03:53:10 +11:00
|
|
|
|
|
|
|
build() {
|
2019-03-05 14:50:17 +11:00
|
|
|
cd $name-v$version
|
2017-11-26 22:17:56 +11:00
|
|
|
|
2013-12-08 18:58:51 +11:00
|
|
|
install -d build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2014-12-17 00:11:31 +11:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2017-11-26 22:17:56 +11:00
|
|
|
-DHALF_BRO_INCOM_WEBKIT2=ON \
|
2015-11-25 23:05:11 +11:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2019-03-05 14:50:17 +11:00
|
|
|
-DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
|
|
|
|
-DVALA_CFLAGS="$CFLAGS -fPIC -w" \
|
2015-11-25 23:05:11 +11:00
|
|
|
-DUSE_ZEITGEIST=OFF \
|
2014-12-17 00:11:31 +11:00
|
|
|
-G Ninja
|
2013-12-08 18:58:51 +11:00
|
|
|
|
2017-11-26 22:17:56 +11:00
|
|
|
ninja -j ${JOBS-1}
|
2014-12-17 00:11:31 +11:00
|
|
|
DESTDIR=$PKG ninja install
|
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
|
|
|
}
|