Date: Wednesday, November 4, 2015 @ 12:46:50 Author: alucryd Revision: 145953
higan no longer has 2 UIs Added: higan/ higan/trunk/ higan/trunk/PKGBUILD higan/trunk/higan higan/trunk/higan-makefile.patch Deleted: higan-gtk/ higan-qt/ ----------------------+ PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ higan | 22 ++++++++++++++++++ higan-makefile.patch | 48 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+) Added: higan/trunk/PKGBUILD =================================================================== --- higan/trunk/PKGBUILD (rev 0) +++ higan/trunk/PKGBUILD 2015-11-04 11:46:50 UTC (rev 145953) @@ -0,0 +1,59 @@ +# $Id$ +# Maintainer: Maxime Gauduin <[email protected]> + +pkgname=higan +pkgver=095 +pkgrel=1 +pkgdesc='Nintendo multi-system emulator' +arch=('i686' 'x86_64') +url='http://byuu.org/' +license=('GPL3') +depends=('alsa-lib' 'cairo' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk2' + 'gtksourceview2' 'libao' 'libgl' 'libpulse' 'libx11' 'libxext' 'libxv' + 'openal' 'pango' 'sdl' 'zenity' + 'libudev.so') +makedepends=('mesa') +conflicts=('higan-gtk' 'higan-qt') +replaces=('higan-gtk' 'higan-qt') +source=("http://download.byuu.org/higan_v${pkgver}-source.7z" + 'higan-makefile.patch' + 'higan') +sha256sums=('443a11ef64b817861e9cb7b818fc9283afb50f8e254345eb88fa12c764f44f77' + 'cbdb3524bc5f0380df4d96312a15bc0bf641a7a82723bfb30998efeb977d4b7f' + '4a9f59253caa51fa8313db421bf7ce431722c601594b2bdb0fa0459652284168') + +prepare() { + cd higan_v${pkgver}-source + + patch -Np1 -i ../higan-makefile.patch +} + +build() { + cd higan_v${pkgver}-source + + make -C icarus + + for p in {accuracy,balanced,performance}; do + make profile=$p + mv out/tomoko tomoko-$p + make clean + done +} + +package() { + cd higan_v${pkgver}-source + + install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,higan,pixmaps}} + install -m 755 ../higan "${pkgdir}"/usr/bin/ + install -m 644 data/higan.desktop "${pkgdir}"/usr/share/applications/ + install -m 644 data/higan.png "${pkgdir}"/usr/share/pixmaps/ + cp -dr --no-preserve='ownership' profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/ + + install -m 755 icarus/icarus "${pkgdir}"/usr/bin/ + + for p in {accuracy,balanced,performance}; do + install -m 755 tomoko-$p "${pkgdir}"/usr/bin/ + done +} + +# vim: ts=2 sw=2 et: Property changes on: higan/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: higan/trunk/higan =================================================================== --- higan/trunk/higan (rev 0) +++ higan/trunk/higan 2015-11-04 11:46:50 UTC (rev 145953) @@ -0,0 +1,22 @@ +#!/bin/sh + +cp -ru /usr/share/higan ~/.config/ + +prompt="$(zenity --list --radiolist --title 'Please select a profile' --column '' --column '' FALSE 'Icarus' FALSE 'Tomoko (accuracy)' TRUE 'Tomoko (balanced)' FALSE 'Tomoko (performance)')" + +case $prompt in + 'Icarus') + exec icarus + ;; + 'Tomoko (accuracy)') + exec tomoko-accuracy + ;; + 'Tomoko (balanced)') + exec tomoko-balanced + ;; + 'Tomoko (performance)') + exec tomoko-performance + ;; +esac + +# vim: ts=2 sw=2 et: Added: higan/trunk/higan-makefile.patch =================================================================== --- higan/trunk/higan-makefile.patch (rev 0) +++ higan/trunk/higan-makefile.patch 2015-11-04 11:46:50 UTC (rev 145953) @@ -0,0 +1,48 @@ +diff -rupN higan_v095-source.orig/GNUmakefile higan_v095-source/GNUmakefile +--- higan_v095-source.orig/GNUmakefile 2015-11-04 10:28:26.173428178 +0100 ++++ higan_v095-source/GNUmakefile 2015-11-04 10:28:31.752231593 +0100 +@@ -12,7 +12,8 @@ target := tomoko + # console := true + + # compiler +-flags += -I. -O3 ++flags += -I. $(CXXFLAGS) ++link += $(LDFLAGS) + objects := libco + + # profile-guided optimization mode +@@ -43,7 +44,7 @@ ifeq ($(platform),windows) + else ifeq ($(platform),macosx) + flags += -march=native + else ifeq ($(platform),linux) +- flags += -march=native -fopenmp ++ flags += -fopenmp + link += -fopenmp + link += -Wl,-export-dynamic + link += -lX11 -lXext -ldl +diff -rupN higan_v095-source.orig/icarus/GNUmakefile higan_v095-source/icarus/GNUmakefile +--- higan_v095-source.orig/icarus/GNUmakefile 2015-11-04 10:28:26.186486119 +0100 ++++ higan_v095-source/icarus/GNUmakefile 2015-11-04 10:28:48.755059317 +0100 +@@ -1,8 +1,8 @@ + include ../nall/GNUmakefile + include ../hiro/GNUmakefile + +-flags += -I.. -O3 +-link += ++flags += -I.. $(CXXFLAGS) ++link += $(LDFLAGS) + objects := obj/hiro.o obj/icarus.o + objects += $(if $(call streq,$(platform),windows),obj/resource.o) + +diff -rupN higan_v095-source.orig/nall/GNUmakefile higan_v095-source/nall/GNUmakefile +--- higan_v095-source.orig/nall/GNUmakefile 2015-11-04 10:28:26.189750604 +0100 ++++ higan_v095-source/nall/GNUmakefile 2015-11-04 10:28:31.752231593 +0100 +@@ -51,7 +51,7 @@ ifeq ($(compiler),) + else ifeq ($(platform),macosx) + compiler := clang++ + else ifeq ($(platform),linux) +- compiler := g++-4.9 ++ compiler := g++ + else ifeq ($(platform),bsd) + compiler := g++49 + else
