From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libdex-0.2.0
Date: Wed, 22 Mar 2023 12:22:23 +0100 [thread overview]
Message-ID: <20230322112223.SaFMn4QcByDJhAVLAmXlI42ZxKVzAcSG_35nTzkGvN0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42921@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
There is an updated pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages libdex
https://github.com/void-linux/void-packages/pull/42921
New package: libdex-0.2.0
<!-- 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/42921.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libdex-42921.patch --]
[-- Type: text/x-diff, Size: 3342 bytes --]
From 6e683f65bfbbfb0ad87ebedde146ae044be4fd4a Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 21 Mar 2023 19:04:23 -0700
Subject: [PATCH] New package: libdex-0.2.0
---
common/shlibs | 1 +
srcpkgs/libdex-devel | 1 +
srcpkgs/libdex/patches/libucontext.patch | 10 +++++
srcpkgs/libdex/template | 49 ++++++++++++++++++++++++
4 files changed, 61 insertions(+)
create mode 120000 srcpkgs/libdex-devel
create mode 100644 srcpkgs/libdex/patches/libucontext.patch
create mode 100644 srcpkgs/libdex/template
diff --git a/common/shlibs b/common/shlibs
index 9b12ff7dbe51..f972eebc4d3a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -430,6 +430,7 @@ libdvdread.so.8 libdvdread-6.1.1_1
libdvdnav.so.4 libdvdnav-4.1.3_1
libdvbpsi.so.10 libdvbpsi-1.3.1_1
libdca.so.0 libdca-0.0.5_1
+libdex-1.so.1 libdex-0.2.0_1
libmpeg2.so.0 libmpeg2-0.5.1_1
libmpeg2convert.so.0 libmpeg2-0.5.1_1
libmng.so.2 libmng-2.0.2_1
diff --git a/srcpkgs/libdex-devel b/srcpkgs/libdex-devel
new file mode 120000
index 000000000000..7f6d81db220a
--- /dev/null
+++ b/srcpkgs/libdex-devel
@@ -0,0 +1 @@
+libdex
\ No newline at end of file
diff --git a/srcpkgs/libdex/patches/libucontext.patch b/srcpkgs/libdex/patches/libucontext.patch
new file mode 100644
index 000000000000..2cfb3d19a973
--- /dev/null
+++ b/srcpkgs/libdex/patches/libucontext.patch
@@ -0,0 +1,10 @@
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -60,6 +60,7 @@ libdex_headers = [
+
+ libdex_deps = [
+ cc.find_library('atomic', required: false),
++ cc.find_library('ucontext', required: false),
+ glib_dep,
+ ]
+
diff --git a/srcpkgs/libdex/template b/srcpkgs/libdex/template
new file mode 100644
index 000000000000..4c6f15150f4a
--- /dev/null
+++ b/srcpkgs/libdex/template
@@ -0,0 +1,49 @@
+# Template file for 'libdex'
+pkgname=libdex
+version=0.2.0
+revision=1
+build_style=meson
+build_helper=gir
+configure_args="-Dexamples=false
+ -Ddocs=$(vopt_if gtk_doc true false)
+ -Dintrospection=$(vopt_if gir enabled disabled)
+ $(vopt_bool vala vapi)"
+hostmakedepends="pkg-config glib-devel gettext
+ $(vopt_if vala vala) $(vopt_if gtk_doc gi-docgen)"
+makedepends="glib-devel libgirepository-devel libatomic-devel
+ liburing-devel $(vopt_if vala 'vala vala-devel')"
+short_desc="Future-based programming for GLib-based applications"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://gitlab.gnome.org/GNOME/libdex"
+changelog="https://gitlab.gnome.org/GNOME/libdex/-/raw/main/NEWS"
+distfiles="${GNOME_SITE}/libdex/${version%.*}/libdex-${version}.tar.xz"
+checksum=a0f7566260971a1e4aeb53a07d95c806091257b8789d6fad9931dba872c5070d
+
+# Package build options
+build_options="gir vala gtk_doc"
+build_options_default="gir vala gtk_doc"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+ makedepends+=" libucontext-devel"
+ CFLAGS="-D_GNU_SOURCE"
+fi
+
+libdex-devel_package() {
+ depends="${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ if [ "$build_option_gir" ]; then
+ vmove usr/share/gir-1.0
+ fi
+ if [ "$build_option_vala" ]; then
+ vmove usr/share/vala
+ fi
+ if [ "$build_option_gtk_doc" ]; then
+ vmove usr/share/doc
+ fi
+ }
+}
next prev parent reply other threads:[~2023-03-22 11:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-22 10:49 [PR PATCH] " oreo639
2023-03-22 11:22 ` oreo639 [this message]
2023-03-22 16:50 ` [PR PATCH] [Merged]: " paper42
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=20230322112223.SaFMn4QcByDJhAVLAmXlI42ZxKVzAcSG_35nTzkGvN0@z \
--to=oreo639@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).