Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] mame: update to 0262.
@ 2024-02-01 19:40 ypsvlq
  2024-02-01 20:41 ` [PR PATCH] [Updated] " ypsvlq
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ypsvlq @ 2024-02-01 19:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ypsvlq/void-packages mame
https://github.com/void-linux/void-packages/pull/48481

mame: update to 0262.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [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/48481.patch is attached

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

From 5319b99cc5ab9ec866e733f95c84022a7bf9cd89 Mon Sep 17 00:00:00 2001
From: Elaine Gibson <ypsvlq@gmail.com>
Date: Thu, 1 Feb 2024 19:33:55 +0000
Subject: [PATCH] mame: update to 0262.

---
 srcpkgs/mame/template | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template
index 84580d6cafa30..a59f9a4720b53 100644
--- a/srcpkgs/mame/template
+++ b/srcpkgs/mame/template
@@ -1,10 +1,10 @@
 # Template file for 'mame'
 pkgname=mame
-version=0251
-revision=3
+version=0262
+revision=1
 hostmakedepends="pkg-config python3 qt5-host-tools tar xz which"
 makedepends="SDL2_ttf-devel fontconfig-devel glm libgomp-devel libjpeg-turbo-devel
- lua-devel libutf8proc-devel libuv-devel portaudio-devel portmidi-devel
+ libutf8proc-devel libuv-devel portaudio-devel portmidi-devel
  pugixml-devel rapidjson libXinerama-devel $(vopt_if qt 'qt5-devel')"
 depends="liberation-fonts-ttf"
 short_desc="Multiple Arcade Machine Emulator"
@@ -12,12 +12,10 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://mamedev.org"
 distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
-checksum=6d97db4ebfb269b1eb0e530444495a50d3961d0a60bce13e11dc88bbebb2fbc1
+checksum=64e482f3dd13be4e91c5dfa076fb7a71f450f2879118c6ae452b0037b661aaae
 nodebug=yes
 replaces="sdlmame>=0 sdlmess>=0"
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3"
-CXXFLAGS="$CFLAGS"
 [ "$XBPS_TARGET_LIBC" = "musl" ] && CXXFLAGS+=" -DBX_CRT_MUSL=1"
 
 case "$XBPS_TARGET_MACHINE" in
@@ -33,7 +31,7 @@ build_options_default="qt"
 _options="REGENIE=1 TARGETOS=linux NOWERROR=1 OPENMP=1 OPTIMIZE=3
  TOOLS=1 LTO=0 USE_SYSTEM_LIB_ASIO=0 USE_SYSTEM_LIB_EXPAT=1
  USE_SYSTEM_LIB_ZLIB=1 USE_SYSTEM_LIB_JPEG=1 USE_SYSTEM_LIB_FLAC=1
- USE_SYSTEM_LIB_LUA=0 USE_SYSTEM_LIB_SQLITE3=1
+ USE_SYSTEM_LIB_SQLITE3=1
  USE_SYSTEM_LIB_PORTMIDI=1 USE_SYSTEM_LIB_PORTAUDIO=1
  USE_SYSTEM_LIB_UTF8PROC=1 USE_SYSTEM_LIB_GLM=1
  USE_SYSTEM_LIB_RAPIDJSON=1 USE_SYSTEM_LIB_PUGIXML=1"
@@ -64,8 +62,6 @@ fi
 #_options+=" TARGET=mame SUBTARGET=tiny VERBOSE=1"
 
 do_configure() {
-	# When linking mame expects liblua.so but we have liblua5.3.so
-	ln -sf liblua5.3.so ${XBPS_CROSS_BASE}/usr/lib/liblua.so
 	if [ "${CROSS_BUILD}" ]; then
 		case "$XBPS_TARGET_MACHINE" in
 			i686*|x86_64*) ;;
@@ -131,6 +127,4 @@ do_install() {
 	for f in artwork bgfx docs hash hlsl keymaps plugins samples; do
 		vcopy ${f} usr/share/${pkgname}
 	done
-	# Remove temporary liblua.so symlink
-	rm -f ${XBPS_CROSS_BASE}/usr/lib/liblua.so
 }

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

end of thread, other threads:[~2024-02-15  3:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 19:40 [PR PATCH] mame: update to 0262 ypsvlq
2024-02-01 20:41 ` [PR PATCH] [Updated] " ypsvlq
2024-02-02 11:17 ` ypsvlq
2024-02-02 14:53 ` ypsvlq
2024-02-13 17:43 ` ypsvlq
2024-02-13 17:50 ` ypsvlq
2024-02-15  3:46 ` [PR PATCH] [Merged]: " classabbyamp

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