Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: bsnes-111
Date: Sat, 05 Oct 2019 17:29:44 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15128@inbox.vuxu.org> (raw)

[-- 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
+}

             reply	other threads:[~2019-10-05 15:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-05 15:29 voidlinux-github [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15128@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).