1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Web Browser-like beautiful Gemini Client
8 HOMEPAGE= https://github.com/skyjake/lagrange
9 CONTACT= Michael_Reim[kraileth@elderlinux.org]
12 SITES[main]= https://github.com/skyjake/lagrange/releases/download/v1.13.6/
13 DISTFILE[1]= lagrange-1.13.6.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= zip:single:standard
21 BUILDRUN_DEPENDS= curl:primary:standard
22 fribidi:single:standard
23 harfbuzz:primary:standard
24 libunistring:primary:standard
25 mpg123:single:standard
28 USES= cmake ncurses pcre pkgconfig zlib ssl:openssl11
31 LICENSE= BSD2CLAUSE:single
32 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/LICENSE.md
35 FPC_EQUIVALENT= www/lagrange
37 CMAKE_ARGS= -DENABLE_FRIBIDI:BOOL=ON
38 -DENABLE_FRIBIDI_BUILD:BOOL=OFF
39 -DENABLE_HARFBUZZ:BOOL=ON
40 -DENABLE_HARFBUZZ_MINIMAL:BOOL=OFF
41 -DENABLE_MPG123:BOOL=ON
45 ${REINPLACE_CMD} -i'' -e "s|__PREFIX__|${PREFIX}|g" \
46 -e "s|__STAGEDIR__|${STAGEDIR}|" ${WRKSRC}/build-tui.sh
49 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/clagrange
50 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lagrange
53 (cd ${WRKSRC} && ./build-tui.sh)
55 [FILE:776:descriptions/desc.single]
56 Lagrange is a desktop GUI client for browsing Geminispace. It offers
57 modern conveniences familiar from web browsers, such as smooth scrolling,
58 inline image viewing, multiple tabs, visual themes, Unicode fonts,
59 bookmarks, history, and page outlines.
62 * Ability to optionally view images inside the gemtext document
63 * Beautiful typography using Unicode fonts
64 * Autogenerated page style and Unicode icon for each Gemini domain
65 * Smart URL field suggestions: Search bookmarks, history, identities
66 * Sidebar for page outline, managing bookmarks and identities as well as
69 * Identity management: Create and use TLS client certificates
70 * Audio playback: MP3, Ogg Vorbis, WAV
71 * And more! Open about:help in the app, or see help.gmi
75 7a89e4e950d14cfebd2806de07c49eeeb79368091a68ca439795d0aba9e1aaa7 9872058 lagrange-1.13.6.tar.gz
78 [FILE:235:manifests/plist.single]
82 share/applications/fi.skyjake.Lagrange.desktop
83 share/icons/hicolor/256x256/apps/fi.skyjake.Lagrange.png
84 share/lagrange/resources.lgr
85 share/man/man1/lagrange.1.gz
86 share/metainfo/fi.skyjake.Lagrange.appdata.xml
89 [FILE:1278:patches/patch-build-tui.sh]
90 --- build-tui.sh.orig 2022-05-26 07:03:40 UTC
94 # You can customize the install directory prefix here and build type here:
96 -INSTALL_PREFIX="/usr/local"
97 +INSTALL_PREFIX="__STAGEDIR____PREFIX__"
98 CMAKE_BUILD_TYPE="Release"
99 +export PKG_CONFIG_PATH=/__PREFIX__/openssl11/lib/pkgconfig
100 +export LDFLAGS="-L/__PREFIX__/openssl11/lib -Wl,-rpath,/__PREFIX__/openssl11/lib"
102 echo "\nThis script will build and optionally install clagrange with"
103 echo "statically linked the_Foundation and SEALCurses. First, let's configure"
106 -read -p "Build type? [${CMAKE_BUILD_TYPE}] " INPUT
107 -if [ "${INPUT}." != "." ]; then
108 - CMAKE_BUILD_TYPE=${INPUT}
111 -read -p "Install prefix? [${INSTALL_PREFIX}] " INPUT
112 -if [ "${INPUT}." != "." ]; then
113 - INSTALL_PREFIX=${INPUT}
116 if [ ! -d lib/sealcurses ]; then
117 read -p "'lib/sealcurses' not found. Clone with Git? [Yn] " INPUT
118 if [ "${INPUT}." = "n." ]; then
119 @@ -97,8 +89,5 @@ cmake --build . || exit 1
122 echo "clagrange and resources.lgr can be found in 'build-tui'."
123 -read -p "Do you want to install them to ${INSTALL_PREFIX}? (sudo) [yN] " CONFIRMED
124 -if [ "${CONFIRMED}" = "y" ]; then
125 - sudo cmake --install .