Ravenports generated: 25 Sep 2022 00:03
[ravenports.git] / bucket_6A / lagrange
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               lagrange
4 VERSION=                1.13.7
5 KEYWORDS=               www
6 VARIANTS=               standard
7 SDESC[standard]=        Web Browser-like beautiful Gemini Client
8 HOMEPAGE=               https://github.com/skyjake/lagrange
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://github.com/skyjake/lagrange/releases/download/v1.13.7/
13 DISTFILE[1]=            lagrange-1.13.7.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
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
26                         WebP:single:standard
27
28 USES=                   cmake ncurses pcre pkgconfig zlib ssl:openssl11
29                         desktop-utils:single
30 SDL_COMPONENTS=         sdl2
31
32 LICENSE=                BSD2CLAUSE:single
33 LICENSE_FILE=           BSD2CLAUSE:{{WRKSRC}}/LICENSE.md
34 LICENSE_SCHEME=         solo
35
36 FPC_EQUIVALENT=         www/lagrange
37
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
43                         -DENABLE_WEBP:BOOL=ON
44
45 post-install:
46         ${INSTALL_PROGRAM} ${WRKSRC}/build-tui/clagrange ${STAGEDIR}${PREFIX}/bin/
47         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/clagrange
48         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lagrange
49
50 post-build:
51         (cd ${WRKSRC} && ./build-tui.sh)
52
53 pre-configure:
54         ${REINPLACE_CMD} -i'' -e "s|__PREFIX__|${PREFIX}|g" \
55                 -e "s|__STAGEDIR__|${STAGEDIR}|" ${WRKSRC}/build-tui.sh
56
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.
62
63 Some features:
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 
69   viewing history
70 * Multiple tabs
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
74
75
76 [FILE:101:distinfo]
77 7fe70d06cfa80fcf7122f1a537a2205d844dd6e9efcc4d6dd712861faa3f2e14      9879262 lagrange-1.13.7.tar.gz
78
79
80 [FILE:235:manifests/plist.single]
81 bin/
82  clagrange
83  lagrange
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
89
90
91 [FILE:1462:patches/patch-build-tui.sh]
92 --- build-tui.sh.orig   2022-06-30 05:46:44 UTC
93 +++ build-tui.sh
94 @@ -14,23 +14,15 @@
95  #
96  # You can customize the install directory prefix here and build type here:
97  
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"
103  
104  echo "\nThis script will build and optionally install clagrange with"
105  echo "statically linked the_Foundation and SEALCurses. First, let's configure"
106  echo "the build.\n"
107  
108 -read -p "Build type? [${CMAKE_BUILD_TYPE}] " INPUT
109 -if [ "${INPUT}." != "." ]; then
110 -    CMAKE_BUILD_TYPE=${INPUT}
111 -fi
112 -
113 -read -p "Install prefix? [${INSTALL_PREFIX}] " INPUT
114 -if [ "${INPUT}." != "." ]; then
115 -    INSTALL_PREFIX=${INPUT}
116 -fi
117 -
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" \
127      $*
128  cmake --build . || exit 1
129  
130  echo "-----"
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 .
135 -    exit
136 -fi
137 +exit
138