Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] czkawka: update to 6.1.0, add cli
Date: Fri, 05 Jan 2024 01:12:44 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48068@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

There is a new pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages czkawka
https://github.com/void-linux/void-packages/pull/48068

czkawka: update to 6.1.0, add cli
#### Testing the changes
- I tested the changes in this PR: **YES**


A patch file from https://github.com/void-linux/void-packages/pull/48068.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-czkawka-48068.patch --]
[-- Type: text/x-diff, Size: 2477 bytes --]

From 3c70c57c4ac34fec9fd60b38c4e8bf8f9ec17ee0 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Thu, 4 Jan 2024 18:19:55 -0500
Subject: [PATCH] czkawka: update to 6.1.0, add cli

---
 srcpkgs/czkawka/template | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/czkawka/template b/srcpkgs/czkawka/template
index 08b9392fa1ea7..a46d22d1e531c 100644
--- a/srcpkgs/czkawka/template
+++ b/srcpkgs/czkawka/template
@@ -1,32 +1,31 @@
 # Template file for 'czkawka'
 pkgname=czkawka
-version=6.0.0
+version=6.1.0
 revision=1
 build_style=cargo
-build_helper=rust
-make_install_args="--path czkawka_gui"
-configure_args="--bin czkawka_gui --all-features"
+configure_args="--bin czkawka_cli --bin czkawka_gui --all-features"
 hostmakedepends="pkg-config"
 makedepends="libheif-devel gtk4-devel"
+depends="ffmpeg"
 checkdepends="dbus xvfb-run"
 short_desc="App to find duplicates, empty folders, similar images, etc"
 maintainer="sirkhancision <jsantiago12tone@gmail.com>"
 license="MIT"
 homepage="https://github.com/qarmin/czkawka"
+changelog="https://raw.githubusercontent.com/qarmin/czkawka/master/Changelog.md"
 distfiles="https://github.com/qarmin/czkawka/archive/refs/tags/${version}.tar.gz"
-checksum=32dc1d8a55bc3ce478246830a1f81679affa85735e69aa049fd83e30271e368f
+checksum=63e64c717a93b3d5210d6a4718833fdbf3ad7b28c9b74a243d9de3ab1ee6ad5a
+make_check_pre="dbus-run-session xvfb-run"
 
-do_check() {
-	dbus-run-session xvfb-run -s '-nolisten local' cargo test --bin czkawka_gui --release
-}
+do_install() {
+	vbin target/${XBPS_RUST_TARGET}/release/czkawka_cli
+	vbin target/${XBPS_RUST_TARGET}/release/czkawka_gui
 
-post_install() {
 	vlicense LICENSE
 
 	CZKAWKA_NAME="com.github.qarmin.czkawka"
-	vinstall data/$CZKAWKA_NAME.desktop 644 usr/share/applications
-	vinstall data/icons/$CZKAWKA_NAME.svg 644 usr/share/icons/hicolor/scalable/apps
-	vinstall data/icons/$CZKAWKA_NAME.Devel.svg 644 usr/share/icons/hicolor/scalable/apps
-	vinstall data/icons/$CZKAWKA_NAME-symbolic.svg 644 usr/share/icons/hicolor/symbolic/apps
-	vinstall data/$CZKAWKA_NAME.metainfo.xml 644 usr/share/metainfo
+	vinstall data/${CZKAWKA_NAME}.desktop 644 usr/share/applications
+	vinstall data/icons/${CZKAWKA_NAME}.svg 644 usr/share/icons/hicolor/scalable/apps
+	vinstall data/icons/${CZKAWKA_NAME}-symbolic.svg 644 usr/share/icons/hicolor/symbolic/apps
+	vinstall data/${CZKAWKA_NAME}.metainfo.xml 644 usr/share/metainfo
 }

             reply	other threads:[~2024-01-05  0:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-05  0:12 cinerea0 [this message]
2024-01-05  0:26 ` [PR PATCH] [Updated] " cinerea0
2024-01-06 23:36 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48068@inbox.vuxu.org \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).