pkgbase = mame
	pkgdesc = Port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support
	pkgver = 0.274
	pkgrel = 1
	url = https://mamedev.org/
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = BSD-2-Clause
	license = BSD-3-Clause
	license = BSL-1.0
	license = CC0-1.0
	license = GPL-2.0-only
	license = LGPL-2.1-only
	license = MIT
	license = Zlib
	makedepends = asio
	makedepends = flac
	makedepends = git
	makedepends = glm
	makedepends = libpulse
	makedepends = libutf8proc
	makedepends = libxi
	makedepends = libxinerama
	makedepends = lua
	makedepends = portaudio
	makedepends = portmidi
	makedepends = pugixml
	makedepends = python
	makedepends = qt6-base
	makedepends = rapidjson
	makedepends = sdl2_ttf
	options = !debug
	options = !lto
	source = git+https://github.com/mamedev/mame#tag=mame0274
	source = mame.desktop
	source = mame.sh
	source = mame.svg
	source = fix-922619.patch
	source = python3.patch
	sha256sums = 2a64b73a7da64c1ea427c1566035b7ef89c67c93f66cccfe86d19f8da0437760
	sha256sums = 0e5e93f84673c2d17a1bf7a6b256cfa54ef89a086a828df19bc054c12776d821
	sha256sums = ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba
	sha256sums = 17c442c933d764175e4ce1de50a80c0c2ddd5d733caf09c3cd5e6ba697ac43f4
	sha256sums = 6946f783b6ab5981ef489bb76bc26764858719daa2a73df956f10385a55dc241
	sha256sums = 4aa2864f8d65e466ccbc28f4b9c187c24bb21390a5a5f0d49a378bb486826f84
	makedepends_x86_64 = nasm

pkgname = mame
	depends = expat
	depends = flac
	depends = fontconfig
	depends = gcc-libs
	depends = glibc
	depends = libglvnd
	depends = libjpeg-turbo
	depends = libpulse
	depends = libutf8proc
	depends = libx11
	depends = libxi
	depends = lua
	depends = portaudio
	depends = portmidi
	depends = pugixml
	depends = qt6-base
	depends = sdl2
	depends = sdl2_ttf
	depends = sh
	depends = sqlite
	depends = wayland
	depends = zlib
	depends = zstd
	conflicts = sdlmame
	replaces = sdlmame

pkgname = mame-tools
	pkgdesc = Port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support (tools)
	depends = flac
	depends = gcc-libs
	depends = glibc
	depends = libutf8proc
	depends = sdl2
	depends = zlib
	depends = zstd
