* [PR PATCH] WIP: New package: Louvre libSRM [ci skip]
@ 2024-02-13 19:29 zlice
0 siblings, 0 replies; only message in thread
From: zlice @ 2024-02-13 19:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
There is a new pull request by zlice against master on the void-packages repository
https://github.com/zlice/void-packages louvre-init
https://github.com/void-linux/void-packages/pull/48703
WIP: New package: Louvre libSRM [ci skip]
#### Testing the changes
- I tested the changes in this PR: **NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, **x86_64**
#### Comments
Just leaving this here. If someone else wants to use/test/complete ping me and I'll delete this.
- need to test arm & musl builds
- need to test a wm(compositor) and idk if anything uses this yet
A patch file from https://github.com/void-linux/void-packages/pull/48703.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-louvre-init-48703.patch --]
[-- Type: text/x-diff, Size: 4027 bytes --]
From 0d909281384dfcf1ff82ee78549b508b7bb9f9f6 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 13 Feb 2024 14:23:28 -0500
Subject: [PATCH 1/2] New package: libSRM 0.5.2
---
common/shlibs | 1 +
srcpkgs/libSRM-devel | 1 +
srcpkgs/libSRM/template | 34 ++++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/libSRM-devel
create mode 100644 srcpkgs/libSRM/template
diff --git a/common/shlibs b/common/shlibs
index 93fb4b2608729..8f5e328e0fa0c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4273,3 +4273,4 @@ libunicode.so.0.4 libunicode-0.4.0_1
libunicode_ucd.so.0.4 libunicode-0.4.0_1
libunicode_loader.so.0.4 libunicode-0.4.0_1
force-stage.so.0.1 void-force-stage-0.1_1
+libSRM.so.0 libSRM-0.5.2_1
diff --git a/srcpkgs/libSRM-devel b/srcpkgs/libSRM-devel
new file mode 120000
index 0000000000000..e59d946b43eea
--- /dev/null
+++ b/srcpkgs/libSRM-devel
@@ -0,0 +1 @@
+libSRM
\ No newline at end of file
diff --git a/srcpkgs/libSRM/template b/srcpkgs/libSRM/template
new file mode 100644
index 0000000000000..5f39b615fff59
--- /dev/null
+++ b/srcpkgs/libSRM/template
@@ -0,0 +1,34 @@
+# Template file for 'libSRM'
+pkgname=libSRM
+version=0.5.2
+revision=1
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libdisplay-info-devel libseat-devel libinput-devel libglvnd-devel
+ libdrm-devel eudev-libudev-devel libgbm-devel"
+short_desc="SRM (Simple Rendering Manager) library for Louvre"
+maintainer="zlice <zlice555@gmail.com>"
+license="MIT"
+homepage="https://github.com/CuarzoSoftware/SRM"
+changelog="https://github.com/CuarzoSoftware/SRM/blob/main/CHANGES"
+distfiles="https://github.com/CuarzoSoftware/SRM/archive/refs/tags/v${version}-1.tar.gz"
+checksum=65f836aba79e37181484d79c19070279ffd2a4bf9e389773f50c9b76e815129b
+
+post_extract() {
+ mv src/* .
+ sed -e 's/\.\.\///g' -i meson.build
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libSRM-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
From c29da7736ebcb5eab287e74901e9f09692b5cfda Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 13 Feb 2024 14:23:39 -0500
Subject: [PATCH 2/2] New package: louvre 1.1.0
---
srcpkgs/louvre-devel | 1 +
srcpkgs/louvre/template | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
create mode 120000 srcpkgs/louvre-devel
create mode 100644 srcpkgs/louvre/template
diff --git a/srcpkgs/louvre-devel b/srcpkgs/louvre-devel
new file mode 120000
index 0000000000000..d08879fb6e75f
--- /dev/null
+++ b/srcpkgs/louvre-devel
@@ -0,0 +1 @@
+louvre
\ No newline at end of file
diff --git a/srcpkgs/louvre/template b/srcpkgs/louvre/template
new file mode 100644
index 0000000000000..7371c2e7e82b1
--- /dev/null
+++ b/srcpkgs/louvre/template
@@ -0,0 +1,35 @@
+# Template file for 'louvre'
+pkgname=louvre
+version=1.1.0
+revision=1
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libdisplay-info-devel libseat-devel libinput-devel libglvnd-devel
+ libdrm-devel eudev-libudev-devel libgbm-devel wayland-devel libXcursor-devel
+ pixman-devel libxkbcommon-devel libSRM-devel fontconfig-devel icu-devel"
+short_desc="C++ Wayland compositor library"
+maintainer="zlice <zlice555@gmail.com>"
+license="MIT"
+homepage="https://github.com/CuarzoSoftware/Louvre"
+changelog="https://github.com/CuarzoSoftware/Louvre/blob/main/CHANGES"
+distfiles="https://github.com/CuarzoSoftware/Louvre/archive/refs/tags/v${version}-1.tar.gz"
+checksum=71e77d81afb563e9ea3abbbda836ef05a966bb5751cefafa6ab8728e21cd7d3b
+
+post_extract() {
+ mv src/* .
+ sed -e 's/\.\.\///g' -i meson.build
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+louvre-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-13 19:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 19:29 [PR PATCH] WIP: New package: Louvre libSRM [ci skip] zlice
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).