Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: fragments-2.0.2
@ 2022-02-12 22:42 paper42
  2022-02-13 10:30 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 2+ messages in thread
From: paper42 @ 2022-02-12 22:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages fragments
https://github.com/void-linux/void-packages/pull/35568

New package: fragments-2.0.2
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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/35568.patch is attached

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

From f99e50f35f70d7f4931f5e54fd74a0f99cd62b43 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 7 Feb 2022 17:13:51 +0100
Subject: [PATCH] New package: fragments-2.0.2

---
 srcpkgs/fragments/patches/no-git.patch | 11 +++++++++++
 srcpkgs/fragments/template             | 24 ++++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 srcpkgs/fragments/patches/no-git.patch
 create mode 100644 srcpkgs/fragments/template

diff --git a/srcpkgs/fragments/patches/no-git.patch b/srcpkgs/fragments/patches/no-git.patch
new file mode 100644
index 000000000000..2fdc1521e03d
--- /dev/null
+++ b/srcpkgs/fragments/patches/no-git.patch
@@ -0,0 +1,11 @@
+--- a/meson.build
++++ b/meson.build
+@@ -17,7 +17,7 @@
+ name       = 'Fragments'
+ app_id     = 'de.haeckerfelix.Fragments'
+ profile    = get_option('profile')
+-vcs_tag    = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
++vcs_tag    = 'none'
+ localedir  = join_paths(get_option('prefix'), get_option('localedir'))
+ datadir    = get_option('datadir')
+ pkgdatadir = join_paths(get_option('prefix'), datadir, meson.project_name())
diff --git a/srcpkgs/fragments/template b/srcpkgs/fragments/template
new file mode 100644
index 000000000000..c785406695ed
--- /dev/null
+++ b/srcpkgs/fragments/template
@@ -0,0 +1,24 @@
+# Template file for 'fragments'
+pkgname=fragments
+version=2.0.2
+revision=1
+wrksrc="Fragments-$version"
+build_style=meson
+build_helper="rust"
+hostmakedepends="cargo pkg-config gettext glib-devel"
+makedepends="sqlite-devel gtk4-devel libadwaita-devel libglib-devel dbus-devel
+ openssl-devel rust-std"
+short_desc="BitTorrent Client"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+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=a3f32771e82aaac33ce1fbe40f83204fb6fade20d5cbffbd862b30ce9d8dedcf
+
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i build-aux/cargo.sh \
+			-e 's%"$CARGO_TARGET_DIR"/%&${RUST_TARGET}/%' \
+			-e '/CARGO_HOME/d'
+	fi
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: New package: fragments-2.0.2
  2022-02-12 22:42 [PR PATCH] New package: fragments-2.0.2 paper42
@ 2022-02-13 10:30 ` paper42
  0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-02-13 10:30 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: fragments-2.0.2
https://github.com/void-linux/void-packages/pull/35568

Description:
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-13 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-12 22:42 [PR PATCH] New package: fragments-2.0.2 paper42
2022-02-13 10:30 ` [PR PATCH] [Merged]: " paper42

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).