Import lagrange-0.12.1

Lagrange is a desktop GUI client for browsing Geminispace
and Gopherspace. It offers modern conveniences familiar
from web browsers, such as smooth scrolling, inline
image viewing, multiple tabs, visual themes, Unicode
fonts, bookmarks, history, and page outlines.

ok paco@
tested by many
patch from Olivier Taïbi <oli at olitb dot net> to disable
use of openssl if installed
This commit is contained in:
solene 2020-12-12 14:22:17 +00:00
parent d46d404399
commit 96f4378319
5 changed files with 68 additions and 0 deletions

34
net/lagrange/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/12/12 14:22:17 solene Exp $
COMMENT = SDL multi protocol navigator
VERSION = 0.12.1
DISTNAME = lagrange-${VERSION}
CATEGORIES = net x11
MAINTAINER = Solene Rapenne <solene@perso.pw>
HOMEPAGE = https://gmi.skyjake.fi/lagrange/
# BSD 2-Clause
PERMIT_PACKAGE =Yes
WANTLIB += SDL2 mpg123 pcre unistring
WANTLIB += c crypto m ssl z pthread
MASTER_SITES = https://git.skyjake.fi/skyjake/lagrange/releases/download/v${VERSION}/
MODULES = devel/cmake
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
LIB_DEPENDS = audio/mpg123 \
converters/libunistring \
devel/pcre \
devel/sdl2
NO_TEST = Yes
.include <bsd.port.mk>

2
net/lagrange/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (lagrange-0.12.1.tar.gz) = HIBXjsOyygtlcfell+aXu7g0m2aRmVPQjXbX981Ectw=
SIZE (lagrange-0.12.1.tar.gz) = 13636913

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-lib_the_Foundation_Depends_cmake,v 1.1.1.1 2020/12/12 14:22:17 solene Exp $
Stick with base libressl even if openssl is installed
Index: lib/the_Foundation/Depends.cmake
--- lib/the_Foundation/Depends.cmake.orig
+++ lib/the_Foundation/Depends.cmake
@@ -10,10 +10,7 @@ if (NOT IOS)
set (iHaveCurl NO)
endif ()
if (TFDN_ENABLE_TLSREQUEST)
- pkg_check_modules (OPENSSL eopenssl11) # BSD
- if (NOT OPENSSL_FOUND)
- pkg_check_modules (OPENSSL openssl)
- endif ()
+ pkg_check_modules (OPENSSL openssl)
else ()
set (OPENSSL_FOUND NO)
set (iHaveOpenSSL NO)

5
net/lagrange/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
Lagrange is a desktop GUI client for browsing Geminispace
and Gopherspace. It offers modern conveniences familiar
from web browsers, such as smooth scrolling, inline
image viewing, multiple tabs, visual themes, Unicode
fonts, bookmarks, history, and page outlines.

8
net/lagrange/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/12/12 14:22:17 solene Exp $
@tag update-desktop-database
@tag gtk-update-icon-cache %D/share/icons/hicolor
@bin bin/lagrange
share/applications/fi.skyjake.lagrange.desktop
share/icons/hicolor/256x256/apps/fi.skyjake.lagrange.png
share/lagrange/
share/lagrange/resources.binary