fragments: update to 3.0.0, adopt

This commit is contained in:
cinerea0 2024-04-10 12:24:58 -04:00 committed by cinerea0
parent 2a9f819a60
commit d07c5c8695
2 changed files with 6 additions and 19 deletions

View File

@ -1,13 +0,0 @@
diff --git a/meson.build b/meson.build
index 0cb46023cc..eec7e4f694 100644
--- a/meson.build
+++ b/meson.build
@@ -20,7 +20,7 @@ name = 'Fragments'
base_id = 'de.haeckerfelix.Fragments'
path_id = '/de/haeckerfelix/Fragments'
app_id = base_id
-vcs_tag = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
+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'))

View File

@ -1,20 +1,20 @@
# Template file for 'fragments'
pkgname=fragments
version=2.1.1
revision=2
version=3.0.0
revision=1
build_style=meson
build_helper="rust"
hostmakedepends="desktop-file-utils cargo pkg-config gettext glib-devel
gtk4-update-icon-cache"
gtk4-update-icon-cache git"
makedepends="sqlite-devel gtk4-devel libadwaita-devel libglib-devel dbus-devel
openssl-devel rust-std"
depends="transmission"
short_desc="BitTorrent Client"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/World/Fragments"
distfiles="https://gitlab.gnome.org/World/Fragments/-/archive/$version/Fragments-$version.tar.gz"
checksum=5d573b99565d730101d41541731efe70df5bd72bab27de9f3da17b847e3684a8
distfiles="https://gitlab.gnome.org/World/Fragments/-/archive/${version}/Fragments-${version}.tar.gz"
checksum=63a209801b97637afc106a114ce9ef68d8faa7a19a145e18debcfc9919f34ff9
post_patch() {
if [ "$CROSS_BUILD" ]; then