forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bbb43e
commit 9203e0f
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
contour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
contour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |