Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
gitui


Commits:
90333428 by Caleb Maclennan at 2024-09-12T16:12:34+03:00
upgpkg: 0.26.3-2: Rebuild with optdepends

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
 pkgbase = gitui
        pkgdesc = Blazing fast terminal-ui for git written in Rust
        pkgver = 0.26.3
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/extrawurst/gitui
        arch = x86_64
        license = MIT
        makedepends = cargo
+       makedepends = cmake
        makedepends = git
        makedepends = python
        depends = gcc-libs
@@ -14,6 +15,9 @@ pkgbase = gitui
        depends = libxcb
        depends = openssl
        depends = zlib
+       optdepends = xclip: for clipboard support on X11 (or xsel)
+       optdepends = xsel: for clipboard support on X11 (or xclip)
+       optdepends = wl-clipboard: for clipboard support on Wayland
        source = git+https://github.com/extrawurst/gitui.git?tag=0.26.3
        sha256sums = SKIP
 


=====================================
PKGBUILD
=====================================
@@ -5,13 +5,13 @@
 
 pkgname=gitui
 pkgver=0.26.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Blazing fast terminal-ui for git written in Rust'
 url='https://github.com/extrawurst/gitui'
 arch=('x86_64')
 license=('MIT')
 depends=('gcc-libs' 'glibc' 'libgit2' 'libxcb' 'openssl' 'zlib')
-makedepends=('cargo' 'git' 'python') # xcb crate needs python
+makedepends=('cargo' 'cmake' 'git' 'python') # libz-ng-sys crate needs cmake, 
xcb crate needs python
 optdepends=(
   'xclip: for clipboard support on X11 (or xsel)'
   'xsel: for clipboard support on X11 (or xclip)'
@@ -28,6 +28,9 @@ prepare() {
 build() {
   cd "$pkgname"
   CFLAGS+=' -ffat-lto-objects'
+  export LIBGIT2_NO_VENDOR=1
+  export LIBSSH2_SYS_USE_PKG_CONFIG=1
+  export OPENSSL_NO_VENDOR=true
   cargo build --frozen --release
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gitui/-/commit/9033342872ebdc2ab3e357676cfdef8f1de6cf65

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gitui/-/commit/9033342872ebdc2ab3e357676cfdef8f1de6cf65
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to