From: m3tav3rse <m3tav3rse@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] czkawka: add cli subpackage
Date: Tue, 15 Aug 2023 13:30:52 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45613@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]
There is a new pull request by m3tav3rse against master on the void-packages repository
https://github.com/m3tav3rse/void-packages czkawka-cli
https://github.com/void-linux/void-packages/pull/45613
czkawka: add cli subpackage
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/45613.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-czkawka-cli-45613.patch --]
[-- Type: text/x-diff, Size: 1418 bytes --]
From 5af30c3bb7fe64358384f7152414708771d97e70 Mon Sep 17 00:00:00 2001
From: m3tav3rse <mtvrs@tuta.io>
Date: Tue, 15 Aug 2023 13:21:52 +0200
Subject: [PATCH] czkawka: add cli subpackage
---
srcpkgs/czkawka/template | 11 +++++++++--
srcpkgs/czkawka_cli | 1 +
2 files changed, 10 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/czkawka_cli
diff --git a/srcpkgs/czkawka/template b/srcpkgs/czkawka/template
index 08b9392fa1ea7..40ff110461cdb 100644
--- a/srcpkgs/czkawka/template
+++ b/srcpkgs/czkawka/template
@@ -1,11 +1,11 @@
# Template file for 'czkawka'
pkgname=czkawka
version=6.0.0
-revision=1
+revision=2
build_style=cargo
build_helper=rust
make_install_args="--path czkawka_gui"
-configure_args="--bin czkawka_gui --all-features"
+configure_args="--all-features"
hostmakedepends="pkg-config"
makedepends="libheif-devel gtk4-devel"
checkdepends="dbus xvfb-run"
@@ -30,3 +30,10 @@ post_install() {
vinstall data/icons/$CZKAWKA_NAME-symbolic.svg 644 usr/share/icons/hicolor/symbolic/apps
vinstall data/$CZKAWKA_NAME.metainfo.xml 644 usr/share/metainfo
}
+
+czkawka_cli_package() {
+ short_desc+=" - CLI"
+ pkg_install() {
+ vbin target/${RUST_TARGET}/release/czkawka_cli
+ }
+}
diff --git a/srcpkgs/czkawka_cli b/srcpkgs/czkawka_cli
new file mode 120000
index 0000000000000..65af574bb252f
--- /dev/null
+++ b/srcpkgs/czkawka_cli
@@ -0,0 +1 @@
+czkawka
\ No newline at end of file
next reply other threads:[~2023-08-15 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-15 11:30 m3tav3rse [this message]
2023-11-14 1:46 ` github-actions
2023-11-28 1:47 ` [PR PATCH] [Closed]: " github-actions
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-45613@inbox.vuxu.org \
--to=m3tav3rse@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).