Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: bsnes-111
@ 2019-10-05 15:29 voidlinux-github
  2019-10-06  2:19 ` voidlinux-github
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: voidlinux-github @ 2019-10-05 15:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/asiekierka/void-packages bsnes-111
https://github.com/void-linux/void-packages/pull/15128

New package: bsnes-111


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

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

From 044a151808a5659f1f332a49f9cbbe903ce1523f Mon Sep 17 00:00:00 2001
From: asie <kontakt@asie.pl>
Date: Sat, 5 Oct 2019 17:25:12 +0200
Subject: [PATCH] New package: bsnes-111

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

diff --git a/srcpkgs/bsnes/template b/srcpkgs/bsnes/template
new file mode 100644
index 00000000000..b557882d82f
--- /dev/null
+++ b/srcpkgs/bsnes/template
@@ -0,0 +1,53 @@
+# Template file for 'bsnes'
+pkgname=bsnes
+version=111
+revision=1
+wrksrc="bsnes_v${version}-source"
+build_wrksrc=bsnes
+build_style=gnu-makefile
+make_build_args='compiler=${CXX}'
+make_install_args="prefix=${DESTDIR}/usr"
+hostmakedepends="unzip pkg-config"
+makedepends="gtk+-devel gtksourceview2-devel libgomp-devel
+ $(vopt_if sdl2 SDL2-devel)
+ $(vopt_if opengl MesaLib-devel) $(vopt_if xv libXv-devel)
+ $(vopt_if ao libao-devel) $(vopt_if alsa alsa-lib-devel)
+ $(vopt_if openal libopenal-devel) $(vopt_if pulseaudio pulseaudio-devel)"
+short_desc="SNES / SFC emulator"
+maintainer="Adrian Siekierka <kontakt@asie.pl>"
+license="GPL-3"
+homepage="https://byuu.org/emulation/bsnes/"
+distfiles="https://download.byuu.org/bsnes_v${version}-source.zip"
+checksum=eee6ca97823b01325d0d69cef6988e03d6d98f106f5d4ea26cdb67ea734396f7
+
+build_options="pulseaudio alsa oss openal ao sdl2 xv opengl udev"
+build_options_default="pulseaudio alsa oss openal ao sdl2 xv opengl udev"
+desc_option_ao="Enable support for cross-platform audio"
+desc_option_openal="Enable support for 3D audio"
+desc_option_oss="Enable support for OSS"
+desc_option_udev="Enable support for udev"
+desc_option_xv="Enable support for Xv"
+
+disable_module() {
+	echo Disabling: "$1"
+	sed -i \
+		-e "s|$1\b||" \
+		"${wrksrc}"/ruby/GNUmakefile
+}
+
+do_configure() {
+	$(vopt_if pulseaudio '' 'disable_module audio.pulseaudio')
+	$(vopt_if pulseaudio '' 'disable_module audio.pulseaudiosimple')
+	$(vopt_if alsa '' 'disable_module audio.alsa')
+	$(vopt_if oss '' 'disable_module audio.oss')
+	$(vopt_if openal '' 'disable_module audio.openal')
+	$(vopt_if ao '' 'disable_module audio.ao')
+
+	$(vopt_if xv '' 'disable_module video.xvideo')
+	$(vopt_if opengl '' 'disable_module video.glx')
+
+	$(vopt_if sdl2 '' 'disable_module input.sdl')
+	$(vopt_if udev '' 'disable_module input.udev')
+
+	sed -i -e "s|local := true|local := false|" "${wrksrc}"/bsnes/GNUmakefile
+}

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

end of thread, other threads:[~2019-10-11  1:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-05 15:29 [PR PATCH] New package: bsnes-111 voidlinux-github
2019-10-06  2:19 ` voidlinux-github
2019-10-06  2:20 ` voidlinux-github
2019-10-06  7:15 ` voidlinux-github
2019-10-06  9:02 ` voidlinux-github
2019-10-07  6:18 ` voidlinux-github
2019-10-11  1:24 ` voidlinux-github

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