-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
2acfcd3
commit 89441dd
Showing
2 changed files
with
69 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,30 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
PortGroup cmake 1.1 | ||
PortGroup github 1.0 | ||
|
||
github.setup ArthurSonzogni git-tui 1.2.0 v | ||
categories devel sysutils | ||
license MIT | ||
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer | ||
description Terminal interfaces for git | ||
long_description Collection of human-friendly terminal interfaces for git. | ||
checksums rmd160 a031c97e8dbdd294d197189c3240c8a84b96b79d \ | ||
sha256 51fc9f55846fddb544f247e4154970c75d794a8523b240a914018eb59143bb91 \ | ||
size 2516163 | ||
github.tarball_from archive | ||
|
||
depends_lib-append port:FTXUI \ | ||
port:subprocess | ||
|
||
depends_run-append bin:bin:git | ||
|
||
patchfiles-append patch-CmakeLists.diff | ||
|
||
configure.args-append \ | ||
-DFTXUI_BUILD_EXAMPLES=OFF \ | ||
-DFTXUI_BUILD_TESTS=OFF \ | ||
-DFTXUI_ENABLE_INSTALL=ON | ||
|
||
compiler.cxx_standard 2017 |
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,39 @@ | ||
--- CMakeLists.txt 2024-02-24 17:55:34 | ||
+++ CMakeLists.txt 2024-05-12 04:07:45 | ||
@@ -4,19 +4,10 @@ | ||
VERSION 1.2.0 | ||
) | ||
|
||
-# --- Dependencies-------------------------------------------------------------- | ||
-include(cmake/find_or_fetch_package.cmake) | ||
+find_package(ftxui) | ||
|
||
-find_or_fetch_package(ftxui v5.0.0 | ||
- https://github.com/ArthurSonzogni/ftxui | ||
- cdf28903a7781f97ba94d30b79c3a4b0c97ccce7 | ||
-) | ||
+find_package(subprocess) | ||
|
||
-find_or_fetch_package(subprocess v0.4.0 | ||
- https://github.com/benman64/subprocess | ||
- e1cae5e86e5d089e65e906f7c13917b7bbb75d04 | ||
-) | ||
- | ||
# ------------------------------------------------------------------------------ | ||
|
||
add_executable(git-tui | ||
@@ -42,10 +33,10 @@ | ||
) | ||
|
||
target_link_libraries(git-tui | ||
- PRIVATE subprocess | ||
- PRIVATE ftxui::screen | ||
- PRIVATE ftxui::dom | ||
- PRIVATE ftxui::component | ||
+ PUBLIC subprocess | ||
+ PUBLIC ftxui::screen | ||
+ PUBLIC ftxui::dom | ||
+ PUBLIC ftxui::component | ||
) | ||
|
||
if (MSVC) |