Skip to content

Commit

Permalink
New package: contour-0.4.1.6292
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5c authored and classabbyamp committed Jan 6, 2024
1 parent 0bbb43e commit 9203e0f
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions srcpkgs/contour-shell-integration
1 change: 1 addition & 0 deletions srcpkgs/contour-terminfo
15 changes: 15 additions & 0 deletions srcpkgs/contour/patches/0000-phtread_musl.patch
Original file line number Diff line number Diff line change
@@ -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 changes: 34 additions & 0 deletions srcpkgs/contour/template
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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
}
}

0 comments on commit 9203e0f

Please sign in to comment.