New package: contour-0.4.1.6292

This commit is contained in:
0x5c 2023-12-11 07:22:56 -05:00 committed by classabbyamp
parent 0bbb43e0ff
commit 9203e0f932
4 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1 @@
contour

1
srcpkgs/contour-terminfo Symbolic link
View file

@ -0,0 +1 @@
contour

View file

@ -0,0 +1,15 @@
--- a/src/crispy/utils.cpp
+++ b/src/crispy/utils.cpp
@@ -31,8 +31,12 @@
}
return ""s;
#else
+ #ifdef __GLIBC__
char text[32] = {};
pthread_getname_np(pthread_self(), text, sizeof(text));
return text;
+ #else
+ return ""s;
+ #endif
#endif
}

34
srcpkgs/contour/template Normal file
View file

@ -0,0 +1,34 @@
# Template file for 'contour'
pkgname=contour
version=0.4.1.6292
revision=1
build_style=cmake
build_helper="qemu"
configure_args="-DCONTOUR_QT_VERSION=6 -DCONTOUR_TESTING=OFF
-DCRISPY_TESTING=OFF -DVTPARSER_TESTING=OFF -DLIBTERMINAL_TESTING=OFF"
hostmakedepends="pkg-config qt6-base qt6-tools"
makedepends="boxed-cpp fmt-devel guidelines-support-library freetype-devel
harfbuzz-devel libunicode-devel libutempter-devel range-v3 yaml-cpp-devel
qt6-base-devel qt6-core qt6-declarative-devel qt6-gui qt6-multimedia-devel
qt6-network qt6-opengl-widgets qt6-qt5compat-devel qt6-widgets"
depends="contour-terminfo-${version}_${revision} contour-shell-integration-${version}_${revision}"
short_desc="Modern C++ Terminal Emulator"
maintainer="0x5c <dev@0x5c.io>"
license="Apache-2.0"
homepage="http://contour-terminal.org/"
distfiles="https://github.com/contour-terminal/contour/archive/refs/tags/v${version}.tar.gz"
checksum=3755dd93065b7cfab7eafedf6c2e8c00b9ca1b028f9fa2742905efe06f6084d1
contour-terminfo_package() {
short_desc+=" - terminfo data"
pkg_install() {
vmove usr/share/terminfo
}
}
contour-shell-integration_package() {
short_desc+=" - shell integration scripts"
pkg_install() {
vmove usr/share/contour/shell-integration
}
}