Ravenports generated: 06 Sep 2022 17:41
[ravenports.git] / bucket_6A / lagrange
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               lagrange
4 VERSION=                1.13.6
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.6/
13 DISTFILE[1]=            lagrange-1.13.6.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 SDL_COMPONENTS=         sdl2
30
31 LICENSE=                BSD2CLAUSE:single
32 LICENSE_FILE=           BSD2CLAUSE:{{WRKSRC}}/LICENSE.md
33 LICENSE_SCHEME=         solo
34
35 FPC_EQUIVALENT=         www/lagrange
36
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
42                         -DENABLE_WEBP:BOOL=ON
43
44 post-patch:
45         ${REINPLACE_CMD} -i'' -e "s|__PREFIX__|${PREFIX}|g" \
46                 -e "s|__STAGEDIR__|${STAGEDIR}|" ${WRKSRC}/build-tui.sh
47
48 post-install:
49         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/clagrange
50         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lagrange
51
52 post-build:
53         (cd ${WRKSRC} && ./build-tui.sh)
54
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.
60
61 Some features:
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 
67   viewing history
68 * Multiple tabs
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
72
73
74 [FILE:101:distinfo]
75 7a89e4e950d14cfebd2806de07c49eeeb79368091a68ca439795d0aba9e1aaa7      9872058 lagrange-1.13.6.tar.gz
76
77
78 [FILE:235:manifests/plist.single]
79 bin/
80  clagrange
81  lagrange
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
87
88
89 [FILE:1278:patches/patch-build-tui.sh]
90 --- build-tui.sh.orig   2022-05-26 07:03:40 UTC
91 +++ build-tui.sh
92 @@ -14,23 +14,15 @@
93  #
94  # You can customize the install directory prefix here and build type here:
95  
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"
101  
102  echo "\nThis script will build and optionally install clagrange with"
103  echo "statically linked the_Foundation and SEALCurses. First, let's configure"
104  echo "the build.\n"
105  
106 -read -p "Build type? [${CMAKE_BUILD_TYPE}] " INPUT
107 -if [ "${INPUT}." != "." ]; then
108 -    CMAKE_BUILD_TYPE=${INPUT}
109 -fi
110 -
111 -read -p "Install prefix? [${INSTALL_PREFIX}] " INPUT
112 -if [ "${INPUT}." != "." ]; then
113 -    INSTALL_PREFIX=${INPUT}
114 -fi
115 -
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
120  
121  echo "-----"
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 .
126 -    exit
127 -fi
128 +cmake --install .
129 +exit
130