Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: rigs-of-rods-2022.12
@ 2024-04-25 14:23 MIvanchev
  2024-04-25 14:26 ` [PR PATCH] [Updated] " MIvanchev
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: MIvanchev @ 2024-04-25 14:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages rigs-of-rods
https://github.com/void-linux/void-packages/pull/50031

[WIP] New package: rigs-of-rods-2022.12
#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rigs-of-rods-50031.patch --]
[-- Type: text/x-diff, Size: 1157 bytes --]

From 55f48bbc53cd0e37812fa90f5b3550f0ce7eccd7 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 25 Apr 2024 16:22:08 +0200
Subject: [PATCH] New package: rigs-of-rods-2022.12

---
 srcpkgs/rigs-of-rods/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/rigs-of-rods/template

diff --git a/srcpkgs/rigs-of-rods/template b/srcpkgs/rigs-of-rods/template
new file mode 100644
index 00000000000000..d3334d89303b8c
--- /dev/null
+++ b/srcpkgs/rigs-of-rods/template
@@ -0,0 +1,14 @@
+# Template file for 'rigs-of-rods'
+pkgname=rigs-of-rods
+version=2022.12
+revision=1
+build_style=cmake
+hostmakedepends="git rapidjson"
+makedepends="libogre-devel openal-devel ois-devel libmygui-devel fmt-devel openssl-devel"
+depends="curl"
+short_desc="Free and open source vehicle simulator that uses soft-body physics"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-only"
+homepage="https://www.rigsofrods.org/"
+distfiles="https://github.com/RigsOfRods/rigs-of-rods/archive/refs/tags/${version}.tar.gz"
+checksum=d4fc9ec2f7e9154e21ec79d39201c5bb3823e5f2fdf641f99c612ef69275ba90

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

* Re: [PR PATCH] [Updated] [WIP] New package: rigs-of-rods-2022.12
  2024-04-25 14:23 [PR PATCH] [WIP] New package: rigs-of-rods-2022.12 MIvanchev
@ 2024-04-25 14:26 ` MIvanchev
  2024-04-25 14:30 ` MIvanchev
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: MIvanchev @ 2024-04-25 14:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages rigs-of-rods
https://github.com/void-linux/void-packages/pull/50031

[WIP] New package: rigs-of-rods-2022.12
#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rigs-of-rods-50031.patch --]
[-- Type: text/x-diff, Size: 1160 bytes --]

From 55f931028b410afb4cda4cf8d4b4fe8e198471e2 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 25 Apr 2024 16:22:08 +0200
Subject: [PATCH] New package: rigs-of-rods-2022.12

---
 srcpkgs/rigs-of-rods/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/rigs-of-rods/template

diff --git a/srcpkgs/rigs-of-rods/template b/srcpkgs/rigs-of-rods/template
new file mode 100644
index 00000000000000..b2b32c8fcf2b6a
--- /dev/null
+++ b/srcpkgs/rigs-of-rods/template
@@ -0,0 +1,14 @@
+# Template file for 'rigs-of-rods'
+pkgname=rigs-of-rods
+version=2022.12
+revision=1
+build_style=cmake
+hostmakedepends="git rapidjson"
+makedepends="libogre-devel libopenal-devel ois-devel libmygui-devel fmt-devel openssl-devel"
+depends="curl"
+short_desc="Free and open source vehicle simulator that uses soft-body physics"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-only"
+homepage="https://www.rigsofrods.org/"
+distfiles="https://github.com/RigsOfRods/rigs-of-rods/archive/refs/tags/${version}.tar.gz"
+checksum=d4fc9ec2f7e9154e21ec79d39201c5bb3823e5f2fdf641f99c612ef69275ba90

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

* Re: [PR PATCH] [Updated] [WIP] New package: rigs-of-rods-2022.12
  2024-04-25 14:23 [PR PATCH] [WIP] New package: rigs-of-rods-2022.12 MIvanchev
  2024-04-25 14:26 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-04-25 14:30 ` MIvanchev
  2024-05-01 16:13 ` MIvanchev
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: MIvanchev @ 2024-04-25 14:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages rigs-of-rods
https://github.com/void-linux/void-packages/pull/50031

[WIP] New package: rigs-of-rods-2022.12
#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rigs-of-rods-50031.patch --]
[-- Type: text/x-diff, Size: 1171 bytes --]

From 28783d027333acb6150a846da57e23cfb897f735 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 25 Apr 2024 16:22:08 +0200
Subject: [PATCH] New package: rigs-of-rods-2022.12

---
 srcpkgs/rigs-of-rods/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/rigs-of-rods/template

diff --git a/srcpkgs/rigs-of-rods/template b/srcpkgs/rigs-of-rods/template
new file mode 100644
index 00000000000000..b420695d53f842
--- /dev/null
+++ b/srcpkgs/rigs-of-rods/template
@@ -0,0 +1,14 @@
+# Template file for 'rigs-of-rods'
+pkgname=rigs-of-rods
+version=2022.12
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config git rapidjson"
+makedepends="libogre-devel libopenal-devel ois-devel libmygui-devel fmt-devel openssl-devel"
+depends="curl"
+short_desc="Free and open source vehicle simulator that uses soft-body physics"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-only"
+homepage="https://www.rigsofrods.org/"
+distfiles="https://github.com/RigsOfRods/rigs-of-rods/archive/refs/tags/${version}.tar.gz"
+checksum=d4fc9ec2f7e9154e21ec79d39201c5bb3823e5f2fdf641f99c612ef69275ba90

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

* Re: [PR PATCH] [Updated] [WIP] New package: rigs-of-rods-2022.12
  2024-04-25 14:23 [PR PATCH] [WIP] New package: rigs-of-rods-2022.12 MIvanchev
  2024-04-25 14:26 ` [PR PATCH] [Updated] " MIvanchev
  2024-04-25 14:30 ` MIvanchev
@ 2024-05-01 16:13 ` MIvanchev
  2024-05-01 16:17 ` MIvanchev
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: MIvanchev @ 2024-05-01 16:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages rigs-of-rods
https://github.com/void-linux/void-packages/pull/50031

[WIP] New package: rigs-of-rods-2022.12
#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rigs-of-rods-50031.patch --]
[-- Type: text/x-diff, Size: 3454 bytes --]

From 28783d027333acb6150a846da57e23cfb897f735 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 25 Apr 2024 16:22:08 +0200
Subject: [PATCH 1/2] New package: rigs-of-rods-2022.12

---
 srcpkgs/rigs-of-rods/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/rigs-of-rods/template

diff --git a/srcpkgs/rigs-of-rods/template b/srcpkgs/rigs-of-rods/template
new file mode 100644
index 00000000000000..b420695d53f842
--- /dev/null
+++ b/srcpkgs/rigs-of-rods/template
@@ -0,0 +1,14 @@
+# Template file for 'rigs-of-rods'
+pkgname=rigs-of-rods
+version=2022.12
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config git rapidjson"
+makedepends="libogre-devel libopenal-devel ois-devel libmygui-devel fmt-devel openssl-devel"
+depends="curl"
+short_desc="Free and open source vehicle simulator that uses soft-body physics"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-only"
+homepage="https://www.rigsofrods.org/"
+distfiles="https://github.com/RigsOfRods/rigs-of-rods/archive/refs/tags/${version}.tar.gz"
+checksum=d4fc9ec2f7e9154e21ec79d39201c5bb3823e5f2fdf641f99c612ef69275ba90

From 294d1a6cff79174933bdfc96b681346ac62c8e0e Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Wed, 1 May 2024 18:13:43 +0200
Subject: [PATCH 2/2] libmygui: adding OGRE platform.

---
 srcpkgs/libmygui/template | 56 ++++++++++++++++++++++++++++++---------
 1 file changed, 44 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/libmygui/template b/srcpkgs/libmygui/template
index c162ea81640915..f1127eca41deb8 100644
--- a/srcpkgs/libmygui/template
+++ b/srcpkgs/libmygui/template
@@ -1,11 +1,9 @@
 # Template file for 'mygui'
 pkgname=libmygui
 version=3.4.2
-revision=1
-build_style=cmake
-configure_args="-DMYGUI_BUILD_DEMOS=OFF -DMYGUI_RENDERSYSTEM=1 -DMYGUI_BUILD_TOOLS=OFF"
-hostmakedepends="doxygen pkg-config"
-makedepends="libX11-devel ois-devel boost-devel freetype-devel"
+revision=2
+hostmakedepends="cmake ninja doxygen pkg-config"
+makedepends="SDL2-devel libogre-devel libX11-devel ois-devel boost-devel freetype-devel"
 short_desc="Fast, flexible and simple GUI"
 maintainer="John <me@johnnynator.dev>"
 license="MIT"
@@ -13,16 +11,50 @@ homepage="http://mygui.info"
 distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz"
 checksum=1cc45fb96c9438e3476778449af0378443d84794a458978a29c75306e45dd45a
 
-libmygui-devel_package() {
-	short_desc+=" - development files"
-	pkg_install() {
-		vmove usr/include
-		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.so"
-		vmove "usr/lib/*.a"
+build_mygui_platform() {
+	cmake -Bbuild-$1 -GNinja \
+		-DMYGUI_RENDERSYSTEM=$2 \
+		-DMYGUI_BUILD_DEMOS=OFF \
+		-DMYGUI_BUILD_TOOLS=ON \
+		-DMYGUI_INSTALL_TOOLS=ON
+		-DMYGUI_INSTALL_DOCS=ON
+	ninja -C build-$1 ${makejobs}
+}
+
+do_build() {
+	build_mygui_platform dummy 1
+	build_mygui_platform ogre 3
+}
+
+do_install() {
+	ninja -C build-dummy install
+	rm ${DESTDIR}/usr/lib/*.a
+}
+
+libmygui-dummy_package {
+	short_desc+=" (dummy platform)"
+	pkg_install {
+		echo TODO
 	}
 }
 
+libmygui-ogre_package {
+	short_desc+=" (OGRE platform)"
+	pkg_install {
+		echo TODO
+	}
+}
+
+# libmygui-devel_package() {
+# 	short_desc+=" - development files"
+# 	pkg_install() {
+# 		vmove usr/include
+# 		vmove usr/lib/pkgconfig
+# 		vmove "usr/lib/*.so"
+# 		vmove "usr/lib/*.a"
+# 	}
+# }
+
 post_install() {
 	vlicense COPYING.MIT
 }

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

* Re: [PR PATCH] [Updated] [WIP] New package: rigs-of-rods-2022.12
  2024-04-25 14:23 [PR PATCH] [WIP] New package: rigs-of-rods-2022.12 MIvanchev
                   ` (2 preceding siblings ...)
  2024-05-01 16:13 ` MIvanchev
@ 2024-05-01 16:17 ` MIvanchev
  2024-05-01 17:45 ` MIvanchev
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: MIvanchev @ 2024-05-01 16:17 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages rigs-of-rods
https://github.com/void-linux/void-packages/pull/50031

[WIP] New package: rigs-of-rods-2022.12
#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rigs-of-rods-50031.patch --]
[-- Type: text/x-diff, Size: 3472 bytes --]

From 28783d027333acb6150a846da57e23cfb897f735 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 25 Apr 2024 16:22:08 +0200
Subject: [PATCH 1/2] New package: rigs-of-rods-2022.12

---
 srcpkgs/rigs-of-rods/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/rigs-of-rods/template

diff --git a/srcpkgs/rigs-of-rods/template b/srcpkgs/rigs-of-rods/template
new file mode 100644
index 00000000000000..b420695d53f842
--- /dev/null
+++ b/srcpkgs/rigs-of-rods/template
@@ -0,0 +1,14 @@
+# Template file for 'rigs-of-rods'
+pkgname=rigs-of-rods
+version=2022.12
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config git rapidjson"
+makedepends="libogre-devel libopenal-devel ois-devel libmygui-devel fmt-devel openssl-devel"
+depends="curl"
+short_desc="Free and open source vehicle simulator that uses soft-body physics"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-only"
+homepage="https://www.rigsofrods.org/"
+distfiles="https://github.com/RigsOfRods/rigs-of-rods/archive/refs/tags/${version}.tar.gz"
+checksum=d4fc9ec2f7e9154e21ec79d39201c5bb3823e5f2fdf641f99c612ef69275ba90

From 5b1bbd5d1fe51f13b462808cec068c48cbdfa11a Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Wed, 1 May 2024 18:13:43 +0200
Subject: [PATCH 2/2] libmygui: adding OGRE platform.

---
 srcpkgs/libmygui/template | 56 ++++++++++++++++++++++++++++++---------
 1 file changed, 44 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/libmygui/template b/srcpkgs/libmygui/template
index c162ea81640915..2b29da116710a8 100644
--- a/srcpkgs/libmygui/template
+++ b/srcpkgs/libmygui/template
@@ -1,11 +1,9 @@
-# Template file for 'mygui'
+# Template file for 'libmygui'
 pkgname=libmygui
 version=3.4.2
-revision=1
-build_style=cmake
-configure_args="-DMYGUI_BUILD_DEMOS=OFF -DMYGUI_RENDERSYSTEM=1 -DMYGUI_BUILD_TOOLS=OFF"
-hostmakedepends="doxygen pkg-config"
-makedepends="libX11-devel ois-devel boost-devel freetype-devel"
+revision=2
+hostmakedepends="cmake ninja doxygen pkg-config"
+makedepends="SDL2-devel libogre-devel libX11-devel ois-devel boost-devel freetype-devel"
 short_desc="Fast, flexible and simple GUI"
 maintainer="John <me@johnnynator.dev>"
 license="MIT"
@@ -13,16 +11,50 @@ homepage="http://mygui.info"
 distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz"
 checksum=1cc45fb96c9438e3476778449af0378443d84794a458978a29c75306e45dd45a
 
-libmygui-devel_package() {
-	short_desc+=" - development files"
+build_mygui_platform() {
+	cmake -Bbuild-$1 -GNinja \
+		-DMYGUI_RENDERSYSTEM=$2 \
+		-DMYGUI_BUILD_DEMOS=OFF \
+		-DMYGUI_BUILD_TOOLS=ON \
+		-DMYGUI_INSTALL_TOOLS=ON
+		-DMYGUI_INSTALL_DOCS=ON
+	ninja -C build-$1 ${makejobs}
+}
+
+do_build() {
+	build_mygui_platform dummy 1
+	build_mygui_platform ogre 3
+}
+
+do_install() {
+	ninja -C build-dummy install
+	rm ${DESTDIR}/usr/lib/*.a
+}
+
+libmygui-dummy_package {
+	short_desc+=" (dummy platform)"
 	pkg_install() {
-		vmove usr/include
-		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.so"
-		vmove "usr/lib/*.a"
+		echo TODO
 	}
 }
 
+libmygui-ogre_package {
+	short_desc+=" (OGRE platform)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+# libmygui-devel_package() {
+# 	short_desc+=" - development files"
+# 	pkg_install() {
+# 		vmove usr/include
+# 		vmove usr/lib/pkgconfig
+# 		vmove "usr/lib/*.so"
+# 		vmove "usr/lib/*.a"
+# 	}
+# }
+
 post_install() {
 	vlicense COPYING.MIT
 }

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

* Re: [PR PATCH] [Updated] [WIP] New package: rigs-of-rods-2022.12
  2024-04-25 14:23 [PR PATCH] [WIP] New package: rigs-of-rods-2022.12 MIvanchev
                   ` (3 preceding siblings ...)
  2024-05-01 16:17 ` MIvanchev
@ 2024-05-01 17:45 ` MIvanchev
  2024-05-01 17:47 ` MIvanchev
  2024-05-01 17:50 ` MIvanchev
  6 siblings, 0 replies; 8+ messages in thread
From: MIvanchev @ 2024-05-01 17:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages rigs-of-rods
https://github.com/void-linux/void-packages/pull/50031

[WIP] New package: rigs-of-rods-2022.12
#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rigs-of-rods-50031.patch --]
[-- Type: text/x-diff, Size: 4701 bytes --]

From 28783d027333acb6150a846da57e23cfb897f735 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 25 Apr 2024 16:22:08 +0200
Subject: [PATCH 1/2] New package: rigs-of-rods-2022.12

---
 srcpkgs/rigs-of-rods/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/rigs-of-rods/template

diff --git a/srcpkgs/rigs-of-rods/template b/srcpkgs/rigs-of-rods/template
new file mode 100644
index 00000000000000..b420695d53f842
--- /dev/null
+++ b/srcpkgs/rigs-of-rods/template
@@ -0,0 +1,14 @@
+# Template file for 'rigs-of-rods'
+pkgname=rigs-of-rods
+version=2022.12
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config git rapidjson"
+makedepends="libogre-devel libopenal-devel ois-devel libmygui-devel fmt-devel openssl-devel"
+depends="curl"
+short_desc="Free and open source vehicle simulator that uses soft-body physics"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-only"
+homepage="https://www.rigsofrods.org/"
+distfiles="https://github.com/RigsOfRods/rigs-of-rods/archive/refs/tags/${version}.tar.gz"
+checksum=d4fc9ec2f7e9154e21ec79d39201c5bb3823e5f2fdf641f99c612ef69275ba90

From a9a3fed602604b40152a738d963d0982e951ede4 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Wed, 1 May 2024 18:13:43 +0200
Subject: [PATCH 2/2] libmygui: adding OGRE platform.

---
 srcpkgs/libmygui-dummy       |  1 +
 srcpkgs/libmygui-dummy-devel |  1 +
 srcpkgs/libmygui-ogre        |  1 +
 srcpkgs/libmygui-ogre-devel  |  1 +
 srcpkgs/libmygui/template    | 58 ++++++++++++++++++++++++++++++++----
 5 files changed, 56 insertions(+), 6 deletions(-)
 create mode 120000 srcpkgs/libmygui-dummy
 create mode 120000 srcpkgs/libmygui-dummy-devel
 create mode 120000 srcpkgs/libmygui-ogre
 create mode 120000 srcpkgs/libmygui-ogre-devel

diff --git a/srcpkgs/libmygui-dummy b/srcpkgs/libmygui-dummy
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-dummy
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-dummy-devel b/srcpkgs/libmygui-dummy-devel
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-dummy-devel
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-ogre b/srcpkgs/libmygui-ogre
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-ogre
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-ogre-devel b/srcpkgs/libmygui-ogre-devel
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-ogre-devel
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui/template b/srcpkgs/libmygui/template
index c162ea81640915..eafb6d58724662 100644
--- a/srcpkgs/libmygui/template
+++ b/srcpkgs/libmygui/template
@@ -1,11 +1,9 @@
-# Template file for 'mygui'
+# Template file for 'libmygui'
 pkgname=libmygui
 version=3.4.2
-revision=1
-build_style=cmake
-configure_args="-DMYGUI_BUILD_DEMOS=OFF -DMYGUI_RENDERSYSTEM=1 -DMYGUI_BUILD_TOOLS=OFF"
-hostmakedepends="doxygen pkg-config"
-makedepends="libX11-devel ois-devel boost-devel freetype-devel"
+revision=2
+hostmakedepends="cmake ninja doxygen pkg-config"
+makedepends="SDL2-devel libogre-devel libX11-devel ois-devel boost-devel freetype-devel"
 short_desc="Fast, flexible and simple GUI"
 maintainer="John <me@johnnynator.dev>"
 license="MIT"
@@ -13,6 +11,26 @@ homepage="http://mygui.info"
 distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz"
 checksum=1cc45fb96c9438e3476778449af0378443d84794a458978a29c75306e45dd45a
 
+build_mygui_platform() {
+	cmake -Bbuild-$1 -GNinja \
+		-DMYGUI_RENDERSYSTEM=$2 \
+		-DMYGUI_BUILD_DEMOS=OFF \
+		-DMYGUI_BUILD_TOOLS=ON \
+		-DMYGUI_INSTALL_TOOLS=ON
+		-DMYGUI_INSTALL_DOCS=ON
+	ninja -C build-$1 ${makejobs}
+}
+
+do_build() {
+	build_mygui_platform dummy 1
+	build_mygui_platform ogre 3
+}
+
+do_install() {
+	ninja -C build-dummy install
+	rm ${DESTDIR}/usr/lib/*.a
+}
+
 libmygui-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {
@@ -26,3 +44,31 @@ libmygui-devel_package() {
 post_install() {
 	vlicense COPYING.MIT
 }
+
+libmygui-dummy_package {
+	short_desc+=" (dummy platform)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-dummy-devel_package {
+	short_desc+=" (dummy platform - development files)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-ogre_package {
+	short_desc+=" (OGRE platform)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-ogre-devel_package {
+	short_desc+=" (OGRE platform - development files)"
+	pkg_install() {
+		echo TODO
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: rigs-of-rods-2022.12
  2024-04-25 14:23 [PR PATCH] [WIP] New package: rigs-of-rods-2022.12 MIvanchev
                   ` (4 preceding siblings ...)
  2024-05-01 17:45 ` MIvanchev
@ 2024-05-01 17:47 ` MIvanchev
  2024-05-01 17:50 ` MIvanchev
  6 siblings, 0 replies; 8+ messages in thread
From: MIvanchev @ 2024-05-01 17:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages rigs-of-rods
https://github.com/void-linux/void-packages/pull/50031

[WIP] New package: rigs-of-rods-2022.12
#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rigs-of-rods-50031.patch --]
[-- Type: text/x-diff, Size: 4701 bytes --]

From 28783d027333acb6150a846da57e23cfb897f735 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 25 Apr 2024 16:22:08 +0200
Subject: [PATCH 1/2] New package: rigs-of-rods-2022.12

---
 srcpkgs/rigs-of-rods/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/rigs-of-rods/template

diff --git a/srcpkgs/rigs-of-rods/template b/srcpkgs/rigs-of-rods/template
new file mode 100644
index 00000000000000..b420695d53f842
--- /dev/null
+++ b/srcpkgs/rigs-of-rods/template
@@ -0,0 +1,14 @@
+# Template file for 'rigs-of-rods'
+pkgname=rigs-of-rods
+version=2022.12
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config git rapidjson"
+makedepends="libogre-devel libopenal-devel ois-devel libmygui-devel fmt-devel openssl-devel"
+depends="curl"
+short_desc="Free and open source vehicle simulator that uses soft-body physics"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-only"
+homepage="https://www.rigsofrods.org/"
+distfiles="https://github.com/RigsOfRods/rigs-of-rods/archive/refs/tags/${version}.tar.gz"
+checksum=d4fc9ec2f7e9154e21ec79d39201c5bb3823e5f2fdf641f99c612ef69275ba90

From 9e32ca7778c308d9afc5952fd8e3bc8868eebed1 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Wed, 1 May 2024 18:13:43 +0200
Subject: [PATCH 2/2] libmygui: adding OGRE platform.

---
 srcpkgs/libmygui-dummy       |  1 +
 srcpkgs/libmygui-dummy-devel |  1 +
 srcpkgs/libmygui-ogre        |  1 +
 srcpkgs/libmygui-ogre-devel  |  1 +
 srcpkgs/libmygui/template    | 58 ++++++++++++++++++++++++++++++++----
 5 files changed, 56 insertions(+), 6 deletions(-)
 create mode 120000 srcpkgs/libmygui-dummy
 create mode 120000 srcpkgs/libmygui-dummy-devel
 create mode 120000 srcpkgs/libmygui-ogre
 create mode 120000 srcpkgs/libmygui-ogre-devel

diff --git a/srcpkgs/libmygui-dummy b/srcpkgs/libmygui-dummy
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-dummy
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-dummy-devel b/srcpkgs/libmygui-dummy-devel
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-dummy-devel
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-ogre b/srcpkgs/libmygui-ogre
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-ogre
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-ogre-devel b/srcpkgs/libmygui-ogre-devel
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-ogre-devel
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui/template b/srcpkgs/libmygui/template
index c162ea81640915..eafb6d58724662 100644
--- a/srcpkgs/libmygui/template
+++ b/srcpkgs/libmygui/template
@@ -1,11 +1,9 @@
-# Template file for 'mygui'
+# Template file for 'libmygui'
 pkgname=libmygui
 version=3.4.2
-revision=1
-build_style=cmake
-configure_args="-DMYGUI_BUILD_DEMOS=OFF -DMYGUI_RENDERSYSTEM=1 -DMYGUI_BUILD_TOOLS=OFF"
-hostmakedepends="doxygen pkg-config"
-makedepends="libX11-devel ois-devel boost-devel freetype-devel"
+revision=2
+hostmakedepends="cmake ninja doxygen pkg-config"
+makedepends="SDL2-devel libogre-devel libX11-devel ois-devel boost-devel freetype-devel"
 short_desc="Fast, flexible and simple GUI"
 maintainer="John <me@johnnynator.dev>"
 license="MIT"
@@ -13,6 +11,26 @@ homepage="http://mygui.info"
 distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz"
 checksum=1cc45fb96c9438e3476778449af0378443d84794a458978a29c75306e45dd45a
 
+build_mygui_platform() {
+	cmake -Bbuild-$1 -GNinja \
+		-DMYGUI_RENDERSYSTEM=$2 \
+		-DMYGUI_BUILD_DEMOS=OFF \
+		-DMYGUI_BUILD_TOOLS=ON \
+		-DMYGUI_INSTALL_TOOLS=ON
+		-DMYGUI_INSTALL_DOCS=ON
+	ninja -C build-$1 ${makejobs}
+}
+
+do_build() {
+	build_mygui_platform dummy 1
+	build_mygui_platform ogre 3
+}
+
+do_install() {
+	ninja -C build-dummy install
+	rm ${DESTDIR}/usr/lib/*.a
+}
+
 libmygui-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {
@@ -26,3 +44,31 @@ libmygui-devel_package() {
 post_install() {
 	vlicense COPYING.MIT
 }
+
+libmygui-dummy_package {
+	short_desc+=" (dummy platform)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-dummy-devel_package {
+	short_desc+=" (dummy platform - development files)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-ogre_package {
+	short_desc+=" (OGRE platform)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-ogre-devel_package {
+	short_desc+=" (OGRE platform - development files)"
+	pkg_install() {
+		echo TODO
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: rigs-of-rods-2022.12
  2024-04-25 14:23 [PR PATCH] [WIP] New package: rigs-of-rods-2022.12 MIvanchev
                   ` (5 preceding siblings ...)
  2024-05-01 17:47 ` MIvanchev
@ 2024-05-01 17:50 ` MIvanchev
  6 siblings, 0 replies; 8+ messages in thread
From: MIvanchev @ 2024-05-01 17:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages rigs-of-rods
https://github.com/void-linux/void-packages/pull/50031

[WIP] New package: rigs-of-rods-2022.12
#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rigs-of-rods-50031.patch --]
[-- Type: text/x-diff, Size: 4709 bytes --]

From 28783d027333acb6150a846da57e23cfb897f735 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 25 Apr 2024 16:22:08 +0200
Subject: [PATCH 1/2] New package: rigs-of-rods-2022.12

---
 srcpkgs/rigs-of-rods/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/rigs-of-rods/template

diff --git a/srcpkgs/rigs-of-rods/template b/srcpkgs/rigs-of-rods/template
new file mode 100644
index 00000000000000..b420695d53f842
--- /dev/null
+++ b/srcpkgs/rigs-of-rods/template
@@ -0,0 +1,14 @@
+# Template file for 'rigs-of-rods'
+pkgname=rigs-of-rods
+version=2022.12
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config git rapidjson"
+makedepends="libogre-devel libopenal-devel ois-devel libmygui-devel fmt-devel openssl-devel"
+depends="curl"
+short_desc="Free and open source vehicle simulator that uses soft-body physics"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-only"
+homepage="https://www.rigsofrods.org/"
+distfiles="https://github.com/RigsOfRods/rigs-of-rods/archive/refs/tags/${version}.tar.gz"
+checksum=d4fc9ec2f7e9154e21ec79d39201c5bb3823e5f2fdf641f99c612ef69275ba90

From deb9e6bbbe6200deda4a4c4015b2fd4e33004cdc Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Wed, 1 May 2024 18:13:43 +0200
Subject: [PATCH 2/2] libmygui: adding OGRE platform.

---
 srcpkgs/libmygui-dummy       |  1 +
 srcpkgs/libmygui-dummy-devel |  1 +
 srcpkgs/libmygui-ogre        |  1 +
 srcpkgs/libmygui-ogre-devel  |  1 +
 srcpkgs/libmygui/template    | 58 ++++++++++++++++++++++++++++++++----
 5 files changed, 56 insertions(+), 6 deletions(-)
 create mode 120000 srcpkgs/libmygui-dummy
 create mode 120000 srcpkgs/libmygui-dummy-devel
 create mode 120000 srcpkgs/libmygui-ogre
 create mode 120000 srcpkgs/libmygui-ogre-devel

diff --git a/srcpkgs/libmygui-dummy b/srcpkgs/libmygui-dummy
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-dummy
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-dummy-devel b/srcpkgs/libmygui-dummy-devel
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-dummy-devel
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-ogre b/srcpkgs/libmygui-ogre
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-ogre
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui-ogre-devel b/srcpkgs/libmygui-ogre-devel
new file mode 120000
index 00000000000000..de07ae115af082
--- /dev/null
+++ b/srcpkgs/libmygui-ogre-devel
@@ -0,0 +1 @@
+libmygui
\ No newline at end of file
diff --git a/srcpkgs/libmygui/template b/srcpkgs/libmygui/template
index c162ea81640915..656b3828bbf545 100644
--- a/srcpkgs/libmygui/template
+++ b/srcpkgs/libmygui/template
@@ -1,11 +1,9 @@
-# Template file for 'mygui'
+# Template file for 'libmygui'
 pkgname=libmygui
 version=3.4.2
-revision=1
-build_style=cmake
-configure_args="-DMYGUI_BUILD_DEMOS=OFF -DMYGUI_RENDERSYSTEM=1 -DMYGUI_BUILD_TOOLS=OFF"
-hostmakedepends="doxygen pkg-config"
-makedepends="libX11-devel ois-devel boost-devel freetype-devel"
+revision=2
+hostmakedepends="cmake ninja doxygen pkg-config"
+makedepends="SDL2-devel libogre-devel libX11-devel ois-devel boost-devel freetype-devel"
 short_desc="Fast, flexible and simple GUI"
 maintainer="John <me@johnnynator.dev>"
 license="MIT"
@@ -13,6 +11,26 @@ homepage="http://mygui.info"
 distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz"
 checksum=1cc45fb96c9438e3476778449af0378443d84794a458978a29c75306e45dd45a
 
+build_mygui_platform() {
+	cmake -Bbuild-$1 -GNinja \
+		-DMYGUI_RENDERSYSTEM=$2 \
+		-DMYGUI_BUILD_DEMOS=OFF \
+		-DMYGUI_BUILD_TOOLS=ON \
+		-DMYGUI_INSTALL_TOOLS=ON
+		-DMYGUI_INSTALL_DOCS=ON
+	ninja -C build-$1 ${makejobs}
+}
+
+do_build() {
+	build_mygui_platform dummy 1
+	build_mygui_platform ogre 3
+}
+
+do_install() {
+	ninja -C build-dummy install
+	rm ${DESTDIR}/usr/lib/*.a
+}
+
 libmygui-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {
@@ -26,3 +44,31 @@ libmygui-devel_package() {
 post_install() {
 	vlicense COPYING.MIT
 }
+
+libmygui-dummy_package() {
+	short_desc+=" (dummy platform)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-dummy-devel_package() {
+	short_desc+=" (dummy platform - development files)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-ogre_package() {
+	short_desc+=" (OGRE platform)"
+	pkg_install() {
+		echo TODO
+	}
+}
+
+libmygui-ogre-devel_package() {
+	short_desc+=" (OGRE platform - development files)"
+	pkg_install() {
+		echo TODO
+	}
+}

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

end of thread, other threads:[~2024-05-01 17:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 14:23 [PR PATCH] [WIP] New package: rigs-of-rods-2022.12 MIvanchev
2024-04-25 14:26 ` [PR PATCH] [Updated] " MIvanchev
2024-04-25 14:30 ` MIvanchev
2024-05-01 16:13 ` MIvanchev
2024-05-01 16:17 ` MIvanchev
2024-05-01 17:45 ` MIvanchev
2024-05-01 17:47 ` MIvanchev
2024-05-01 17:50 ` MIvanchev

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