From: subnut <subnut@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Added new package glfw-wayland-devel-3.3.7
Date: Wed, 11 May 2022 06:51:22 +0200 [thread overview]
Message-ID: <20220511045122.e9Ji3nVoap25e8MZt8vu6yw7l0dSU-6KopQsULN5UiI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37078@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]
There is an updated pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages glfw-wayland
https://github.com/void-linux/void-packages/pull/37078
Added new package glfw-wayland-devel-3.3.7
Executables built with the current glfw-devel links with the default
glfw library and works on X11 only. This package replaces the glfw-devel
package files with the wayland-compatible files, so the executable links
with the wayland-compatible glfw libraries provided by glfw-wayland.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- 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, (x86_64-glibc)
<!--
- 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/37078.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glfw-wayland-37078.patch --]
[-- Type: text/x-diff, Size: 1762 bytes --]
From 6491045409c3c19d4caac065f98526fd9c5fe7b5 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Wed, 11 May 2022 10:13:32 +0530
Subject: [PATCH] New package: glfw-wayland-devel-3.3.7
Executables built with the current glfw-devel links with the default
glfw library and works on X11 only. This package replaces the glfw-devel
package files with the wayland-compatible files, so the executable links
with the wayland-compatible glfw libraries provided by glfw-wayland.
---
srcpkgs/glfw-wayland-devel | 1 +
srcpkgs/glfw-wayland/template | 15 +++++++++++----
2 files changed, 12 insertions(+), 4 deletions(-)
create mode 120000 srcpkgs/glfw-wayland-devel
diff --git a/srcpkgs/glfw-wayland-devel b/srcpkgs/glfw-wayland-devel
new file mode 120000
index 000000000000..be41fbcf9717
--- /dev/null
+++ b/srcpkgs/glfw-wayland-devel
@@ -0,0 +1 @@
+glfw-wayland
\ No newline at end of file
diff --git a/srcpkgs/glfw-wayland/template b/srcpkgs/glfw-wayland/template
index f2abe3a8a608..feb84f41f81a 100644
--- a/srcpkgs/glfw-wayland/template
+++ b/srcpkgs/glfw-wayland/template
@@ -18,8 +18,15 @@ checksum=fd21a5f65bcc0fc3c76e0f8865776e852de09ef6fbc3620e09ce96d2b2807e04
provides="glfw-${version}_${revision}"
replaces="glfw>=0"
-do_install() {
- vmkdir usr/lib
- install -m755 ${wrksrc}/build/src/libglfw.so.${version%.*} ${DESTDIR}/usr/lib/
- ln -s libglfw.so.${version%.*} ${DESTDIR}/usr/lib/libglfw.so.3
+glfw-wayland-devel_package() {
+ replaces="glfw-devel>=0"
+ provides="glfw-devel-${version}_${revision}"
+ depends="${sourcepkg}>=${version}_${revision} $makedepends"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove /usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
}
next prev parent reply other threads:[~2022-05-11 4:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-11 4:48 [PR PATCH] " subnut
2022-05-11 4:50 ` subnut
2022-05-11 4:51 ` subnut [this message]
2022-05-13 13:50 ` New package: glfw-wayland-devel-3.3.7 ericonr
2022-05-13 14:22 ` subnut
2022-05-13 14:22 ` [PR PATCH] [Closed]: " subnut
2022-05-13 14:23 ` ericonr
2022-05-13 14:23 ` subnut
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=20220511045122.e9Ji3nVoap25e8MZt8vu6yw7l0dSU-6KopQsULN5UiI@z \
--to=subnut@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).