Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Dev
@ 2023-01-31  9:44 twingofan
  2023-01-31  9:44 ` [PR PATCH] [Closed]: Dev twingofan
  0 siblings, 1 reply; 2+ messages in thread
From: twingofan @ 2023-01-31  9:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/twingofan/void-packages-twingo dev
https://github.com/void-linux/void-packages/pull/41987

Dev
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 84537b727ad819ebb36dac220fb1cfb887b5ae00 Mon Sep 17 00:00:00 2001
From: twingofan <75864254+twingofan@users.noreply.github.com>
Date: Tue, 31 Jan 2023 03:39:17 -0600
Subject: [PATCH 1/2] new cockatrice template

---
 srcpkgs/cockatrice/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/cockatrice/template

diff --git a/srcpkgs/cockatrice/template b/srcpkgs/cockatrice/template
new file mode 100644
index 000000000000..032c4802e2f7
--- /dev/null
+++ b/srcpkgs/cockatrice/template
@@ -0,0 +1,15 @@
+# Template file for 'cockatrice'
+pkgname=cockatrice
+version=2.8.0
+revision=1
+_reldate=2021-01-26
+wrksrc="Cockatrice-${_reldate}-Release-${version}"
+build_style=cmake
+hostmakedepends="protobuf qt5-host-tools qt5-qmake"
+makedepends="protobuf-devel liblzma-devel qt5-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel qt5-websockets-devel"
+short_desc="Program for playing tabletop card games over a network"
+maintainer="NuclearPine <nuclearpine.h3nbw@aleeas.com>"
+license="GPL-2.0-only"
+homepage="https://cockatrice.github.io"
+distfiles="https://github.com/Cockatrice/Cockatrice/archive/refs/tags/${_reldate}-Release-${version}.tar.gz"
+checksum=fbf908138e40b20529ebdc27b3b37d63891bf6a91f660be694407a8e57471e79

From 6e73a52e8d63e276f501ba2cec5c23a6bcc827d6 Mon Sep 17 00:00:00 2001
From: twingofan <75864254+twingofan@users.noreply.github.com>
Date: Tue, 31 Jan 2023 03:43:29 -0600
Subject: [PATCH 2/2] retroarch with native slang

---
 srcpkgs/retroarch-slang/template | 112 +++++++++++++++++++++++++++++++
 1 file changed, 112 insertions(+)
 create mode 100644 srcpkgs/retroarch-slang/template

diff --git a/srcpkgs/retroarch-slang/template b/srcpkgs/retroarch-slang/template
new file mode 100644
index 000000000000..2d2f04f32002
--- /dev/null
+++ b/srcpkgs/retroarch-slang/template
@@ -0,0 +1,112 @@
+# Template file for 'retroarch'
+pkgname=retroarch
+version=1.14.0
+revision=1
+build_style=configure
+configure_args="--prefix=/usr --sysconfdir=/etc --enable-networking
+ --enable-udev --disable-builtinflac 
+ --disable-builtinmbedtls --disable-builtinzlib
+ $(vopt_enable ffmpeg) $(vopt_enable flac) $(vopt_enable glslang) $(vopt_enable jack)
+ $(vopt_enable pulseaudio pulse) $(vopt_enable qt5 qt)
+ $(vopt_enable sdl2) $(vopt_enable vulkan) $(vopt_enable wayland) $(vopt_enable x11)"
+conf_files="/etc/retroarch.cfg"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel eudev-libudev-devel freetype-devel libusb-devel libxkbcommon-devel
+ mbedtls-devel zlib-devel $(vopt_if ffmpeg ffmpeg-devel) $(vopt_if flac libflac-devel)
+ $(vopt_if glslang 'glslang-devel SPIRV-Tools-devel') $(vopt_if jack jack-devel)
+ $(vopt_if pulseaudio pulseaudio-devel)
+ $(vopt_if qt5 qt5-devel) $(vopt_if sdl2 SDL2-devel) $(vopt_if vulkan vulkan-loader)
+ $(vopt_if x11 'libXext-devel libXinerama-devel libXv-devel libXxf86vm-devel')"
+depends="$(vopt_if vulkan vulkan-loader) $(vopt_if x11 xdg-utils)"
+short_desc="Official reference frontend for the libretro API"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="GPL-3.0-or-later"
+homepage="https://www.retroarch.com/"
+changelog="https://raw.githubusercontent.com/libretro/RetroArch/master/CHANGES.md"
+distfiles="https://github.com/libretro/RetroArch/archive/v$version.tar.gz"
+checksum=aa4d579bfceb43450725171f594f69877f007a8892cb46678f8b62935c4de635
+
+build_options="ffmpeg flac glcore gles2 glslang jack neon pulseaudio qt5 sdl2 vulkan wayland x11"
+build_options_default="ffmpeg flac glcore glslang pulseaudio sdl2 vulkan wayland x11"
+
+desc_option_glcore="Enable support for OpenGL 3.2 core+ and OpenGL ES 3+"
+desc_option_glslang="Enable support for GLSL shaders"
+desc_option_neon="Enable support for ARM Neon SIMD extension"
+
+vopt_conflict glcore gles2 # gles2 disables glcore support
+
+if [ "$build_option_gles2" ]; then
+	configure_args+=" --enable-opengles --enable-opengles3"
+else
+	configure_args+=" --disable-opengles --disable-opengles3"
+fi
+
+if [ "$build_option_glcore" ]; then
+	if [ -z "$build_option_glslang" ]; then
+		msg_error "$pkgname: 'glcore' option requires 'glslang'.\n"
+	fi
+	configure_args+=" --enable-opengl_core"
+else
+	configure_args+=" --disable-opengl_core"
+fi
+
+if [ "$build_option_gles2" -o "$build_option_glcore" ]; then
+	configure_args+=" --enable-egl --enable-kms"
+	makedepends+=" MesaLib-devel"
+fi
+
+if [ "$build_option_qt5" ]; then
+	if [ "$CROSS_BUILD" ]; then
+		hostmakedepends+=" qt5-host-tools"
+	fi
+fi
+
+if [ "$build_option_vulkan" ]; then
+	if [ -z "$build_option_glslang" ]; then
+		msg_error "$pkgname: 'vulkan' option requires 'glslang'.\n"
+	fi
+fi
+
+if [ "$build_option_wayland" ]; then
+	if [ -z "$build_option_gles2" -a -z "$build_option_glcore" ]; then
+		msg_error "$pkgname: 'wayland' option requires 'gles2' or 'glcore'.\n"
+	fi
+	makedepends+=" wayland-devel wayland-protocols libdecor-devel"
+	if [ "$CROSS_BUILD" ]; then
+		hostmakedepends+=" wayland-devel wayland-protocols"
+	fi
+fi
+
+if [ "$build_option_x11" ]; then
+	if [ -z "$build_option_gles2" -a -z "$build_option_glcore" ]; then
+		msg_error "$pkgname: 'x11' option requires 'gles2' or 'glcore'.\n"
+	fi
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*|x86_64*)
+		configure_args+=" --enable-sse --enable-threads"
+		;;
+	ppc*)
+		configure_args+=" --enable-threads"
+		;;
+	aarch64*)
+		configure_args+=" --enable-threads"
+		;;
+	armv7*)
+		build_options_default+=" neon"
+
+		configure_args+=" --enable-threads $(vopt_enable neon)"
+
+		if [ "$build_option_neon" ]; then
+			CFLAGS+=" -mfpu=neon"
+		fi
+		;;
+	arm*)
+		configure_args+=" --disable-neon"
+		;;
+	esac
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
+fi

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

* Re: [PR PATCH] [Closed]: Dev
  2023-01-31  9:44 [PR PATCH] Dev twingofan
@ 2023-01-31  9:44 ` twingofan
  0 siblings, 0 replies; 2+ messages in thread
From: twingofan @ 2023-01-31  9:44 UTC (permalink / raw)
  To: ml

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

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

Dev
https://github.com/void-linux/void-packages/pull/41987

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2023-01-31  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-31  9:44 [PR PATCH] Dev twingofan
2023-01-31  9:44 ` [PR PATCH] [Closed]: Dev twingofan

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