mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 09:07:01 +02:00
Merge e552b9a5c4
into 348b661f9a
This commit is contained in:
commit
8e5ec8e5ae
2 changed files with 42 additions and 0 deletions
17
srcpkgs/pika-backup/patches/remove-git-describe.patch
Normal file
17
srcpkgs/pika-backup/patches/remove-git-describe.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/src/meson.build b/src/meson.build
|
||||
index 8f5e24f..f7444c4 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -19,12 +19,6 @@ cargo_env = {
|
||||
'CARGO_HOME': meson.project_build_root() / 'cargo',
|
||||
'LOCALEDIR': get_option('prefix') / get_option('localedir'),
|
||||
'APPLICATION_ID_SUFFIX': get_option('app_id_suffix'),
|
||||
- 'GIT_DESCRIBE': run_command(
|
||||
- 'git',
|
||||
- '-C', meson.project_source_root(),
|
||||
- 'rev-parse', '--short', 'HEAD',
|
||||
- check: false
|
||||
- ).stdout().strip(),
|
||||
}
|
||||
|
||||
cargo_build = custom_target(
|
25
srcpkgs/pika-backup/template
Normal file
25
srcpkgs/pika-backup/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'pika-backup'
|
||||
pkgname=pika-backup
|
||||
version=0.7.4
|
||||
revision=1
|
||||
build_style=meson
|
||||
build_helper=rust
|
||||
hostmakedepends="cargo pkg-config gettext itstool"
|
||||
makedepends="rust-std libadwaita-devel gtk4-devel"
|
||||
depends="borg"
|
||||
checkdepends="borg openssh xvfb-run"
|
||||
short_desc="GNOME Frontend for BorgBackup"
|
||||
maintainer="fanyx <fanyx@posteo.net>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://apps.gnome.org/en/PikaBackup/"
|
||||
changelog="https://gitlab.gnome.org/World/pika-backup/-/raw/main/CHANGELOG.md"
|
||||
distfiles="https://gitlab.gnome.org/World/pika-backup/-/archive/v${version}/pika-backup-v${version}.tar.gz"
|
||||
checksum=80952f0b297d4269ff9080919e4d08ccbc1a4f50582f41f100c1296cc1a68abf
|
||||
make_check_pre="xvfb-run"
|
||||
|
||||
post_patch() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
vsed -i src/meson.build \
|
||||
-e "s%rust_target /%'${RUST_TARGET}' / &%"
|
||||
fi
|
||||
}
|
Loading…
Add table
Reference in a new issue