[arch-commits] Commit in higan-qt/repos (10 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Tue Feb 26 15:45:33 UTC 2013


    Date: Tuesday, February 26, 2013 @ 16:45:33
  Author: alucryd
Revision: 84964

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  higan-qt/repos/staging-i686/
  higan-qt/repos/staging-i686/PKGBUILD
    (from rev 84963, higan-qt/trunk/PKGBUILD)
  higan-qt/repos/staging-i686/higan
    (from rev 84963, higan-qt/trunk/higan)
  higan-qt/repos/staging-i686/higan.desktop
    (from rev 84963, higan-qt/trunk/higan.desktop)
  higan-qt/repos/staging-i686/purify.desktop
    (from rev 84963, higan-qt/trunk/purify.desktop)
  higan-qt/repos/staging-x86_64/
  higan-qt/repos/staging-x86_64/PKGBUILD
    (from rev 84963, higan-qt/trunk/PKGBUILD)
  higan-qt/repos/staging-x86_64/higan
    (from rev 84963, higan-qt/trunk/higan)
  higan-qt/repos/staging-x86_64/higan.desktop
    (from rev 84963, higan-qt/trunk/higan.desktop)
  higan-qt/repos/staging-x86_64/purify.desktop
    (from rev 84963, higan-qt/trunk/purify.desktop)

-------------------------------+
 staging-i686/PKGBUILD         |   79 ++++++++++++++++++++++++++++++++++++++++
 staging-i686/higan            |   13 ++++++
 staging-i686/higan.desktop    |    8 ++++
 staging-i686/purify.desktop   |    8 ++++
 staging-x86_64/PKGBUILD       |   79 ++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/higan          |   13 ++++++
 staging-x86_64/higan.desktop  |    8 ++++
 staging-x86_64/purify.desktop |    8 ++++
 8 files changed, 216 insertions(+)

Copied: higan-qt/repos/staging-i686/PKGBUILD (from rev 84963, higan-qt/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-02-26 15:45:33 UTC (rev 84964)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+
+pkgname=higan-qt
+pkgver=092
+pkgrel=4
+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://higan.googlecode.com/files/higan_v${pkgver}-source.tar.xz" "http://higan.googlecode.com/files/purify_v03-source.tar.xz" 'higan' 'higan.desktop' 'purify.desktop')
+sha1sums=('a205005f118f6e138065af6e0d14ed990b8f1ce1'
+          '2aa16f492c879d2cc1d4ffa28f4729a5ed5bb1c3'
+          '931baedc3bbdd343d2decda72c13b7d0efdcba3c'
+          '55f4de0a65d6428840d013f9b003d88158c131c7'
+          '093643998a2fb676d795c316e35d49cf6293ce86')
+
+_profiles="accuracy balanced performance"
+
+build() {
+# QT 4.8.0 fix
+  cd "${srcdir}"
+  moc -i -Ipurify_v03-source/ananke/phoenix/qt/ -o purify_v03-source/ananke/phoenix/qt/platform.moc purify_v03-source/ananke/phoenix/qt/platform.moc.hpp
+  moc -i -Ipurify_v03-source/purify/phoenix/qt/ -o purify_v03-source/purify/phoenix/qt/platform.moc purify_v03-source/purify/phoenix/qt/platform.moc.hpp
+  moc -i -Ihigan_v${pkgver}-source/higan/phoenix/qt/ -o higan_v${pkgver}-source/higan/phoenix/qt/platform.moc higan_v${pkgver}-source/higan/phoenix/qt/platform.moc.hpp
+
+# Compile libananke
+  cd "${srcdir}"/purify_v03-source/ananke
+  make compiler=gcc platform=x phoenix=qt
+
+# Compile purify
+  cd "${srcdir}"/purify_v03-source/purify
+  make compiler=gcc platform=x link='-s -lX11 -ldl -Wl,-export-dynamic' phoenix=qt
+
+# Compile higan
+  cd "${srcdir}"/higan_v${pkgver}-source/higan
+  for _profile in ${_profiles} ; do
+    make compiler=gcc platform=x target=ethos phoenix=qt profile=${_profile}
+    mv out/higan out/higan-${_profile}
+    make clean
+  done
+}
+
+package() {
+# Install common files
+  cd "${srcdir}"/higan_v${pkgver}-source
+  install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan}}
+  install -m 755 "${srcdir}"/higan "${pkgdir}"/usr/bin/higan
+  install -m 644 "${srcdir}"/higan.desktop "${pkgdir}"/usr/share/applications/higan.desktop
+  install -m 644 higan/data/higan.png "${pkgdir}"/usr/share/pixmaps/higan.png
+  cp -dr --no-preserve=ownership higan/{profile/*,data/cheats.bml} "${pkgdir}"/usr/share/higan/
+  cp -dr --no-preserve=ownership shaders "${pkgdir}/usr/share/higan/Video Shader"s
+
+# Fix some permissions
+  find "${pkgdir}"/usr/share/higan -type d -exec chmod 755 {} +
+  find "${pkgdir}"/usr/share/higan -type f -exec chmod 644 {} +
+
+# Install libananke
+  cd "${srcdir}"/purify_v03-source/ananke
+  install -m 644 libananke.so "${pkgdir}"/usr/lib/libananke.so.1
+  ln -s /usr/lib/libananke.so.1 "${pkgdir}"/usr/lib/libananke.so
+
+# 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
+
+# Install higan
+  cd "${srcdir}"/higan_v${pkgver}-source/higan
+  for _profile in ${_profiles} ; do
+    install -m 755 out/higan-${_profile} "${pkgdir}"/usr/bin/higan-${_profile}
+  done
+}
+
+# vim: ts=2 sw=2 et:

Copied: higan-qt/repos/staging-i686/higan (from rev 84963, higan-qt/trunk/higan)
===================================================================
--- staging-i686/higan	                        (rev 0)
+++ staging-i686/higan	2013-02-26 15:45:33 UTC (rev 84964)
@@ -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 "$@"

Copied: higan-qt/repos/staging-i686/higan.desktop (from rev 84963, higan-qt/trunk/higan.desktop)
===================================================================
--- staging-i686/higan.desktop	                        (rev 0)
+++ staging-i686/higan.desktop	2013-02-26 15:45:33 UTC (rev 84964)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=higan
+Comment=Nintendo multi-system emulator
+Exec=higan %u
+Icon=higan
+Terminal=false
+Type=Application
+Categories=Game;Emulator;

Copied: higan-qt/repos/staging-i686/purify.desktop (from rev 84963, higan-qt/trunk/purify.desktop)
===================================================================
--- staging-i686/purify.desktop	                        (rev 0)
+++ staging-i686/purify.desktop	2013-02-26 15:45:33 UTC (rev 84964)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=purify
+Comment=ROM purifier
+Exec=/usr/bin/purify
+Icon=higan
+Terminal=false
+Type=Application
+Categories=Game;Emulator;

Copied: higan-qt/repos/staging-x86_64/PKGBUILD (from rev 84963, higan-qt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-02-26 15:45:33 UTC (rev 84964)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+
+pkgname=higan-qt
+pkgver=092
+pkgrel=4
+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://higan.googlecode.com/files/higan_v${pkgver}-source.tar.xz" "http://higan.googlecode.com/files/purify_v03-source.tar.xz" 'higan' 'higan.desktop' 'purify.desktop')
+sha1sums=('a205005f118f6e138065af6e0d14ed990b8f1ce1'
+          '2aa16f492c879d2cc1d4ffa28f4729a5ed5bb1c3'
+          '931baedc3bbdd343d2decda72c13b7d0efdcba3c'
+          '55f4de0a65d6428840d013f9b003d88158c131c7'
+          '093643998a2fb676d795c316e35d49cf6293ce86')
+
+_profiles="accuracy balanced performance"
+
+build() {
+# QT 4.8.0 fix
+  cd "${srcdir}"
+  moc -i -Ipurify_v03-source/ananke/phoenix/qt/ -o purify_v03-source/ananke/phoenix/qt/platform.moc purify_v03-source/ananke/phoenix/qt/platform.moc.hpp
+  moc -i -Ipurify_v03-source/purify/phoenix/qt/ -o purify_v03-source/purify/phoenix/qt/platform.moc purify_v03-source/purify/phoenix/qt/platform.moc.hpp
+  moc -i -Ihigan_v${pkgver}-source/higan/phoenix/qt/ -o higan_v${pkgver}-source/higan/phoenix/qt/platform.moc higan_v${pkgver}-source/higan/phoenix/qt/platform.moc.hpp
+
+# Compile libananke
+  cd "${srcdir}"/purify_v03-source/ananke
+  make compiler=gcc platform=x phoenix=qt
+
+# Compile purify
+  cd "${srcdir}"/purify_v03-source/purify
+  make compiler=gcc platform=x link='-s -lX11 -ldl -Wl,-export-dynamic' phoenix=qt
+
+# Compile higan
+  cd "${srcdir}"/higan_v${pkgver}-source/higan
+  for _profile in ${_profiles} ; do
+    make compiler=gcc platform=x target=ethos phoenix=qt profile=${_profile}
+    mv out/higan out/higan-${_profile}
+    make clean
+  done
+}
+
+package() {
+# Install common files
+  cd "${srcdir}"/higan_v${pkgver}-source
+  install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan}}
+  install -m 755 "${srcdir}"/higan "${pkgdir}"/usr/bin/higan
+  install -m 644 "${srcdir}"/higan.desktop "${pkgdir}"/usr/share/applications/higan.desktop
+  install -m 644 higan/data/higan.png "${pkgdir}"/usr/share/pixmaps/higan.png
+  cp -dr --no-preserve=ownership higan/{profile/*,data/cheats.bml} "${pkgdir}"/usr/share/higan/
+  cp -dr --no-preserve=ownership shaders "${pkgdir}/usr/share/higan/Video Shader"s
+
+# Fix some permissions
+  find "${pkgdir}"/usr/share/higan -type d -exec chmod 755 {} +
+  find "${pkgdir}"/usr/share/higan -type f -exec chmod 644 {} +
+
+# Install libananke
+  cd "${srcdir}"/purify_v03-source/ananke
+  install -m 644 libananke.so "${pkgdir}"/usr/lib/libananke.so.1
+  ln -s /usr/lib/libananke.so.1 "${pkgdir}"/usr/lib/libananke.so
+
+# 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
+
+# Install higan
+  cd "${srcdir}"/higan_v${pkgver}-source/higan
+  for _profile in ${_profiles} ; do
+    install -m 755 out/higan-${_profile} "${pkgdir}"/usr/bin/higan-${_profile}
+  done
+}
+
+# vim: ts=2 sw=2 et:

Copied: higan-qt/repos/staging-x86_64/higan (from rev 84963, higan-qt/trunk/higan)
===================================================================
--- staging-x86_64/higan	                        (rev 0)
+++ staging-x86_64/higan	2013-02-26 15:45:33 UTC (rev 84964)
@@ -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 "$@"

Copied: higan-qt/repos/staging-x86_64/higan.desktop (from rev 84963, higan-qt/trunk/higan.desktop)
===================================================================
--- staging-x86_64/higan.desktop	                        (rev 0)
+++ staging-x86_64/higan.desktop	2013-02-26 15:45:33 UTC (rev 84964)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=higan
+Comment=Nintendo multi-system emulator
+Exec=higan %u
+Icon=higan
+Terminal=false
+Type=Application
+Categories=Game;Emulator;

Copied: higan-qt/repos/staging-x86_64/purify.desktop (from rev 84963, higan-qt/trunk/purify.desktop)
===================================================================
--- staging-x86_64/purify.desktop	                        (rev 0)
+++ staging-x86_64/purify.desktop	2013-02-26 15:45:33 UTC (rev 84964)
@@ -0,0 +1,8 @@
+[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