2022-02-05 15:39:19 -05:00
|
|
|
# Description: graphical gemini browser using SDL
|
|
|
|
# URL: https://gmi.skyjake.fi/lagrange/
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
# Depends on: libsdl2 libunistring
|
2022-06-16 11:43:02 -04:00
|
|
|
# Nice to have: mpg123 fribidi harfbuzz libwebp
|
2022-02-05 15:39:19 -05:00
|
|
|
|
|
|
|
name=lagrange
|
2022-08-28 07:07:23 -04:00
|
|
|
version=1.13.7
|
2022-02-05 15:39:19 -05:00
|
|
|
release=1
|
|
|
|
source=(https://git.skyjake.fi/skyjake/$name/releases/download/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2022-06-16 11:43:02 -04:00
|
|
|
prt-get isinst fribidi || PKGMK_LAGRANGE="-DENABLE_FRIBIDI=OFF"
|
|
|
|
prt-get isinst harfbuzz || PKGMK_LAGRANGE+=" -DENABLE_HARFBUZZ=OFF"
|
|
|
|
prt-get isinst libwebp || PKGMK_LAGRANGE+=" -DENABLE_WEBP=OFF"
|
|
|
|
prt-get isinst mpg123 || PKGMK_LAGRANGE+=" -DENABLE_MPG123=OFF"
|
2022-02-05 15:39:19 -05:00
|
|
|
cd $name-$version
|
|
|
|
mkdir build && cd build
|
2022-06-16 11:43:02 -04:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release ${PKGMK_LAGRANGE} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" ..
|
2022-02-05 15:39:19 -05:00
|
|
|
cmake --build .
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|