Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] added       Added Haxe, Nexo and Neko-devel. 
@ 2024-08-07 14:41 OHNONOTAMOTH
  2024-08-07 14:43 ` [PR REVIEW] " abenson
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: OHNONOTAMOTH @ 2024-08-07 14:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/OHNONOTAMOTH/void-packages master
https://github.com/void-linux/void-packages/pull/51705

added       Added Haxe, Nexo and Neko-devel. 
<!-- 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**
-->

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


A patch file from https://github.com/void-linux/void-packages/pull/51705.patch is attached

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

From f1e4280e0664cc64f8c9ce9340600cacbb2bbd94 Mon Sep 17 00:00:00 2001
From: ohnonotamoth <dilanjohnson@outlook.com>
Date: Wed, 7 Aug 2024 10:24:09 -0400
Subject: [PATCH 1/3] Added Haxe, Nexo and Neko-devel.

---
 common/shlibs         |  2 +-
 srcpkgs/haxe/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel    |  1 +
 srcpkgs/neko/template | 31 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..71eb6668eab480 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,4 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
-libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..a3097a7a4d7b6c
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,26 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+depends=""
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..d743653dd9d3ab
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,31 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+depends=""
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+#changelog=""
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}

From 48022a69891d0b94c561464aac775051f0149c13 Mon Sep 17 00:00:00 2001
From: ohnonotamoth <dilanjohnson@outlook.com>
Date: Wed, 7 Aug 2024 10:24:09 -0400
Subject: [PATCH 2/3] Added Haxe, Nexo and Neko-devel.

---
 common/shlibs         |  2 +-
 srcpkgs/haxe/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel    |  1 +
 srcpkgs/neko/template | 31 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..71eb6668eab480 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,4 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
-libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..a3097a7a4d7b6c
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,26 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+depends=""
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..d743653dd9d3ab
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,31 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+depends=""
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+#changelog=""
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}

From 9908910c73f1a7b48f59adefc3b9a6d940d541fd Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:37:19 -0400
Subject: [PATCH 3/3] fixed mistake

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 71eb6668eab480..4d3b93db6a1731 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,5 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
+libsentry.so sentry-native-0.7.7_1
 libneko.so.2 neko-2.4.0_1

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

* Re: [PR REVIEW] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
@ 2024-08-07 14:43 ` abenson
  2024-08-07 14:43 ` abenson
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 14:43 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#discussion_r1707154893

Comment:
Please don't `git clone` things like this, grab it in `distfiles` and extract then move it into place.

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

* Re: [PR REVIEW] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
  2024-08-07 14:43 ` [PR REVIEW] " abenson
@ 2024-08-07 14:43 ` abenson
  2024-08-07 14:44 ` abenson
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 14:43 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#discussion_r1707156632

Comment:
Remove any of the commented lines.

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

* Re: [PR REVIEW] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
  2024-08-07 14:43 ` [PR REVIEW] " abenson
  2024-08-07 14:43 ` abenson
@ 2024-08-07 14:44 ` abenson
  2024-08-07 14:44 ` OHNONOTAMOTH
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 14:44 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#discussion_r1707157251

Comment:
If its blank, leave it out.

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

* Re: [PR REVIEW] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (2 preceding siblings ...)
  2024-08-07 14:44 ` abenson
@ 2024-08-07 14:44 ` OHNONOTAMOTH
  2024-08-07 14:45 ` abenson
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: OHNONOTAMOTH @ 2024-08-07 14:44 UTC (permalink / raw)
  To: ml

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

New review comment by OHNONOTAMOTH on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#discussion_r1707159118

Comment:
Haxelib has a bunch of git submodules that don't have releases, so this is the only way i could figure out how to do it.

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

* Re: [PR REVIEW] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (3 preceding siblings ...)
  2024-08-07 14:44 ` OHNONOTAMOTH
@ 2024-08-07 14:45 ` abenson
  2024-08-07 14:45 ` abenson
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 14:45 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#discussion_r1707159510

Comment:
- distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+ distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v${version//./-}.tar.gz"

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

* Re: [PR REVIEW] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (4 preceding siblings ...)
  2024-08-07 14:45 ` abenson
@ 2024-08-07 14:45 ` abenson
  2024-08-07 14:46 ` abenson
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 14:45 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#discussion_r1707159510

Comment:
`distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v${version//./-}.tar.gz"`

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

* Re: [PR REVIEW] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (5 preceding siblings ...)
  2024-08-07 14:45 ` abenson
@ 2024-08-07 14:46 ` abenson
  2024-08-07 14:46 ` abenson
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 14:46 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#discussion_r1707159510

Comment:
`distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v${version//./-}.tar.gz"`

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

* Re: [PR REVIEW] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (6 preceding siblings ...)
  2024-08-07 14:46 ` abenson
@ 2024-08-07 14:46 ` abenson
  2024-08-07 14:47 ` abenson
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 14:46 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#discussion_r1707162648

Comment:
```suggestion
distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v${version//./-}.tar.gz"
```

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

* Re: added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (7 preceding siblings ...)
  2024-08-07 14:46 ` abenson
@ 2024-08-07 14:47 ` abenson
  2024-08-07 14:49 ` [PR PATCH] [Updated] " OHNONOTAMOTH
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 14:47 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#issuecomment-2273656829

Comment:
You will need to rebase and squash the commits, one for each template, following our [guidelines](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes) for commit messages.

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

* Re: [PR PATCH] [Updated] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (8 preceding siblings ...)
  2024-08-07 14:47 ` abenson
@ 2024-08-07 14:49 ` OHNONOTAMOTH
  2024-08-07 14:53 ` OHNONOTAMOTH
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: OHNONOTAMOTH @ 2024-08-07 14:49 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by OHNONOTAMOTH against master on the void-packages repository

https://github.com/OHNONOTAMOTH/void-packages master
https://github.com/void-linux/void-packages/pull/51705

added       Added Haxe, Nexo and Neko-devel. 
<!-- 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**
-->

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


A patch file from https://github.com/void-linux/void-packages/pull/51705.patch is attached

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

From f1e4280e0664cc64f8c9ce9340600cacbb2bbd94 Mon Sep 17 00:00:00 2001
From: ohnonotamoth <dilanjohnson@outlook.com>
Date: Wed, 7 Aug 2024 10:24:09 -0400
Subject: [PATCH 1/4] Added Haxe, Nexo and Neko-devel.

---
 common/shlibs         |  2 +-
 srcpkgs/haxe/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel    |  1 +
 srcpkgs/neko/template | 31 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..71eb6668eab480 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,4 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
-libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..a3097a7a4d7b6c
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,26 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+depends=""
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..d743653dd9d3ab
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,31 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+depends=""
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+#changelog=""
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}

From 48022a69891d0b94c561464aac775051f0149c13 Mon Sep 17 00:00:00 2001
From: ohnonotamoth <dilanjohnson@outlook.com>
Date: Wed, 7 Aug 2024 10:24:09 -0400
Subject: [PATCH 2/4] Added Haxe, Nexo and Neko-devel.

---
 common/shlibs         |  2 +-
 srcpkgs/haxe/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel    |  1 +
 srcpkgs/neko/template | 31 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..71eb6668eab480 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,4 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
-libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..a3097a7a4d7b6c
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,26 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+depends=""
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..d743653dd9d3ab
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,31 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+depends=""
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+#changelog=""
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}

From 9908910c73f1a7b48f59adefc3b9a6d940d541fd Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:37:19 -0400
Subject: [PATCH 3/4] fixed mistake

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 71eb6668eab480..4d3b93db6a1731 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,5 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
+libsentry.so sentry-native-0.7.7_1
 libneko.so.2 neko-2.4.0_1

From 2ff4c9cd76dc159b10c172cc71a6401934a3dec3 Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:49:10 -0400
Subject: [PATCH 4/4] removed umpty depends

---
 srcpkgs/haxe/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
index a3097a7a4d7b6c..afd57c26cce837 100644
--- a/srcpkgs/haxe/template
+++ b/srcpkgs/haxe/template
@@ -5,7 +5,6 @@ revision=1
 build_style=gnu-makefile
 hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
 makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
-depends=""
 short_desc="High-level cross-platform programming language"
 maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
 license="MIT"

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

* Re: [PR PATCH] [Updated] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (9 preceding siblings ...)
  2024-08-07 14:49 ` [PR PATCH] [Updated] " OHNONOTAMOTH
@ 2024-08-07 14:53 ` OHNONOTAMOTH
  2024-08-07 14:54 ` OHNONOTAMOTH
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: OHNONOTAMOTH @ 2024-08-07 14:53 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by OHNONOTAMOTH against master on the void-packages repository

https://github.com/OHNONOTAMOTH/void-packages master
https://github.com/void-linux/void-packages/pull/51705

added       Added Haxe, Nexo and Neko-devel. 
<!-- 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**
-->

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


A patch file from https://github.com/void-linux/void-packages/pull/51705.patch is attached

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

From f1e4280e0664cc64f8c9ce9340600cacbb2bbd94 Mon Sep 17 00:00:00 2001
From: ohnonotamoth <dilanjohnson@outlook.com>
Date: Wed, 7 Aug 2024 10:24:09 -0400
Subject: [PATCH 1/5] Added Haxe, Nexo and Neko-devel.

---
 common/shlibs         |  2 +-
 srcpkgs/haxe/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel    |  1 +
 srcpkgs/neko/template | 31 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..71eb6668eab480 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,4 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
-libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..a3097a7a4d7b6c
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,26 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+depends=""
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..d743653dd9d3ab
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,31 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+depends=""
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+#changelog=""
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}

From 48022a69891d0b94c561464aac775051f0149c13 Mon Sep 17 00:00:00 2001
From: ohnonotamoth <dilanjohnson@outlook.com>
Date: Wed, 7 Aug 2024 10:24:09 -0400
Subject: [PATCH 2/5] Added Haxe, Nexo and Neko-devel.

---
 common/shlibs         |  2 +-
 srcpkgs/haxe/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel    |  1 +
 srcpkgs/neko/template | 31 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..71eb6668eab480 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,4 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
-libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..a3097a7a4d7b6c
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,26 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+depends=""
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..d743653dd9d3ab
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,31 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+depends=""
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+#changelog=""
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}

From 9908910c73f1a7b48f59adefc3b9a6d940d541fd Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:37:19 -0400
Subject: [PATCH 3/5] fixed mistake

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 71eb6668eab480..4d3b93db6a1731 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,5 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
+libsentry.so sentry-native-0.7.7_1
 libneko.so.2 neko-2.4.0_1

From 2ff4c9cd76dc159b10c172cc71a6401934a3dec3 Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:49:10 -0400
Subject: [PATCH 4/5] removed umpty depends

---
 srcpkgs/haxe/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
index a3097a7a4d7b6c..afd57c26cce837 100644
--- a/srcpkgs/haxe/template
+++ b/srcpkgs/haxe/template
@@ -5,7 +5,6 @@ revision=1
 build_style=gnu-makefile
 hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
 makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
-depends=""
 short_desc="High-level cross-platform programming language"
 maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
 license="MIT"

From 06f500d5e15e11634d6005daa41443933ce2d46a Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:53:35 -0400
Subject: [PATCH 5/5] removed empty deps and comments

---
 srcpkgs/neko/template | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
index d743653dd9d3ab..1b4d962df4aab2 100644
--- a/srcpkgs/neko/template
+++ b/srcpkgs/neko/template
@@ -2,22 +2,13 @@
 pkgname=neko
 version=2.4.0
 revision=1
-#archs="i686 x86_64"
-#build_wrksrc=
 build_style=cmake
-#configure_args=""
-#make_build_args=""
-#make_install_args=""
-#conf_files=""
-#make_dirs="/var/log/dir 0755 root root"
 hostmakedepends="pkg-config git"
 makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
-depends=""
 short_desc="deprecated programming language required by Haxe"
 maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
 license="MIT"
 homepage="https://nekovm.org/"
-#changelog=""
 distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
 checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
 

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

* Re: [PR PATCH] [Updated] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (10 preceding siblings ...)
  2024-08-07 14:53 ` OHNONOTAMOTH
@ 2024-08-07 14:54 ` OHNONOTAMOTH
  2024-08-07 15:12 ` OHNONOTAMOTH
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: OHNONOTAMOTH @ 2024-08-07 14:54 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by OHNONOTAMOTH against master on the void-packages repository

https://github.com/OHNONOTAMOTH/void-packages master
https://github.com/void-linux/void-packages/pull/51705

added       Added Haxe, Nexo and Neko-devel. 
<!-- 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**
-->

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


A patch file from https://github.com/void-linux/void-packages/pull/51705.patch is attached

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

From f1e4280e0664cc64f8c9ce9340600cacbb2bbd94 Mon Sep 17 00:00:00 2001
From: ohnonotamoth <dilanjohnson@outlook.com>
Date: Wed, 7 Aug 2024 10:24:09 -0400
Subject: [PATCH 1/6] Added Haxe, Nexo and Neko-devel.

---
 common/shlibs         |  2 +-
 srcpkgs/haxe/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel    |  1 +
 srcpkgs/neko/template | 31 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..71eb6668eab480 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,4 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
-libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..a3097a7a4d7b6c
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,26 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+depends=""
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..d743653dd9d3ab
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,31 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+depends=""
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+#changelog=""
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}

From 48022a69891d0b94c561464aac775051f0149c13 Mon Sep 17 00:00:00 2001
From: ohnonotamoth <dilanjohnson@outlook.com>
Date: Wed, 7 Aug 2024 10:24:09 -0400
Subject: [PATCH 2/6] Added Haxe, Nexo and Neko-devel.

---
 common/shlibs         |  2 +-
 srcpkgs/haxe/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel    |  1 +
 srcpkgs/neko/template | 31 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..71eb6668eab480 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,4 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
-libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..a3097a7a4d7b6c
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,26 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+depends=""
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..d743653dd9d3ab
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,31 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+depends=""
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+#changelog=""
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}

From 9908910c73f1a7b48f59adefc3b9a6d940d541fd Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:37:19 -0400
Subject: [PATCH 3/6] fixed mistake

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 71eb6668eab480..4d3b93db6a1731 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4527,4 +4527,5 @@ libbox2d.so.2 box2d-2.4.1_1
 libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
+libsentry.so sentry-native-0.7.7_1
 libneko.so.2 neko-2.4.0_1

From 2ff4c9cd76dc159b10c172cc71a6401934a3dec3 Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:49:10 -0400
Subject: [PATCH 4/6] removed umpty depends

---
 srcpkgs/haxe/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
index a3097a7a4d7b6c..afd57c26cce837 100644
--- a/srcpkgs/haxe/template
+++ b/srcpkgs/haxe/template
@@ -5,7 +5,6 @@ revision=1
 build_style=gnu-makefile
 hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
 makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
-depends=""
 short_desc="High-level cross-platform programming language"
 maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
 license="MIT"

From 06f500d5e15e11634d6005daa41443933ce2d46a Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:53:35 -0400
Subject: [PATCH 5/6] removed empty deps and comments

---
 srcpkgs/neko/template | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
index d743653dd9d3ab..1b4d962df4aab2 100644
--- a/srcpkgs/neko/template
+++ b/srcpkgs/neko/template
@@ -2,22 +2,13 @@
 pkgname=neko
 version=2.4.0
 revision=1
-#archs="i686 x86_64"
-#build_wrksrc=
 build_style=cmake
-#configure_args=""
-#make_build_args=""
-#make_install_args=""
-#conf_files=""
-#make_dirs="/var/log/dir 0755 root root"
 hostmakedepends="pkg-config git"
 makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
-depends=""
 short_desc="deprecated programming language required by Haxe"
 maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
 license="MIT"
 homepage="https://nekovm.org/"
-#changelog=""
 distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
 checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
 

From 51928e5342a6be676312ddfc2e7f486fd24e4221 Mon Sep 17 00:00:00 2001
From: OHNONOTAMOTH <53664669+OHNONOTAMOTH@users.noreply.github.com>
Date: Wed, 7 Aug 2024 10:54:20 -0400
Subject: [PATCH 6/6] revised distfile URL

Co-authored-by: Andrew Benson <abenson@gmail.com>
---
 srcpkgs/neko/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
index 1b4d962df4aab2..6e634435b05bda 100644
--- a/srcpkgs/neko/template
+++ b/srcpkgs/neko/template
@@ -9,7 +9,7 @@ short_desc="deprecated programming language required by Haxe"
 maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
 license="MIT"
 homepage="https://nekovm.org/"
-distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-4-0.tar.gz"
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v${version//./-}.tar.gz"
 checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
 
 neko-devel_package() {

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

* Re: [PR PATCH] [Updated] added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (11 preceding siblings ...)
  2024-08-07 14:54 ` OHNONOTAMOTH
@ 2024-08-07 15:12 ` OHNONOTAMOTH
  2024-08-07 15:12 ` [PR PATCH] [Closed]: " OHNONOTAMOTH
  2024-08-07 15:28 ` abenson
  14 siblings, 0 replies; 16+ messages in thread
From: OHNONOTAMOTH @ 2024-08-07 15:12 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by OHNONOTAMOTH against master on the void-packages repository

https://github.com/OHNONOTAMOTH/void-packages master
https://github.com/void-linux/void-packages/pull/51705

added       Added Haxe, Nexo and Neko-devel. 
<!-- 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**
-->

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


A patch file from https://github.com/void-linux/void-packages/pull/51705.patch is attached

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

From cb98e5b22ec038bcf5e47d0fc046f2cb36d6639b Mon Sep 17 00:00:00 2001
From: Massimo Manzato <massimo.manzato@gmail.com>
Date: Thu, 3 Aug 2023 18:20:59 +0200
Subject: [PATCH] New package: librespeed-cli-1.0.10

sbctl: run checks, update to 0.15.4

ffmpeg: strip libs fix for i686-musl

ffmpeg: strip static libs fix for i686-musl

ffmpeg: strip libs fix for i686-musl

fossil: update to 2.24.

Added Haxe, Nexo and Neko-devel.

Added Haxe, Nexo and Neko-devel.

fixed mistake

removed umpty depends

removed empty deps and comments

revised distfile URL

Co-authored-by: Andrew Benson <abenson@gmail.com>
---
 common/shlibs                   |  1 +
 srcpkgs/ffmpeg/template         |  7 ++++---
 srcpkgs/fossil/template         |  6 +++---
 srcpkgs/haxe/template           | 25 +++++++++++++++++++++++++
 srcpkgs/librespeed-cli/template | 26 ++++++++++++++++++++++++++
 srcpkgs/neko-devel              |  1 +
 srcpkgs/neko/template           | 22 ++++++++++++++++++++++
 srcpkgs/sbctl/template          | 29 +++++++++++++++++++----------
 8 files changed, 101 insertions(+), 16 deletions(-)
 create mode 100644 srcpkgs/haxe/template
 create mode 100644 srcpkgs/librespeed-cli/template
 create mode 120000 srcpkgs/neko-devel
 create mode 100644 srcpkgs/neko/template

diff --git a/common/shlibs b/common/shlibs
index e80b071f048315..4d3b93db6a1731 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4528,3 +4528,4 @@ libhwy.so.1 highway-1.2.0_1
 libscenefx.so.1 scenefx-0.1_1
 libnng.so.1 nng-1.5.2_1
 libsentry.so sentry-native-0.7.7_1
+libneko.so.2 neko-2.4.0_1
diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template
index 74bde86a04d97e..13799f873668b2 100644
--- a/srcpkgs/ffmpeg/template
+++ b/srcpkgs/ffmpeg/template
@@ -224,10 +224,11 @@ ffmpeg-devel_package() {
 	short_desc="Decoding, encoding and streaming software - development files"
 	conflicts="ffmpeg6-devel"
 	replaces="ffmpeg6-devel>=0"
-	if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
+	case "$XBPS_TARGET_MACHINE" in
+		i686*)
 		# /usr/bin/strip: error: the input file '/destdir//ffmpeg-devel-4.4.4/usr/lib/libavfilter.a(vf_atadenoise.o)' has no sections
-		nostrip_files="/usr/lib/libavfilter.a"
-	fi
+		nostrip_files="/usr/lib/libavfilter.a";;
+	esac
 
 	pkg_install() {
 		vmove usr/include
diff --git a/srcpkgs/fossil/template b/srcpkgs/fossil/template
index 23303bf4334936..9abf32c25a38fc 100644
--- a/srcpkgs/fossil/template
+++ b/srcpkgs/fossil/template
@@ -1,6 +1,6 @@
 # Template file for 'fossil'
 pkgname=fossil
-version=2.23
+version=2.24
 revision=1
 build_style=configure
 configure_args="--disable-internal-sqlite --prefix=/usr
@@ -8,12 +8,12 @@ configure_args="--disable-internal-sqlite --prefix=/usr
 hostmakedepends="tcl"
 makedepends="zlib-devel openssl-devel sqlite-devel"
 short_desc="Simple, high-reliability, distributed software configuration management"
-maintainer="ologantr <mrphyber@protonmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://www.fossil-scm.org"
 changelog="https://www.fossil-scm.org/home/doc/trunk/www/changes.wiki"
 distfiles="https://fossil-scm.org/home/tarball/version-${version}/fossil-${version}.tar.gz"
-checksum=75f808e81351018a9716746d9ef1a1fe1bb1904733e8b418643881d381988593
+checksum=95cd3c176835beb9b897076fa58171fe30b0b291f6387bb54749efbdfa962f4c
 
 post_extract() {
 	vsed -i 's/test_system_sqlite$/# &/' auto.def  # failing on cross
diff --git a/srcpkgs/haxe/template b/srcpkgs/haxe/template
new file mode 100644
index 00000000000000..afd57c26cce837
--- /dev/null
+++ b/srcpkgs/haxe/template
@@ -0,0 +1,25 @@
+# Template file for 'haxe'
+pkgname=haxe
+version=4.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends="ocaml opam wget tar pkg-config perl rsync which git m4"
+makedepends="pcre2-devel zlib-devel neko-devel mbedtls-devel"
+short_desc="High-level cross-platform programming language"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://haxe.org/"
+distfiles="https://github.com/HaxeFoundation/haxe/archive/refs/tags/${version}.tar.gz"
+checksum=58d79c8c4e01014c00d7e431181f846c42df0324f9d97df752615efa5fcbacbd
+
+pre_build() {
+	git clone https://github.com/HaxeFoundation/haxelib.git extra/haxelib_src
+	cd extra/haxelib_src
+	git submodule update --init --recursive
+	cd ../..
+	opam init -y --compiler=ocaml-system --disable-sandboxing --shell-setup
+	eval $(opam env)
+        opam pin add haxe . --kind=path --no-action
+	opam install haxe -y --deps-only
+	perl -pi -e 's/INSTALL_DIR=\/usr\/local/INSTALL_DIR=\/usr/' Makefile
+}
diff --git a/srcpkgs/librespeed-cli/template b/srcpkgs/librespeed-cli/template
new file mode 100644
index 00000000000000..1254d810097f42
--- /dev/null
+++ b/srcpkgs/librespeed-cli/template
@@ -0,0 +1,26 @@
+# Template file for 'librespeed-cli'
+pkgname=librespeed-cli
+version=1.0.10
+revision=1
+build_style=go
+go_import_path="github.com/librespeed/speedtest-cli"
+go_ldflags="-X librespeed-cli/defs.ProgName=${pkgname} -X librespeed-cli/defs.ProgVersion=${version}"
+short_desc="LibreSpeed command line tool"
+maintainer="Massimo Manzato <massimo.manzato@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/librespeed/speedtest-cli"
+distfiles="https://github.com/librespeed/speedtest-cli/archive/refs/tags/v${version}.tar.gz"
+checksum=904ec84f41714d5a7ab778534d332219cd254fdd0f97cc33ebb3540d31fb802c
+
+pre_build() {
+	local _date
+	if [ "$SOURCE_DATE_EPOCH" ]; then
+		_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+		go_ldflags+=" -X librespeed-cli/defs.BuildDate=${_date}"
+	fi
+}
+
+post_install() {
+	# Rename the executable due to conflic with PKG speedtest-cli
+	mv "${DESTDIR}"/usr/bin/{speedtest,librespeed}-cli
+}
diff --git a/srcpkgs/neko-devel b/srcpkgs/neko-devel
new file mode 120000
index 00000000000000..cc127591716bbc
--- /dev/null
+++ b/srcpkgs/neko-devel
@@ -0,0 +1 @@
+neko
\ No newline at end of file
diff --git a/srcpkgs/neko/template b/srcpkgs/neko/template
new file mode 100644
index 00000000000000..6e634435b05bda
--- /dev/null
+++ b/srcpkgs/neko/template
@@ -0,0 +1,22 @@
+# Template file for 'neko'
+pkgname=neko
+version=2.4.0
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config git"
+makedepends="gc-devel openssl-devel pcre2-devel zlib-devel apache-devel libmariadbclient-devel sqlite-devel mbedtls-devel gtk+3-devel"
+short_desc="deprecated programming language required by Haxe"
+maintainer="ohnonotamoth <dilanjohnson@outlook.com>"
+license="MIT"
+homepage="https://nekovm.org/"
+distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v${version//./-}.tar.gz"
+checksum=232d030ce27ce648f3b3dd11e39dca0a609347336b439a4a59e9a5c0a465ce15
+
+neko-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib64/*.so"
+	}
+}
diff --git a/srcpkgs/sbctl/template b/srcpkgs/sbctl/template
index 5d181cd62da0d7..02c0b5f479a532 100644
--- a/srcpkgs/sbctl/template
+++ b/srcpkgs/sbctl/template
@@ -1,26 +1,35 @@
 # Template file for 'sbctl'
 pkgname=sbctl
-version=0.10
-revision=3
+version=0.15.4
+revision=1
 build_style=go
+build_helper=qemu
 go_import_path="github.com/foxboron/sbctl"
+go_package="${go_import_path}/cmd/sbctl"
+go_ldflags="-X ${go_import_path}.Version=${version}"
 hostmakedepends="asciidoc"
+checkdepends="openssl-devel"
 short_desc="Secure Boot key manager"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="MIT"
 homepage="https://github.com/Foxboron/sbctl"
 distfiles="https://github.com/Foxboron/sbctl/archive/${version}.tar.gz"
-checksum=22c394e1ae3f80eafe85e331ca4499d2df28bebcc4421c0af89241b897a17774
+checksum=500e8647041b9be193cf573a99b2c5b2956f11565b1aa961d62aa1666689b977
+make_dirs="/var/lib/sbctl 0700 root root"
+export GOFLAGS="-buildmode=pie"
 
-do_build() {
-	make
-}
-
-do_install() {
-	make install PREFIX=/usr DESTDIR=$DESTDIR
-	# TODO: install completions, sbctl tries to run lsblk when generating them
+do_check() {
+	go test -v ./...
 }
 
 post_install() {
+	make man
+	vman docs/sbctl.8
 	vlicense LICENSE
+
+	local SBCTL="${DESTDIR}/usr/bin/sbctl"
+	for shell in bash fish zsh; do
+		vtargetrun ${SBCTL} completion ${shell} > sbctl.${shell}
+		vcompletion sbctl.${shell} ${shell}
+	done
 }

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

* Re: [PR PATCH] [Closed]: added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (12 preceding siblings ...)
  2024-08-07 15:12 ` OHNONOTAMOTH
@ 2024-08-07 15:12 ` OHNONOTAMOTH
  2024-08-07 15:28 ` abenson
  14 siblings, 0 replies; 16+ messages in thread
From: OHNONOTAMOTH @ 2024-08-07 15:12 UTC (permalink / raw)
  To: ml

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

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

added       Added Haxe, Nexo and Neko-devel. 
https://github.com/void-linux/void-packages/pull/51705

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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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)
-->


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

* Re: added       Added Haxe, Nexo and Neko-devel. 
  2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
                   ` (13 preceding siblings ...)
  2024-08-07 15:12 ` [PR PATCH] [Closed]: " OHNONOTAMOTH
@ 2024-08-07 15:28 ` abenson
  14 siblings, 0 replies; 16+ messages in thread
From: abenson @ 2024-08-07 15:28 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/51705#issuecomment-2273743860

Comment:
That happened because you PR'd from `master`. Create a separate branch for just these commits and then PR from that.

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

end of thread, other threads:[~2024-08-07 15:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-07 14:41 [PR PATCH] added Added Haxe, Nexo and Neko-devel OHNONOTAMOTH
2024-08-07 14:43 ` [PR REVIEW] " abenson
2024-08-07 14:43 ` abenson
2024-08-07 14:44 ` abenson
2024-08-07 14:44 ` OHNONOTAMOTH
2024-08-07 14:45 ` abenson
2024-08-07 14:45 ` abenson
2024-08-07 14:46 ` abenson
2024-08-07 14:46 ` abenson
2024-08-07 14:47 ` abenson
2024-08-07 14:49 ` [PR PATCH] [Updated] " OHNONOTAMOTH
2024-08-07 14:53 ` OHNONOTAMOTH
2024-08-07 14:54 ` OHNONOTAMOTH
2024-08-07 15:12 ` OHNONOTAMOTH
2024-08-07 15:12 ` [PR PATCH] [Closed]: " OHNONOTAMOTH
2024-08-07 15:28 ` abenson

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