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.7/
13 DISTFILE[1]= lagrange-1.13.7.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
32 LICENSE= BSD2CLAUSE:single
33 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/LICENSE.md
36 FPC_EQUIVALENT= www/lagrange
38 CMAKE_ARGS= -DENABLE_FRIBIDI:BOOL=ON
39 -DENABLE_FRIBIDI_BUILD:BOOL=OFF
40 -DENABLE_HARFBUZZ:BOOL=ON
41 -DENABLE_HARFBUZZ_MINIMAL:BOOL=OFF
42 -DENABLE_MPG123:BOOL=ON
46 ${INSTALL_PROGRAM} ${WRKSRC}/build-tui/clagrange ${STAGEDIR}${PREFIX}/bin/
47 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/clagrange
48 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lagrange
51 (cd ${WRKSRC} && ./build-tui.sh)
54 ${REINPLACE_CMD} -i'' -e "s|__PREFIX__|${PREFIX}|g" \
55 -e "s|__STAGEDIR__|${STAGEDIR}|" ${WRKSRC}/build-tui.sh
57 [FILE:776:descriptions/desc.single]
58 Lagrange is a desktop GUI client for browsing Geminispace. It offers
59 modern conveniences familiar from web browsers, such as smooth scrolling,
60 inline image viewing, multiple tabs, visual themes, Unicode fonts,
61 bookmarks, history, and page outlines.
64 * Ability to optionally view images inside the gemtext document
65 * Beautiful typography using Unicode fonts
66 * Autogenerated page style and Unicode icon for each Gemini domain
67 * Smart URL field suggestions: Search bookmarks, history, identities
68 * Sidebar for page outline, managing bookmarks and identities as well as
71 * Identity management: Create and use TLS client certificates
72 * Audio playback: MP3, Ogg Vorbis, WAV
73 * And more! Open about:help in the app, or see help.gmi
77 7fe70d06cfa80fcf7122f1a537a2205d844dd6e9efcc4d6dd712861faa3f2e14 9879262 lagrange-1.13.7.tar.gz
80 [FILE:235:manifests/plist.single]
84 share/applications/fi.skyjake.Lagrange.desktop
85 share/icons/hicolor/256x256/apps/fi.skyjake.Lagrange.png
86 share/lagrange/resources.lgr
87 share/man/man1/lagrange.1.gz
88 share/metainfo/fi.skyjake.Lagrange.appdata.xml
91 [FILE:1462:patches/patch-build-tui.sh]
92 --- build-tui.sh.orig 2022-06-30 05:46:44 UTC
96 # You can customize the install directory prefix here and build type here:
98 -INSTALL_PREFIX="/usr/local"
99 +INSTALL_PREFIX="__PREFIX__"
100 CMAKE_BUILD_TYPE="Release"
101 +export PKG_CONFIG_PATH=/__PREFIX__/openssl11/lib/pkgconfig
102 +export LDFLAGS="-L/__PREFIX__/openssl11/lib -Wl,-rpath,/__PREFIX__/openssl11/lib"
104 echo "\nThis script will build and optionally install clagrange with"
105 echo "statically linked the_Foundation and SEALCurses. First, let's configure"
108 -read -p "Build type? [${CMAKE_BUILD_TYPE}] " INPUT
109 -if [ "${INPUT}." != "." ]; then
110 - CMAKE_BUILD_TYPE=${INPUT}
113 -read -p "Install prefix? [${INSTALL_PREFIX}] " INPUT
114 -if [ "${INPUT}." != "." ]; then
115 - INSTALL_PREFIX=${INPUT}
118 if [ ! -d lib/sealcurses ]; then
119 read -p "'lib/sealcurses' not found. Clone with Git? [Yn] " INPUT
120 if [ "${INPUT}." = "n." ]; then
121 @@ -91,14 +83,11 @@ cmake .. \
122 -DENABLE_HARFBUZZ=NO \
123 -DENABLE_POPUP_MENUS=NO \
124 -DENABLE_IDLE_SLEEP=NO \
125 + -DCMAKE_SKIP_RPATH:BOOL=TRUE \
126 -Dthe_Foundation_DIR="${BUILD_DIR}/lib/cmake/the_Foundation" \
128 cmake --build . || exit 1
131 echo "clagrange and resources.lgr can be found in 'build-tui'."
132 -read -p "Do you want to install them to ${INSTALL_PREFIX}? (sudo) [yN] " CONFIRMED
133 -if [ "${CONFIRMED}" = "y" ]; then
134 - sudo cmake --install .