mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
fragments: update to 2.1
This commit is contained in:
parent
88a70847fe
commit
4b497e198a
2 changed files with 14 additions and 12 deletions
|
@ -1,11 +1,13 @@
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 0cb46023cc..eec7e4f694 100644
|
||||||
--- a/meson.build
|
--- a/meson.build
|
||||||
+++ b/meson.build
|
+++ b/meson.build
|
||||||
@@ -17,7 +17,7 @@
|
@@ -20,7 +20,7 @@ name = 'Fragments'
|
||||||
name = 'Fragments'
|
base_id = 'de.haeckerfelix.Fragments'
|
||||||
app_id = 'de.haeckerfelix.Fragments'
|
path_id = '/de/haeckerfelix/Fragments'
|
||||||
profile = get_option('profile')
|
app_id = base_id
|
||||||
-vcs_tag = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
|
-vcs_tag = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
|
||||||
+vcs_tag = 'none'
|
+vcs_tag = 'none'
|
||||||
|
profile = get_option('profile')
|
||||||
|
datadir = join_paths(get_option('prefix'), get_option('datadir'))
|
||||||
localedir = join_paths(get_option('prefix'), get_option('localedir'))
|
localedir = join_paths(get_option('prefix'), get_option('localedir'))
|
||||||
datadir = get_option('datadir')
|
|
||||||
pkgdatadir = join_paths(get_option('prefix'), datadir, meson.project_name())
|
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'fragments'
|
# Template file for 'fragments'
|
||||||
pkgname=fragments
|
pkgname=fragments
|
||||||
version=2.0.2
|
version=2.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="rust"
|
build_helper="rust"
|
||||||
hostmakedepends="cargo pkg-config gettext glib-devel"
|
hostmakedepends="desktop-file-utils cargo pkg-config gettext glib-devel
|
||||||
|
gtk4-update-icon-cache"
|
||||||
makedepends="sqlite-devel gtk4-devel libadwaita-devel libglib-devel dbus-devel
|
makedepends="sqlite-devel gtk4-devel libadwaita-devel libglib-devel dbus-devel
|
||||||
openssl-devel rust-std"
|
openssl-devel rust-std"
|
||||||
short_desc="BitTorrent Client"
|
short_desc="BitTorrent Client"
|
||||||
|
@ -12,12 +13,11 @@ maintainer="Michal Vasilek <michal@vasilek.cz>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://gitlab.gnome.org/World/Fragments"
|
homepage="https://gitlab.gnome.org/World/Fragments"
|
||||||
distfiles="https://gitlab.gnome.org/World/Fragments/-/archive/$version/Fragments-$version.tar.gz"
|
distfiles="https://gitlab.gnome.org/World/Fragments/-/archive/$version/Fragments-$version.tar.gz"
|
||||||
checksum=a3f32771e82aaac33ce1fbe40f83204fb6fade20d5cbffbd862b30ce9d8dedcf
|
checksum=26e20d8cca8b7a2542b2d0e808d10dda082de52037dd8826ec6b00f0437f4564
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
vsed -i build-aux/cargo.sh \
|
vsed -i src/meson.build \
|
||||||
-e 's%"$CARGO_TARGET_DIR"/%&${RUST_TARGET}/%' \
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
||||||
-e '/CARGO_HOME/d'
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue