mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
www/kristall: add new port
Minimalistic Gemini/HTTP(S) browser WWW: https://kristall.random-projects.net PR: 254567 (based on) Submitted by: Olga Smirnova
This commit is contained in:
parent
8d35ca7745
commit
201e9aec10
@ -283,6 +283,7 @@
|
||||
SUBDIR += kf5-kjsembed
|
||||
SUBDIR += kiwix-tools
|
||||
SUBDIR += kohana
|
||||
SUBDIR += kristall
|
||||
SUBDIR += lagrange
|
||||
SUBDIR += larbin
|
||||
SUBDIR += libapreq2
|
||||
|
30
www/kristall/Makefile
Normal file
30
www/kristall/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
PORTNAME= kristall
|
||||
DISTVERSIONPREFIX= V
|
||||
DISTVERSION= git2021.11.20
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= mistresssilvara@hotmail.com
|
||||
COMMENT= Minimalistic Gemini/HTTP(S) browser
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libcmark.so:textproc/cmark \
|
||||
libgumbo.so:devel/gumbo
|
||||
|
||||
USES= compiler:c++17-lang desktop-file-utils gl iconv pkgconfig \
|
||||
qt:5 shared-mime-info ssl
|
||||
USE_QT= core gui multimedia network svg widgets buildtools_build \
|
||||
linguisttools_build qmake_build
|
||||
USE_GL= gl
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= MasterQ32
|
||||
GH_TAGNAME= 6b39f244
|
||||
|
||||
MAKE_ARGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
||||
QMAKE_COMMAND=${QMAKE} \
|
||||
QMAKE_CONFIG="external-gumbo-parser external-cmark"
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/kristall/distinfo
Normal file
3
www/kristall/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1639085495
|
||||
SHA256 (MasterQ32-kristall-Vgit2021.11.20-6b39f244_GH0.tar.gz) = 7e56901413b8ac169298413d4a6f4e55a5e9cdf3aad762c7d1013076d281720d
|
||||
SIZE (MasterQ32-kristall-Vgit2021.11.20-6b39f244_GH0.tar.gz) = 22015661
|
27
www/kristall/files/patch-Makefile
Normal file
27
www/kristall/files/patch-Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
--- Makefile.orig 2021-12-09 21:36:29 UTC
|
||||
+++ Makefile
|
||||
@@ -27,13 +27,6 @@ QMAKE_COMMAND := qmake
|
||||
UNAME := $(shell uname)
|
||||
UNAME_M := $(shell uname -m)
|
||||
# Homebrew on macOS does not link Qt5 into the system path.
|
||||
-ifeq ($(UNAME),Darwin)
|
||||
- ifeq ($(UNAME_M),arm64)
|
||||
- HOMEBREW_PATH=export PATH="$(PATH):/opt/homebrew/opt/qt5/bin";
|
||||
- else
|
||||
- HOMEBREW_PATH=export PATH="$(PATH):/usr/local/opt/qt/bin";
|
||||
- endif
|
||||
-endif
|
||||
|
||||
kristall: build/kristall
|
||||
cp build/kristall $@
|
||||
@@ -41,8 +34,8 @@ kristall: build/kristall
|
||||
.PHONY: build/kristall
|
||||
build/kristall: src/*
|
||||
mkdir -p build
|
||||
- cd build; $(HOMEBREW_PATH) $(QMAKE_COMMAND) "CONFIG+=$(QMAKE_CONFIG)" ../src/kristall.pro && $(MAKE)
|
||||
- cd doc; ./gen-man.sh
|
||||
+ (cd build && $(HOMEBREW_PATH) $(QMAKE_COMMAND) "CONFIG+=$(QMAKE_CONFIG)" ../src/kristall.pro && $(MAKE))
|
||||
+ (cd doc && ./gen-man.sh)
|
||||
|
||||
install: kristall
|
||||
# Prepare directories
|
10
www/kristall/files/patch-src_kristall.pro
Normal file
10
www/kristall/files/patch-src_kristall.pro
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/kristall.pro.orig 2021-11-20 14:16:34 UTC
|
||||
+++ src/kristall.pro
|
||||
@@ -19,7 +19,6 @@ DEFINES += KRISTALL_VERSION="\"$(shell cd $$PWD; git d
|
||||
!win32: LIBS += -lcrypto
|
||||
|
||||
# We need iconv on non-linux platforms
|
||||
-!linux: LIBS += -liconv
|
||||
|
||||
# Initialize build flags from environment variables.
|
||||
QMAKE_CFLAGS *= $$(CFLAGS)
|
4
www/kristall/pkg-descr
Normal file
4
www/kristall/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Graphical small-internet client for windows, linux, MacOS X and BSDs.
|
||||
Supports gemini, http, https, gopher, finger.
|
||||
|
||||
WWW: https://kristall.random-projects.net
|
9
www/kristall/pkg-plist
Normal file
9
www/kristall/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
bin/kristall
|
||||
share/applications/Kristall.desktop
|
||||
share/icons/hicolor/128x128/apps/net.random-projects.kristall.png
|
||||
share/icons/hicolor/16x16/apps/net.random-projects.kristall.png
|
||||
share/icons/hicolor/32x32/apps/net.random-projects.kristall.png
|
||||
share/icons/hicolor/64x64/apps/net.random-projects.kristall.png
|
||||
share/icons/hicolor/scalable/apps/net.random-projects.kristall.svg
|
||||
share/man/man1/kristall.1.gz
|
||||
share/mime/packages/kristall.xml
|
Loading…
Reference in New Issue
Block a user