[arch-commits] Commit in higan-qt/repos (12 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Wed Aug 21 19:22:00 UTC 2013
Date: Wednesday, August 21, 2013 @ 21:22:00
Author: alucryd
Revision: 96212
archrelease: copy trunk to community-i686, community-x86_64
Added:
higan-qt/repos/community-i686/PKGBUILD
(from rev 96211, higan-qt/trunk/PKGBUILD)
higan-qt/repos/community-i686/higan
(from rev 96211, higan-qt/trunk/higan)
higan-qt/repos/community-x86_64/PKGBUILD
(from rev 96211, higan-qt/trunk/PKGBUILD)
higan-qt/repos/community-x86_64/higan
(from rev 96211, higan-qt/trunk/higan)
Deleted:
higan-qt/repos/community-i686/PKGBUILD
higan-qt/repos/community-i686/higan
higan-qt/repos/community-i686/higan.desktop
higan-qt/repos/community-i686/purify.desktop
higan-qt/repos/community-x86_64/PKGBUILD
higan-qt/repos/community-x86_64/higan
higan-qt/repos/community-x86_64/higan.desktop
higan-qt/repos/community-x86_64/purify.desktop
---------------------------------+
/PKGBUILD | 176 ++++++++++++++++++++++++++++++++++++++
/higan | 26 +++++
community-i686/PKGBUILD | 91 -------------------
community-i686/higan | 13 --
community-i686/higan.desktop | 8 -
community-i686/purify.desktop | 8 -
community-x86_64/PKGBUILD | 91 -------------------
community-x86_64/higan | 13 --
community-x86_64/higan.desktop | 8 -
community-x86_64/purify.desktop | 8 -
10 files changed, 202 insertions(+), 240 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-08-21 19:21:49 UTC (rev 96211)
+++ community-i686/PKGBUILD 2013-08-21 19:22:00 UTC (rev 96212)
@@ -1,91 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-
-pkgname=higan-qt
-pkgver=093
-pkgrel=1
-pkgdesc="Nintendo multi-system emulator - Qt version"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/higan/"
-license=('GPL3')
-depends=('libao' 'libpulse' 'openal' 'qt4' 'sdl' 'xdialog')
-makedepends=('mesa')
-optdepends=('beat: Delta patcher')
-conflicts=('higan-gtk')
-source=("http://byuu.org/higan/release/higan_v${pkgver}-source.tar.xz"
- "http://higan.googlecode.com/files/purify_v03-source.tar.xz"
- 'higan'
- 'higan.desktop'
- 'purify.desktop')
-sha256sums=('6ad526ab7ac16a5b814f84235fbcd48946310af8645c42980b0063e3270ec538'
- '2020f0b5a744f08c24085a15a6c2ec1d7c4424bba6727f244e513b95c4247e38'
- 'c799232a0f67c4b7f40fc6ad05325a6c04e86d78e40f361d02f168a16d11d048'
- 'e9daf06d65fc95e3bfca4e9b9953dcc16830014ba895053c5553d5972031ffbc'
- '5f24cc7884d19721b6f9ad14c14a98347de209a2791f4c830be83bd032f693f8')
-
-_profiles="accuracy balanced performance"
-
-prepare() {
- cd "${srcdir}"/higan_v${pkgver}-source
-
-# Qt 4.8 fix
- moc-qt4 -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp
-
-# Use $CXXFLAGS
- sed -i "s/flags += -I. -O3 -fomit-frame-pointer/flags += -I. -fomit-frame-pointer -std=gnu++11/
- s/flags += -march=native/flags += $CXXFLAGS/g" Makefile
-
- cd "${srcdir}"/purify_v03-source
-
-# Qt 4.8 fix
- moc-qt4 -i -Ipurify/phoenix/qt/ -o purify/phoenix/qt/platform.moc purify/phoenix/qt/platform.moc.hpp
-}
-
-build() {
-# Compile libananke
- cd "${srcdir}"/higan_v${pkgver}-source/ananke
- make compiler=g++ platform=x phoenix=gtk flags="$CXXFLAGS -I.. -fomit-frame-pointer -std=gnu++11"
-
-# Compile higan
- cd "${srcdir}"/higan_v${pkgver}-source
- for _profile in ${_profiles}; do
- make compiler=g++ platform=x target=ethos phoenix=gtk profile=${_profile}
- mv out/higan out/higan-${_profile}
- make clean
- done
-
-# Compile purify
- cd "${srcdir}"/purify_v03-source/purify
- make compiler=g++ platform=x phoenix=gtk flags="$CXXFLAGS -I. -fomit-frame-pointer -std=gnu++11" link='-s -lX11 -ldl -Wl,-export-dynamic'
-}
-
-package() {
-# Install common files
- cd "${srcdir}"/higan_v${pkgver}-source
- install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan/Video\ Shaders}}
- install -m 755 ../higan "${pkgdir}"/usr/bin/higan
- install -m 644 ../higan.desktop "${pkgdir}"/usr/share/applications/higan.desktop
- install -m 644 data/higan512.png "${pkgdir}"/usr/share/pixmaps/higan.png
- cp -dr --no-preserve=ownership profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/
- cp -dr --no-preserve=ownership shaders/*.shader "${pkgdir}"/usr/share/higan/Video\ Shaders/
-
-# Install libananke
- install -m 644 ananke/libananke.so "${pkgdir}"/usr/lib/libananke.so.1
- ln -s /usr/lib/libananke.so.1 "${pkgdir}"/usr/lib/libananke.so
-
-# Install higan
- for _profile in ${_profiles} ; do
- install -m 755 out/higan-${_profile} "${pkgdir}"/usr/bin/higan-${_profile}
- done
-
-# Install purify
- cd "${srcdir}"/purify_v03-source/purify
- install -m 755 purify "${pkgdir}"/usr/bin/purify
- install -m 644 "${srcdir}"/purify.desktop "${pkgdir}"/usr/share/applications/purify.desktop
-
-# Fix permissions
- find "${pkgdir}"/usr/share/higan/ -type d -exec chmod 755 {} +
- find "${pkgdir}"/usr/share/higan/ -type f -exec chmod 644 {} +
-}
-
-# vim: ts=2 sw=2 et:
Copied: higan-qt/repos/community-i686/PKGBUILD (from rev 96211, higan-qt/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-08-21 19:22:00 UTC (rev 96212)
@@ -0,0 +1,88 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+
+pkgname=higan-qt
+pkgver=093
+pkgrel=2
+pkgdesc="Nintendo multi-system emulator - Qt version"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/higan/"
+license=('GPL3')
+depends=('libao' 'libpulse' 'openal' 'qt4' 'sdl' 'xdialog')
+makedepends=('gendesk' 'mesa')
+optdepends=('beat: Delta patcher')
+conflicts=('higan-gtk')
+source=("http://byuu.org/higan/release/higan_v${pkgver}-source.tar.xz"
+ "http://higan.googlecode.com/files/purify_v03-source.tar.xz"
+ 'higan')
+sha256sums=('6ad526ab7ac16a5b814f84235fbcd48946310af8645c42980b0063e3270ec538'
+ '2020f0b5a744f08c24085a15a6c2ec1d7c4424bba6727f244e513b95c4247e38'
+ 'c799232a0f67c4b7f40fc6ad05325a6c04e86d78e40f361d02f168a16d11d048')
+
+_profiles="accuracy balanced performance"
+
+prepare() {
+ gendesk -n --pkgname "higan" --pkgdesc "${pkgdesc}" --name='higan' --exec='higan %u'
+ gendesk -n --pkgname "purify" --pkgdesc "ROM Purifier - GTK version" --name='purify' --exec='purify'
+
+ cd "${srcdir}"/higan_v${pkgver}-source
+
+ moc-qt4 -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp
+ sed -i "s/flags += -I. -O3 -fomit-frame-pointer/flags += -I. -fomit-frame-pointer -std=gnu++11/
+ s/flags += -march=native/flags += $CXXFLAGS/g" Makefile
+
+ cd "${srcdir}"/purify_v03-source
+
+ moc-qt4 -i -Ipurify/phoenix/qt/ -o purify/phoenix/qt/platform.moc purify/phoenix/qt/platform.moc.hpp
+}
+
+build() {
+ cd "${srcdir}"/higan_v${pkgver}-source
+
+# libananke
+ make compiler=g++ platform=x phoenix=gtk flags="$CXXFLAGS -I.. -fomit-frame-pointer -std=gnu++11" -C ananke
+
+# higan
+ for _profile in ${_profiles}; do
+ make compiler=g++ platform=x target=ethos phoenix=gtk profile=${_profile}
+ mv out/higan{,-${_profile}}
+ make clean
+ done
+
+# purify
+ cd "${srcdir}"/purify_v03-source/purify
+ make compiler=g++ platform=x phoenix=gtk flags="$CXXFLAGS -I. -fomit-frame-pointer -std=gnu++11" link='-s -lX11 -ldl -Wl,-export-dynamic'
+}
+
+package() {
+ cd "${srcdir}"/higan_v${pkgver}-source
+
+# Common files
+ install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan/Video\ Shaders}}
+ install -m 755 {..,"${pkgdir}"/usr/bin}/higan
+ install -m 644 {..,"${pkgdir}"/usr/share/applications}/higan.desktop
+ install -m 644 data/higan512.png "${pkgdir}"/usr/share/pixmaps/higan.png
+ cp -dr --no-preserve=ownership profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/
+ cp -dr --no-preserve=ownership shaders/*.shader "${pkgdir}"/usr/share/higan/Video\ Shaders/
+
+# libananke
+ install -m 644 ananke/libananke.so "${pkgdir}"/usr/lib/libananke.so.1
+ ln -s libananke.so.1 "${pkgdir}"/usr/lib/libananke.so
+
+# higan
+ for _profile in ${_profiles}; do
+ install -m 755 {out,"${pkgdir}"/usr/bin}/higan-${_profile}
+ done
+
+# purify
+ cd "${srcdir}"/purify_v03-source/purify
+ install -m 755 {,"${pkgdir}"/usr/bin/}purify
+ install -m 644 {../..,"${pkgdir}"/usr/share/applications}/purify.desktop
+ ln -s higan.png "${pkgdir}"/usr/share/pixmaps/purify.png
+
+# Fix permissions
+ find "${pkgdir}"/usr/share/higan/ -type d -exec chmod 755 {} +
+ find "${pkgdir}"/usr/share/higan/ -type f -exec chmod 644 {} +
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-i686/higan
===================================================================
--- community-i686/higan 2013-08-21 19:21:49 UTC (rev 96211)
+++ community-i686/higan 2013-08-21 19:22:00 UTC (rev 96212)
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# Shared folders workaround
-cp -ru /usr/share/higan ~/.config/
-
-# Check for profiles and prompt user with a GUI
-[ -e /usr/bin/higan-accuracy ] && tag1=accuracy
-[ -e /usr/bin/higan-balanced ] && tag2=balanced
-[ -e /usr/bin/higan-performance ] && tag3=performance
-profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)"
-
-# Launch selected profile
-exec higan-$profile "$@"
Copied: higan-qt/repos/community-i686/higan (from rev 96211, higan-qt/trunk/higan)
===================================================================
--- community-i686/higan (rev 0)
+++ community-i686/higan 2013-08-21 19:22:00 UTC (rev 96212)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Shared folders workaround
+cp -ru /usr/share/higan ~/.config/
+
+# Check for profiles and prompt user with a GUI
+[ -e /usr/bin/higan-accuracy ] && tag1=accuracy
+[ -e /usr/bin/higan-balanced ] && tag2=balanced
+[ -e /usr/bin/higan-performance ] && tag3=performance
+profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)"
+
+# Launch selected profile
+exec higan-$profile "$@"
Deleted: community-i686/higan.desktop
===================================================================
--- community-i686/higan.desktop 2013-08-21 19:21:49 UTC (rev 96211)
+++ community-i686/higan.desktop 2013-08-21 19:22:00 UTC (rev 96212)
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=higan
-Comment=Nintendo multi-system emulator
-Exec=higan %u
-Icon=higan
-Terminal=false
-Type=Application
-Categories=Game;Emulator;
Deleted: community-i686/purify.desktop
===================================================================
--- community-i686/purify.desktop 2013-08-21 19:21:49 UTC (rev 96211)
+++ community-i686/purify.desktop 2013-08-21 19:22:00 UTC (rev 96212)
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=purify
-Comment=ROM purifier
-Exec=/usr/bin/purify
-Icon=higan
-Terminal=false
-Type=Application
-Categories=Game;Emulator;
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-08-21 19:21:49 UTC (rev 96211)
+++ community-x86_64/PKGBUILD 2013-08-21 19:22:00 UTC (rev 96212)
@@ -1,91 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-
-pkgname=higan-qt
-pkgver=093
-pkgrel=1
-pkgdesc="Nintendo multi-system emulator - Qt version"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/higan/"
-license=('GPL3')
-depends=('libao' 'libpulse' 'openal' 'qt4' 'sdl' 'xdialog')
-makedepends=('mesa')
-optdepends=('beat: Delta patcher')
-conflicts=('higan-gtk')
-source=("http://byuu.org/higan/release/higan_v${pkgver}-source.tar.xz"
- "http://higan.googlecode.com/files/purify_v03-source.tar.xz"
- 'higan'
- 'higan.desktop'
- 'purify.desktop')
-sha256sums=('6ad526ab7ac16a5b814f84235fbcd48946310af8645c42980b0063e3270ec538'
- '2020f0b5a744f08c24085a15a6c2ec1d7c4424bba6727f244e513b95c4247e38'
- 'c799232a0f67c4b7f40fc6ad05325a6c04e86d78e40f361d02f168a16d11d048'
- 'e9daf06d65fc95e3bfca4e9b9953dcc16830014ba895053c5553d5972031ffbc'
- '5f24cc7884d19721b6f9ad14c14a98347de209a2791f4c830be83bd032f693f8')
-
-_profiles="accuracy balanced performance"
-
-prepare() {
- cd "${srcdir}"/higan_v${pkgver}-source
-
-# Qt 4.8 fix
- moc-qt4 -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp
-
-# Use $CXXFLAGS
- sed -i "s/flags += -I. -O3 -fomit-frame-pointer/flags += -I. -fomit-frame-pointer -std=gnu++11/
- s/flags += -march=native/flags += $CXXFLAGS/g" Makefile
-
- cd "${srcdir}"/purify_v03-source
-
-# Qt 4.8 fix
- moc-qt4 -i -Ipurify/phoenix/qt/ -o purify/phoenix/qt/platform.moc purify/phoenix/qt/platform.moc.hpp
-}
-
-build() {
-# Compile libananke
- cd "${srcdir}"/higan_v${pkgver}-source/ananke
- make compiler=g++ platform=x phoenix=gtk flags="$CXXFLAGS -I.. -fomit-frame-pointer -std=gnu++11"
-
-# Compile higan
- cd "${srcdir}"/higan_v${pkgver}-source
- for _profile in ${_profiles}; do
- make compiler=g++ platform=x target=ethos phoenix=gtk profile=${_profile}
- mv out/higan out/higan-${_profile}
- make clean
- done
-
-# Compile purify
- cd "${srcdir}"/purify_v03-source/purify
- make compiler=g++ platform=x phoenix=gtk flags="$CXXFLAGS -I. -fomit-frame-pointer -std=gnu++11" link='-s -lX11 -ldl -Wl,-export-dynamic'
-}
-
-package() {
-# Install common files
- cd "${srcdir}"/higan_v${pkgver}-source
- install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan/Video\ Shaders}}
- install -m 755 ../higan "${pkgdir}"/usr/bin/higan
- install -m 644 ../higan.desktop "${pkgdir}"/usr/share/applications/higan.desktop
- install -m 644 data/higan512.png "${pkgdir}"/usr/share/pixmaps/higan.png
- cp -dr --no-preserve=ownership profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/
- cp -dr --no-preserve=ownership shaders/*.shader "${pkgdir}"/usr/share/higan/Video\ Shaders/
-
-# Install libananke
- install -m 644 ananke/libananke.so "${pkgdir}"/usr/lib/libananke.so.1
- ln -s /usr/lib/libananke.so.1 "${pkgdir}"/usr/lib/libananke.so
-
-# Install higan
- for _profile in ${_profiles} ; do
- install -m 755 out/higan-${_profile} "${pkgdir}"/usr/bin/higan-${_profile}
- done
-
-# Install purify
- cd "${srcdir}"/purify_v03-source/purify
- install -m 755 purify "${pkgdir}"/usr/bin/purify
- install -m 644 "${srcdir}"/purify.desktop "${pkgdir}"/usr/share/applications/purify.desktop
-
-# Fix permissions
- find "${pkgdir}"/usr/share/higan/ -type d -exec chmod 755 {} +
- find "${pkgdir}"/usr/share/higan/ -type f -exec chmod 644 {} +
-}
-
-# vim: ts=2 sw=2 et:
Copied: higan-qt/repos/community-x86_64/PKGBUILD (from rev 96211, higan-qt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-08-21 19:22:00 UTC (rev 96212)
@@ -0,0 +1,88 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+
+pkgname=higan-qt
+pkgver=093
+pkgrel=2
+pkgdesc="Nintendo multi-system emulator - Qt version"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/higan/"
+license=('GPL3')
+depends=('libao' 'libpulse' 'openal' 'qt4' 'sdl' 'xdialog')
+makedepends=('gendesk' 'mesa')
+optdepends=('beat: Delta patcher')
+conflicts=('higan-gtk')
+source=("http://byuu.org/higan/release/higan_v${pkgver}-source.tar.xz"
+ "http://higan.googlecode.com/files/purify_v03-source.tar.xz"
+ 'higan')
+sha256sums=('6ad526ab7ac16a5b814f84235fbcd48946310af8645c42980b0063e3270ec538'
+ '2020f0b5a744f08c24085a15a6c2ec1d7c4424bba6727f244e513b95c4247e38'
+ 'c799232a0f67c4b7f40fc6ad05325a6c04e86d78e40f361d02f168a16d11d048')
+
+_profiles="accuracy balanced performance"
+
+prepare() {
+ gendesk -n --pkgname "higan" --pkgdesc "${pkgdesc}" --name='higan' --exec='higan %u'
+ gendesk -n --pkgname "purify" --pkgdesc "ROM Purifier - GTK version" --name='purify' --exec='purify'
+
+ cd "${srcdir}"/higan_v${pkgver}-source
+
+ moc-qt4 -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp
+ sed -i "s/flags += -I. -O3 -fomit-frame-pointer/flags += -I. -fomit-frame-pointer -std=gnu++11/
+ s/flags += -march=native/flags += $CXXFLAGS/g" Makefile
+
+ cd "${srcdir}"/purify_v03-source
+
+ moc-qt4 -i -Ipurify/phoenix/qt/ -o purify/phoenix/qt/platform.moc purify/phoenix/qt/platform.moc.hpp
+}
+
+build() {
+ cd "${srcdir}"/higan_v${pkgver}-source
+
+# libananke
+ make compiler=g++ platform=x phoenix=gtk flags="$CXXFLAGS -I.. -fomit-frame-pointer -std=gnu++11" -C ananke
+
+# higan
+ for _profile in ${_profiles}; do
+ make compiler=g++ platform=x target=ethos phoenix=gtk profile=${_profile}
+ mv out/higan{,-${_profile}}
+ make clean
+ done
+
+# purify
+ cd "${srcdir}"/purify_v03-source/purify
+ make compiler=g++ platform=x phoenix=gtk flags="$CXXFLAGS -I. -fomit-frame-pointer -std=gnu++11" link='-s -lX11 -ldl -Wl,-export-dynamic'
+}
+
+package() {
+ cd "${srcdir}"/higan_v${pkgver}-source
+
+# Common files
+ install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan/Video\ Shaders}}
+ install -m 755 {..,"${pkgdir}"/usr/bin}/higan
+ install -m 644 {..,"${pkgdir}"/usr/share/applications}/higan.desktop
+ install -m 644 data/higan512.png "${pkgdir}"/usr/share/pixmaps/higan.png
+ cp -dr --no-preserve=ownership profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/
+ cp -dr --no-preserve=ownership shaders/*.shader "${pkgdir}"/usr/share/higan/Video\ Shaders/
+
+# libananke
+ install -m 644 ananke/libananke.so "${pkgdir}"/usr/lib/libananke.so.1
+ ln -s libananke.so.1 "${pkgdir}"/usr/lib/libananke.so
+
+# higan
+ for _profile in ${_profiles}; do
+ install -m 755 {out,"${pkgdir}"/usr/bin}/higan-${_profile}
+ done
+
+# purify
+ cd "${srcdir}"/purify_v03-source/purify
+ install -m 755 {,"${pkgdir}"/usr/bin/}purify
+ install -m 644 {../..,"${pkgdir}"/usr/share/applications}/purify.desktop
+ ln -s higan.png "${pkgdir}"/usr/share/pixmaps/purify.png
+
+# Fix permissions
+ find "${pkgdir}"/usr/share/higan/ -type d -exec chmod 755 {} +
+ find "${pkgdir}"/usr/share/higan/ -type f -exec chmod 644 {} +
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-x86_64/higan
===================================================================
--- community-x86_64/higan 2013-08-21 19:21:49 UTC (rev 96211)
+++ community-x86_64/higan 2013-08-21 19:22:00 UTC (rev 96212)
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# Shared folders workaround
-cp -ru /usr/share/higan ~/.config/
-
-# Check for profiles and prompt user with a GUI
-[ -e /usr/bin/higan-accuracy ] && tag1=accuracy
-[ -e /usr/bin/higan-balanced ] && tag2=balanced
-[ -e /usr/bin/higan-performance ] && tag3=performance
-profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)"
-
-# Launch selected profile
-exec higan-$profile "$@"
Copied: higan-qt/repos/community-x86_64/higan (from rev 96211, higan-qt/trunk/higan)
===================================================================
--- community-x86_64/higan (rev 0)
+++ community-x86_64/higan 2013-08-21 19:22:00 UTC (rev 96212)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Shared folders workaround
+cp -ru /usr/share/higan ~/.config/
+
+# Check for profiles and prompt user with a GUI
+[ -e /usr/bin/higan-accuracy ] && tag1=accuracy
+[ -e /usr/bin/higan-balanced ] && tag2=balanced
+[ -e /usr/bin/higan-performance ] && tag3=performance
+profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)"
+
+# Launch selected profile
+exec higan-$profile "$@"
Deleted: community-x86_64/higan.desktop
===================================================================
--- community-x86_64/higan.desktop 2013-08-21 19:21:49 UTC (rev 96211)
+++ community-x86_64/higan.desktop 2013-08-21 19:22:00 UTC (rev 96212)
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=higan
-Comment=Nintendo multi-system emulator
-Exec=higan %u
-Icon=higan
-Terminal=false
-Type=Application
-Categories=Game;Emulator;
Deleted: community-x86_64/purify.desktop
===================================================================
--- community-x86_64/purify.desktop 2013-08-21 19:21:49 UTC (rev 96211)
+++ community-x86_64/purify.desktop 2013-08-21 19:22:00 UTC (rev 96212)
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=purify
-Comment=ROM purifier
-Exec=/usr/bin/purify
-Icon=higan
-Terminal=false
-Type=Application
-Categories=Game;Emulator;
More information about the arch-commits
mailing list