diff options
author | root <root@rshg054.dnsready.net> | 2013-02-14 00:04:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-14 00:04:52 -0800 |
commit | 0bf564cf7a3d99207457267c75f92ceb67197537 (patch) | |
tree | 92c12891df8b8cc45a54b34413ecba167599bed5 /pcr | |
parent | 0671250710c3e7312a4693ac45ebbaacf471d1dc (diff) |
Thu Feb 14 00:04:51 PST 2013
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/bsnes/PKGBUILD | 77 | ||||
-rw-r--r-- | pcr/bsnes/bsnes.changelog | 487 | ||||
-rw-r--r-- | pcr/bsnes/bsnes.install | 18 | ||||
-rw-r--r-- | pcr/gmqcc-git/PKGBUILD | 53 | ||||
-rw-r--r-- | pcr/gnuhealth/PKGBUILD | 41 | ||||
-rwxr-xr-x | pcr/higan-gtk/PKGBUILD | 73 | ||||
-rwxr-xr-x | pcr/higan-gtk/higan | 13 | ||||
-rwxr-xr-x | pcr/higan-gtk/higan.desktop | 8 | ||||
-rwxr-xr-x | pcr/higan-gtk/purify.desktop | 8 | ||||
-rwxr-xr-x | pcr/higan-qt/PKGBUILD | 79 | ||||
-rwxr-xr-x | pcr/higan-qt/higan | 13 | ||||
-rwxr-xr-x | pcr/higan-qt/higan.desktop | 8 | ||||
-rwxr-xr-x | pcr/higan-qt/purify.desktop | 8 | ||||
-rwxr-xr-x | pcr/mednafen-wip/PKGBUILD | 48 | ||||
-rw-r--r-- | pcr/mini18n-git/PKGBUILD | 43 | ||||
-rw-r--r-- | pcr/pmount/PKGBUILD | 15 | ||||
-rw-r--r-- | pcr/python2-polib/PKGBUILD | 6 | ||||
-rw-r--r-- | pcr/trytond/PKGBUILD | 26 | ||||
-rw-r--r-- | pcr/trytond/trytond.rc | 52 | ||||
-rw-r--r-- | pcr/trytond/trytond.service | 10 | ||||
-rw-r--r-- | pcr/wayland/PKGBUILD | 44 | ||||
-rw-r--r-- | pcr/xonotic-git/PKGBUILD | 8 | ||||
-rw-r--r-- | pcr/yabause-git/PKGBUILD | 50 | ||||
-rw-r--r-- | pcr/yabause-svn/PKGBUILD | 39 | ||||
-rw-r--r-- | pcr/yabause/PKGBUILD | 30 |
25 files changed, 460 insertions, 797 deletions
diff --git a/pcr/bsnes/PKGBUILD b/pcr/bsnes/PKGBUILD deleted file mode 100644 index 04c61bc30..000000000 --- a/pcr/bsnes/PKGBUILD +++ /dev/null @@ -1,77 +0,0 @@ -# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com> - -# Split-package support hack for AUR. -pkgname='bsnes' - -true && pkgbase='bsnes' -true && pkgname=('bsnes' 'bsnes-purify') -pkgver=090 -pkgrel=2 -pkgdesc='Super Nintendo Entertainment System (SNES) emulator focused on accuracy.' -arch=('i686' 'x86_64') -url='http://byuu.org/bsnes/' -license=('GPL3') -depends=('libao' 'libgl' 'libxv' 'openal' 'sdl' 'qt>=4.8.0') -makedepends=('pkgconfig' 'mesa') -install='bsnes.install' -changelog='bsnes.changelog' -source=('http://bsnes.googlecode.com/files/bsnes_v090-source.tar.xz') -md5sums=('c9642dae4255f5c6022b2217d64d3bc5') - -__base_path="${srcdir}/${pkgbase}_v${pkgver}-source" -# Build the accuracy profile (you can also choose 'performance' or 'compatibility'). -__profile='accuracy' - -build() { - cd "${__base_path}/${pkgname}" - - # Makefile hacks: - # Disable pulseaudio. - sed -e 's|audio.pulseaudio ||' \ - -e 's|audio.pulseaudiosimple ||' \ - -i 'target-ethos/Makefile' - # Don't copy the cheat file. - sed -e '/mkdir -p ~\/.config\/$(name)/{N;d}' \ - -e '/cp data\/cheats.xml/{N;d}' \ - -i 'target-ethos/Makefile' - # Don't use sudo - sed -e 's/sudo install/install/' \ - -i 'target-ethos/Makefile' - - # Fix building with QT >= 4.8.0. - moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp - - # Compile bsnes. - make flags="$CXXFLAGS -I. -DPROFILE_${__profile^^}" compiler=gcc platform=x \ - profile=${__profile} phoenix=qt target=ethos - - # Compile purify. - cd "${__base_path}/purify" - moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp - sed -e 's|link := -s|link := -s -lX11|' -i 'Makefile' - make compiler=gcc platform=x phoenix=qt -} - -package_bsnes-purify() { - pkgver=01 - pkgdesc='ROM cleanup utility for bsnes.' - install='' - - cd "${__base_path}/purify" - install --directory "${pkgdir}/usr/bin" - install --mode=755 "${__base_path}/purify/purify" "${pkgdir}/usr/bin/${pkgbase}-purify" -} - -package_bsnes() { - pkgver=090 - pkgrel=2 - pkgdesc='Super Nintendo Entertainment System (SNES) emulator focused on accuracy.' - url='http://byuu.org/bsnes/' - - cd "${__base_path}/${pkgname}" - make install profile=${__profile} DESTDIR="${pkgdir}" prefix=/usr - - # Install the user-profile into /usr/share/bsnes/profile. - install --directory "${pkgdir}/usr/share/${pkgname}/profile" - cp -R "${__base_path}/${pkgname}"/profile/* "${pkgdir}/usr/share/${pkgname}/profile" -} diff --git a/pcr/bsnes/bsnes.changelog b/pcr/bsnes/bsnes.changelog deleted file mode 100644 index 9328c9aee..000000000 --- a/pcr/bsnes/bsnes.changelog +++ /dev/null @@ -1,487 +0,0 @@ -2012-08-07 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 090-2 : - Make sure to build bsnes purify with QT. - -2012-08-07 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 090-1 : - New upstream release. - - * add-usr-share-fallback.patch : - Remove patch as filter/shader support has been removed. - -2012-04-24 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 088-1 : - New upstream release. - -2012-03-07 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 087-1 : - New upstream release. - - * add-usr-share-fallback.patch : - Update patch against the new source. - -2012-02-13 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 086-1 : - New upstream release. - - * add-usr-share-fallback.patch : - Update patch against the new source. - -2012-01-02 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 085-1 : - New upstream release. - -2011-12-28 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 084-3 : - Enable custom CXXFLAGS by default. - Fix build with QT 4.8.0. - -2011-11-08 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 084-2 : - Update to reflect the silently updated source tarball. - -2011-11-07 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 084-1 : - New upstream release. - Fixed PKGBUILD changelog line to work with pacman 4.0 (thanks jpike). - -2011-10-14 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 083-1 : - New upstream release. - Dropped the leading '0.' from the version number. - Compile and package filters/shaders. - Added commented block for compiling bsnes with the makepkg specified - flags (thanks MaMuS). - - * add-usr-share-fallback.patch : - Add fallback path to /usr/share/bsnes/ for finding filters/shaders - unless found in the bsnes basepath/userpath. - -2011-08-21 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.082-1 : - New upstream release. - -2011-08-12 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.081-1 : - New upstream release. - -2011-06-26 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.080-1 : - New upstream release. - - * gcc_4.6.0_build_fix.patch : - Removed as it's no longer needed. - -2011-06-18 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.079-2 : - Update sed command for preventing installation of cheats.xml to user - home directory - - * gcc_4.6.0_build_fix.patch : - Fix build errors with newest gcc 4.6.0 prerelease. - -2011-06-04 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.079-1 : - New upstream release. - -2011-04-30 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.078-1 : - New upstream release. - -2011-03-17 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.077-1 : - New upstream release. - -2011-02-27 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.076-2 : - Correct the sed expression that removes the lines that copies the - cheats.xml file. - -2011-02-25 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.076-1 : - New upstream release. - -2011-02-13 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.075-1 : - Build and package snespurify. - -2011-01-26 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.075-1 : - New upstream release. - As the launcher for selecting profile is removed the PKGBUILD will now - build just the accuracy profile. Edit the PKGBUILD if you want to build - another profile. - -2011-01-11 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.074-1 : - New upstream release. - Switched to the phoenix ui as the qt port is now dead. - -2010-12-25 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.073-1 : - New upstream release. - snesreader/snesfilter removed. - -2010-10-23 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.072-1 : - New upstream release. - -2010-10-22 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.071-1 : - New upstream release. - -2010-09-26 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.070-1 : - New upstream release. - -2010-09-25 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.069-1 : - New upstream release. - -2010-09-05 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.068-3 : - Added 'mesa' to makedepends to satisfy "GL/gl.h" dependency. - -2010-08-22 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.068-2 : - Forgot to build the launcher. - -2010-08-21 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.068-1 : - New upstream release. - - * gcc45_build_fix.patch: - Removed as it's not needed anymore. - -2010-08-02 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.067-1 : - New upstream release. - - * gcc45_build_fix.patch : - Workaround a bug in GCC 4.5.x. - -2010-06-27 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.065-1 : - New upstream release. - -2010-04-14 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.064-1 : - New upstream release. - -2010-03-29 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.063-2 : - New snesreader (snesreader_20100329.tar.bz2) that fixes libjma on 64-bit - systems. - -2010-03-28 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.063-1 : - New upstream release. - -2010-02-08 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.060-1 : - New upstream release. - Removed the optdepends list as they are now part of the same source - tarball and have been integrated into the PKGBUILD. You may remove those - plugins you don't want. - -2010-01-07 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.059-1 : - New upstream release. - -2009-12-09 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.058-1 : - New upstream release. - -2009-11-23 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.057-1 : - New upstream release. - -2009-11-22 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.056-1 : - New upstream release. - -2009-11-01 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.055-1 : - New upstream release. - -2009-10-19 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.054-1 : - New upstream release. - -2009-09-29 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.052-1 : - New upstream release. - -2009-09-27 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.051-1 : - New upstream release. - -2009-08-25 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.050-1 : - New upstream release. - -2009-08-22 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.049-1 : - New upstream release. - - * fix_black_lines.patch : - Removed as it's not needed anymore. - -2009-07-14 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.048-2 : - Apply patch to fix "black lines" issue. - - * fix_black_lines.patch : - Fixes "Linux X-video driver shows a lot of black lines" as per the - bsnes v0.048 errata. - -2009-07-12 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.048-1 : - New upstream release. - -2009-06-08 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.047-2 : - Added 'pkgconfig' to makedepends. - -2009-06-07 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.047-1 : - New upstream release. - -2009-05-10 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.046-1 : - New upstream release. - Moved 'libxtst' to optdepends. - Updated the name of the license to be correct. - -2009-04-19 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.045-1 : - New upstream release. - Added 'libxtst' to the dependency list. - -2009-03-31 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.042-1 : - New upstream release. - -2009-03-15 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.041-1 : - New upstream release. - -2009-03-09 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.040-1 : - New upstream release. - Replaced 'gtk2' dependency with 'qt' as the GUI has been rewritten. - Replaced 'freealut' dependency with 'openal' which is more correct. - Removed 'inputproto' from dependency list as namcap says it's not needed - anymore. - - * bsnes.desktop: - Removed in favor of the one shipped with bsnes. - -2009-01-18 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.039-1 : - New upstream release. - -2008-12-17 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.038-1 : - New upstream release. - New audio driver for PulseAudio is disabled. - -2008-10-27 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.037a-1 : - New upstream release. - -2008-09-18 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.036-2 : - Adapted to the ChangeLog.proto provided by Pacman. - Added missing dependency 'inputproto' (thanks cr7). - -2008-09-16 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.036-1 : - New upstream release. - -2008-08-24 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.035-1 : - New upstream release. - Made PKGBUILD autodetect GCC version and if greater than 4.2.0 enable - the -mtune=native optimizations - -2008-08-13 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.034-1 : - New upstream release. - -2008-07-29 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.033-1 : - New upstream release. - -2008-06-01 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.032a-1 : - New upstream release. - -2008-04-17 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.031-1 : - New upstream release. - -2008-03-24 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.030-1 : - New upstream release. - -2008-03-17 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.029-1 : - New upstream release. - - * bsnes-icon.patch : - Removed as it's not needed anymore. - -2008-02-06 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.028.01-1 : - New upstream release. - -2008-02-04 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.028-1 : - New upstream release. - Frmo now on JMA support will be compiled in. - - * bsnes-icon.patch : - Added a patch to make bsnes window use the bsnes icon. - -2007-12-22 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.027-1 : - New upstream release. - From now on GZIP/ZIP support will be compiled in. - JMA support is broken with the latest GCC. - - * bsnes-makefile.patch : - Removed patch since it has been merged upstream. - -2007-11-24 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.026-1 : - New upstream release. - - * bsnes-makefile.patch : - Enables the use of custom install path instead of a fixed one, taken - from http://board.zsnes.com/phpBB2/viewtopic.php?p=155591#155591 (lots - of kudos to belegdol). - - * bsnes_<SIZE>.png : - Removed the extracted icons introduced in 0.023-3 as bsnes now ships - with an icon. - -2007-10-15 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.025-1 : - New upstream release. - Correct the license array, the quotation marks shouldn't be where they - were. - - * bsnes_<SIZE>.png : - Decreased filesizes using OptiPNG/advpng (~25% total reduction). - -2007-10-01 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.024-1 : - New upstream release. - -2007-09-29 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.023-3 : - New upstream release. - Added an optional possibly speed increase option to the Makefile, as it - requires GCC >= 4.2.0 it's not enabled by default. - - * bsnes_<SIZE>.png : - Added icons for the .desktop-file (extracted from bsnes resources). - -2007-09-25 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.023-2 : - Added a .desktop file - Small (PKGBUILD inline) patch to prevent the emulator idle stage consume - 100% CPU usage. - -2007-09-17 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.023-1 : - New upstream release. - -2007-08-15 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.022-2 : - Added 'nasm' to makedepens for 'i686' and moved 'yasm' to makedepends - for 'x86_64' only. - -2007-08-04 [vEX] <niechift.dot.vex.at.gmail.dot.com> - - * 0.022-1 : - New upstream release. - Added ChangeLog diff --git a/pcr/bsnes/bsnes.install b/pcr/bsnes/bsnes.install deleted file mode 100644 index 2e40f6bba..000000000 --- a/pcr/bsnes/bsnes.install +++ /dev/null @@ -1,18 +0,0 @@ -## arg 1: the new package version -post_install() { - post_upgrade -} - -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - echo 'As of 090 bsnes requires a new directory layout for the ROMs. You can' - echo 'use bsnes-purify to create it. You should also copy the ' - echo '/usr/share/bsnes/profile/ data into your ~/.config/bsnes/ folder unless' - echo 'you have already done so. It contains files that the emulator needs to' - echo 'function properly.' - - if [ "$(vercmp $2 090)" -lt 0 ]; then - echo 'The profile data changed with release 090, update your files.' - fi -} diff --git a/pcr/gmqcc-git/PKGBUILD b/pcr/gmqcc-git/PKGBUILD new file mode 100644 index 000000000..ab08b36ef --- /dev/null +++ b/pcr/gmqcc-git/PKGBUILD @@ -0,0 +1,53 @@ +# Contributor: matthiaskrgr <matthiaskrgr _strange_curverd_character_ freedroid D0T org> + +pkgname=gmqcc-git +pkgver=20130214 +pkgrel=1 +pkgdesc="An Improved Quake C Compiler" +arch=('i686' 'x86_64') +depends=('glibc') +conflicts=('gmqcc') +provides=('gmqcc=0.2.4') +makedepends=('git') +url="https://github.com/graphitemaster/gmqcc.git" +license=('MIT') + +_gitroot="git://github.com/graphitemaster/gmqcc.git" +_gitname="gmqcc" + +build() { + cd $srcdir + msg "Connecting to the GIT server..." + if [[ -d $srcdir/$_gitname ]] ; then + cd $_gitname + msg "Removing build files..." + git clean -dfx + msg "Updating..." + git pull --no-tags + msg "The local files are updated." + else + msg "Cloning..." + git clone $_gitroot $_gitname --depth 1 + msg "Clone done." + fi + + msg "Starting compilation..." + cd "$srcdir"/"$_gitname" + + msg "Compiling..." + make +} + +check() { + cd "$srcdir"/"$_gitname" + make check +} + +package() { + cd "$srcdir"/"$_gitname" + msg "Compiling and installing to pkgdir this time..." + make install DESTDIR=$pkgdir PREFIX=/usr + msg "Compiling done." + + install -D LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE +} diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD new file mode 100644 index 000000000..c7db21793 --- /dev/null +++ b/pcr/gnuhealth/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: SpepS <dreamspepser at yahoo dot it> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> + +pkgname=gnuhealth +pkgver=1.8.0 +pkgrel=1 +pkgdesc="A free Health and Hospital Information System" +arch=(any) +url="http://health.gnu.org/" +license=('GPL3') +depends=('trytond') +source=("http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz") +md5sums=('2273870ccd77a24ac21b398d095a29b5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # python2 fixes + export PYTHON=python2 + + # mv man file + mv health/man . + + ./configure --prefix=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make MANTARGET="$pkgdir/usr/share/man/man1" \ + DESTDIR="$pkgdir/" install + + # man + install -Dm644 man/$pkgname.1 \ + "$pkgdir/usr/share/man/man1/$pkgname.1" + + # python2 fix + sed -i 's/env python/&2/' \ + `grep -rl 'env python' "$pkgdir"` +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/higan-gtk/PKGBUILD b/pcr/higan-gtk/PKGBUILD new file mode 100755 index 000000000..17d7469a6 --- /dev/null +++ b/pcr/higan-gtk/PKGBUILD @@ -0,0 +1,73 @@ +# Maintainer : Alucryd <alucryd at gmail dot com> + +pkgname=higan-gtk +pkgver=092 +pkgrel=2 +pkgdesc="Nintendo multi-system emulator - GTK version" +arch=('i686' 'x86_64') +url="http://code.google.com/p/higan/" +license=('GPL3') +depends=('xdialog' 'libpulse' 'libao' 'libgl' 'libxv' 'openal' 'sdl') +makedepends=('mesa') +optdepends=('beat: Delta patcher') +conflicts=('higan-qt') +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 (remove as needed) +_profiles="accuracy balanced performance" + +build() { +# Compile libananke + cd "${srcdir}"/purify_v03-source/ananke + make compiler=gcc platform=x phoenix=gtk + +# Compile purify + cd "${srcdir}"/purify_v03-source/purify + make compiler=gcc platform=x link='-s -lX11 -ldl -Wl,-export-dynamic' phoenix=gtk + +# Compile higan + cd "${srcdir}"/higan_v${pkgver}-source/higan + for _profile in ${_profiles} ; do + make compiler=gcc platform=x target=ethos phoenix=gtk 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 Shaders" + +# 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: diff --git a/pcr/higan-gtk/higan b/pcr/higan-gtk/higan new file mode 100755 index 000000000..29fc0b7bb --- /dev/null +++ b/pcr/higan-gtk/higan @@ -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 "$@" diff --git a/pcr/higan-gtk/higan.desktop b/pcr/higan-gtk/higan.desktop new file mode 100755 index 000000000..c9cd3c14b --- /dev/null +++ b/pcr/higan-gtk/higan.desktop @@ -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; diff --git a/pcr/higan-gtk/purify.desktop b/pcr/higan-gtk/purify.desktop new file mode 100755 index 000000000..354dc2849 --- /dev/null +++ b/pcr/higan-gtk/purify.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=purify +Comment=ROM purifier +Exec=/usr/bin/purify +Icon=higan +Terminal=false +Type=Application +Categories=Game;Emulator; diff --git a/pcr/higan-qt/PKGBUILD b/pcr/higan-qt/PKGBUILD new file mode 100755 index 000000000..42f7dd813 --- /dev/null +++ b/pcr/higan-qt/PKGBUILD @@ -0,0 +1,79 @@ +# Maintainer : Alucryd <alucryd at gmail dot com> + +pkgname=higan-qt +pkgver=092 +pkgrel=2 +pkgdesc="Nintendo multi-system emulator - QT version" +arch=('i686' 'x86_64') +url="http://code.google.com/p/higan/" +license=('GPL3') +depends=('qt>=4.7.0' 'xdialog' 'libpulse' 'libao' 'libgl' 'libxv' 'openal' 'sdl') +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 (remove as needed) +_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: diff --git a/pcr/higan-qt/higan b/pcr/higan-qt/higan new file mode 100755 index 000000000..29fc0b7bb --- /dev/null +++ b/pcr/higan-qt/higan @@ -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 "$@" diff --git a/pcr/higan-qt/higan.desktop b/pcr/higan-qt/higan.desktop new file mode 100755 index 000000000..c9cd3c14b --- /dev/null +++ b/pcr/higan-qt/higan.desktop @@ -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; diff --git a/pcr/higan-qt/purify.desktop b/pcr/higan-qt/purify.desktop new file mode 100755 index 000000000..354dc2849 --- /dev/null +++ b/pcr/higan-qt/purify.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=purify +Comment=ROM purifier +Exec=/usr/bin/purify +Icon=higan +Terminal=false +Type=Application +Categories=Game;Emulator; diff --git a/pcr/mednafen-wip/PKGBUILD b/pcr/mednafen-wip/PKGBUILD deleted file mode 100755 index 167a806e2..000000000 --- a/pcr/mednafen-wip/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Hans-Kristian Arntzen <maister@archlinux.us> -# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> -# Contributor: kagan <juanynie@mi.madritel.es> -# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> -# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> - -pkgbase=mednafen -pkgname=mednafen-wip -pkgflag=wip -pkgver=0.9.28 -_pkgver=450 -pkgrel=1 -pkgdesc='A command-line multi-system gaming emulator, WIP version' -url="http://$pkgbase.sourceforge.net/" -license=GPL -arch=( - i686 - x86_64 - mips64el -) -depends=( - jack - 'libcdio>=0.83' - sdl-libre -) -optdepends=( - 'libgl: needed for opengl support' - 'glu: needed for opengl support' -) -makedepends=( - mesa - glu -) -provides=$pkgbase -conflicts=$pkgbase -source=$pkgbase-$pkgver-$pkgflag.tar.bz2::'http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&' -sha1sums=6948b0f06d72f8056690d229581e94408d40c918 - -build() { - cd $srcdir/$pkgbase - setarch $CARCH ./configure --prefix=/usr - setarch $CARCH make -} - -package() { - cd $srcdir/$pkgbase - setarch $CARCH make DESTDIR=$pkgdir install -} diff --git a/pcr/mini18n-git/PKGBUILD b/pcr/mini18n-git/PKGBUILD new file mode 100644 index 000000000..c55db7b7d --- /dev/null +++ b/pcr/mini18n-git/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Gustavo alvarez <sl1pkn07@gmail.com> + +pkgname=mini18n-git +pkgver=20130213 +pkgrel=1 +pkgdesc="A a small and non-intrusive translation library designed for small memory and non-GNU systems. (GIT version)" +arch=('x86_64' 'i686') +url="http://wiki.yabause.org/index.php5?title=Mini18n" +license=('GPL') +makedepends=('git' 'cmake') +conficts=('mini18n') +provides=('mini18n') + +_gitroot="git://github.com/Guillaumito/yabause.git" +_gitname="mini18n" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d "${_gitname}" ]; then + cd "${_gitname}" && git pull origin + msg "The local files are updated." + else + git clone --depth=1 "${_gitroot}" "${_gitname}" + fi + + msg "GIT checkout done or server timeout" + msg "Starting build..." + + rm -rf "${srcdir}/${_gitname}-build" + cp -R "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" + cd "${srcdir}/${_gitname}-build/${_gitname}" + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}/${_gitname}-build/${_gitname}" + make DESTDIR="${pkgdir}/" install +} + diff --git a/pcr/pmount/PKGBUILD b/pcr/pmount/PKGBUILD index a35dc01c8..46c2b0358 100644 --- a/pcr/pmount/PKGBUILD +++ b/pcr/pmount/PKGBUILD @@ -3,9 +3,9 @@ pkgname=pmount pkgver=0.9.23 -pkgrel=5 +pkgrel=7 pkgdesc="mount removable devices as normal user" -arch=(i686 x86_64) +arch=(i686 x86_64 mips64el) license=('GPL2') url="http://pmount.alioth.debian.org/" backup=('etc/pmount.allow') @@ -13,10 +13,15 @@ depends=('sysfsutils>=2.0.0-1' 'util-linux') makedepends=('intltool') source=( https://alioth.debian.org/frs/download.php/3310/${pkgname}-${pkgver}.tar.bz2 - 'http://anonscm.debian.org/gitweb/?p=pmount/pmount-debian.git;a=blob_plain;f=debian/completion/pmount') + 'http://anonscm.debian.org/gitweb/?p=pmount/pmount-debian.git;a=blob_plain;f=debian/completion/pmount' + https://alioth.debian.org/tracker/download.php/31157/412979/313576/4753/fix-pmount-segfault.diff +) build() { + export CFLAGS="${CFLAGS} -fPIE -pie" + export CXXFLAGS="${CXXFLAGS} -fPIE -pie" cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ${srcdir}/fix-pmount-segfault.diff ./configure --prefix=/usr --disable-hal \ --with-cryptsetup-prog=/usr/sbin/cryptsetup make @@ -26,6 +31,8 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 ${srcdir}/pmount ${pkgdir}/usr/share/bash-completion/completions/pmount + mkdir -p ${pkgdir}/media } md5sums=('db19f5bf3151b1b41705ec7bafa439d3' - '224f24127f8ab3605de8b9bcb433882f') + '224f24127f8ab3605de8b9bcb433882f' + '5b223bce1fb262bbb98c541725f5e985') diff --git a/pcr/python2-polib/PKGBUILD b/pcr/python2-polib/PKGBUILD index 206bd9b4f..ae282a2d8 100644 --- a/pcr/python2-polib/PKGBUILD +++ b/pcr/python2-polib/PKGBUILD @@ -2,8 +2,8 @@ pkgname=python2-polib _pkgname='polib' -pkgver=0.7.0 -pkgrel=2 +pkgver=1.0.0 +pkgrel=1 pkgdesc='A library to manipulate gettext files' url='http://polib.readthedocs.org/en/latest/index.html' arch=('any') @@ -11,7 +11,7 @@ license=('MIT') depends=('python2') source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz") -md5sums=('958f8f81ade7d2484edc25b3989fe247') +md5sums=('62a7662c3fd3eddcabba61107b6baae3') build() { cd "${srcdir}/${_pkgname}-${pkgver}" diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD index bae5d2f4e..b270df368 100644 --- a/pcr/trytond/PKGBUILD +++ b/pcr/trytond/PKGBUILD @@ -1,31 +1,31 @@ +# Contributor: Florian Walch <florian.walch@gmx.at> # Maintainer: Robin Baumgartner <robin@baumgartners.ch> pkgname=trytond -pkgver=2.4.0 -_pkgdir=2.4 -pkgrel=2 +pkgver=2.6.3 +_pkgdir=2.6 +pkgrel=1 pkgdesc="A three-tiers high-level general purpose application platform (server application)" arch=('any') url="http://www.tryton.org/" license=('GPL3') -depends=('python2>=2.4' 'python2-lxml' 'python2-egenix-mx-base' 'python2-relatorio>=0.2.0' 'python2-genshi>=0.5' -'python2-polib') -optdepends=('python2-psycopg2: support for PostgreSQL database' - 'python2-pywebdav: support for WebDAV feature' +depends=('python2>=2.4' 'python-lxml' 'python2-egenix-mx-base' 'python2-relatorio>=0.2.0' 'python2-genshi>=0.5' 'python2-polib') +optdepends=('python-psycopg2: support for PostgreSQL database' + 'python-pywebdav: support for WebDAV feature' 'pydot: support for displaying workflow graphs' - 'python2-pytz: timezone support' - 'python2-pyopenssl: support for SSL connection') + 'python-pytz: timezone support' + 'pyopenssl: support for SSL connection') makedepends=('python2-distribute') install="trytond.install" source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz" 'trytond.install' - 'trytond.rc') -md5sums=('ce0bbb8fcd0ef6a02c575823712e29e4' + 'trytond.service') +md5sums=('0dd81769fc18fe2d20e83de4f17cb10d' '768e68c01cb5913e36ea89c67fc98038' - '3ca6aff9b30a52bcf159be7ca630fb6e') + 'b1535a8528dfd8f655624bf6faea6985') build() { cd $srcdir/$pkgname-$pkgver python2 setup.py install --root=$pkgdir install -D -m644 etc/trytond.conf $pkgdir/etc/trytond.conf - install -D -m755 $srcdir/trytond.rc $pkgdir/etc/rc.d/trytond + install -D -m755 $srcdir/trytond.service $pkgdir/usr/lib/systemd/system/trytond.service } diff --git a/pcr/trytond/trytond.rc b/pcr/trytond/trytond.rc deleted file mode 100644 index a93172a58..000000000 --- a/pcr/trytond/trytond.rc +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/python /usr/bin/trytond` -case "$1" in - start) - stat_busy "Starting Tryton server" - # handling log file - if [ ! -e /var/log/trytond/trytond.log ]; then - mkdir -p /var/log/trytond - touch /var/log/trytond/trytond.log - chown -R trytond:trytond /var/log/trytond - fi - # starting the daemon - if [ -z "$PID" ]; then - su - trytond -s /bin/bash -c "/usr/bin/python2 /usr/bin/trytond \ - --logfile=/var/log/trytond/trytond.log &> /dev/null &" - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon trytond - stat_done - fi - else - stat_fail - fi - ;; - stop) - stat_busy "Stopping Tryton server" - if [ ! -z "$PID" ]; then - if [ $? -gt 0 ]; then - stat_fail - else - kill $PID &> /dev/null & - rm_daemon trytond - stat_done - fi - else - stat_fail - fi - ;; - restart) - $0 stop - sleep 3 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/pcr/trytond/trytond.service b/pcr/trytond/trytond.service new file mode 100644 index 000000000..7d85691b3 --- /dev/null +++ b/pcr/trytond/trytond.service @@ -0,0 +1,10 @@ +[Unit] +Description=Tryton Server Daemon + +[Service] +Type=simple +User=tryton +ExecStart=/usr/bin/trytond + +[Install] +WantedBy=multi-user.target diff --git a/pcr/wayland/PKGBUILD b/pcr/wayland/PKGBUILD deleted file mode 100644 index a6f2566ec..000000000 --- a/pcr/wayland/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -pkgname=wayland -pkgver=0.95.0 -pkgrel=2 -pkgdesc='A modern display server.' -arch=( - i686 - x86_64 - mips64el -) -url=http://wayland.freedesktop.org -license=( - MIT -) -depends=( - expat - libffi -) -options=( - !libtool -) -conflicts=( - $pkgname-git -) -source=( - http://$pkgname.freedesktop.org/releases/$pkgname-$pkgver.tar.xz -) -sha1sums=( - 4a7e49256f3d4a61add3cf70d74f02abb5b243a2 -) - -build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install - install -m755 -d $pkgdir/usr/share/licenses/$pkgname - install -m644 COPYING $pkgdir/usr/share/licenses/$pkgname -} diff --git a/pcr/xonotic-git/PKGBUILD b/pcr/xonotic-git/PKGBUILD index 2a032cd4a..7075a33a8 100644 --- a/pcr/xonotic-git/PKGBUILD +++ b/pcr/xonotic-git/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Alexander Suhoverhov <cy at ngs dot ru> pkgname=xonotic-git -pkgver=20120718 +pkgver=20130213 pkgrel=1 pkgdesc="A free, fast-paced crossplatform first-person shooter" arch=('i686' 'x86_64') @@ -27,12 +27,12 @@ optdepends=( 'libtheora: recording in ogv' #'d0_blind_id-git: crypto libraries for player authentification' ) -provides=('xonotic' 'xonotic-data') -conflicts=('xonotic' 'xonotic-data') +provides=('xonotic') +conflicts=('xonotic') _gitroot="git://git.xonotic.org/xonotic/xonotic.git" _gitname="xonotic" -_releasename="git-AUR" +_releasename="git-PCR" _compression=5 # the jpeg and ogg variables can be modified, the function may also be skipped for raw data diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD new file mode 100644 index 000000000..d2b351b36 --- /dev/null +++ b/pcr/yabause-git/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> +pkgname=yabause-git +pkgver=20130213 +pkgrel=1 +pkgdesc="A Sega Saturn emulator (GIT version)" +arch=('x86_64' 'i686') +url="http://yabause.org/" +license=('GPL') +conflicts=('yabause') +provides=('yabause') +depends=('mini18n-git' 'openal' 'sdl' 'freeglut') +makedepends=('git' 'cmake' 'mesa' 'glu') + +#Enable QT or GTK +#_port=gtk +_port=qt + +[ "${_port}" = "qt" ] && depends+=('qt') +[ "${_port}" = "gtk" ] && depends+=('gtkglext') + +_gitroot="git://github.com/Guillaumito/yabause.git" +_gitname="yabause" + +build() { + cd "${srcdir}" + msg "Connecting to GIT server...." + + if [ -d "${_gitname}" ]; then + cd "${_gitname}" && git pull + msg "The local files are updated." + else + git clone --depth=1 "${_gitroot}" "${_gitname}" + fi + + msg "GIT checkout done or server timeout" + msg "Starting build..." + + rm -rf "${srcdir}/${_gitname}-build" + cp -R "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" + cd "${srcdir}/${_gitname}-build/${_gitname}" + + LDFLAGS+=",-z,noexecstack" + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DYAB_PORTS="${_port}" -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=ON -DYAB_PERKEYNAME=ON + make +} + +package() { + cd "${srcdir}/${_gitname}-build/${_gitname}" + make DESTDIR="${pkgdir}/" install +} diff --git a/pcr/yabause-svn/PKGBUILD b/pcr/yabause-svn/PKGBUILD deleted file mode 100644 index e8996aa3a..000000000 --- a/pcr/yabause-svn/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -pkgname=yabause-svn -pkgver=3010 -pkgrel=1 -pkgdesc="A Sega Saturn emulator. (svn)" -arch=(i686 x86_64) -license=("GPL") -depends=(gtkglext sdl freeglut glu) -makedepends=(subversion mesa) -url="http://yabause.org/" -conflicts=(yabause yabause-qt yabause-qt-svn) -provides=(yabause) -_svntrunk="https://yabause.svn.sourceforge.net/svnroot/yabause/trunk" -_svnmod="yabause" - -build() { - cd "${srcdir}" - - if [ -d "${_svnmod}/.svn" ]; then - (cd "$_svnmod" && svn up -r $pkgver) - else - svn co "$_svntrunk" --config-dir ./ -r $pkgver $_svnmod - fi - - msg 'SVN checkout done or server timeout' - - rm -rf "${_svnmod}-build" - cp -r "$_svnmod" "${_svnmod}-build" - cd "${_svnmod}-build/yabause" - - ./autogen.sh - ./configure --prefix=/usr LIBS="-lm" - make -} - -package() { - cd "${srcdir}/${_svnmod}-build/yabause" - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" -} diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD index 255dee266..0b80f72f9 100644 --- a/pcr/yabause/PKGBUILD +++ b/pcr/yabause/PKGBUILD @@ -1,26 +1,40 @@ -# Maintainer: Anton Shestakov <engored*ya.ru> +# Maintainer : Harley Laue <losinggeneration@gmail.com> +# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr> +# Contributor: Anton Shestakov <engored*ya.ru> # Contributor: Tiago Camargo <tcamargo@gmail.com> # Contributor: robb_force <robb_force@holybuffalo.net> pkgname=yabause -pkgver=0.9.11.1 +pkgver=0.9.12 pkgrel=1 pkgdesc='A Sega Saturn emulator.' url='http://yabause.org/' license=('GPL') arch=('i686' 'x86_64') -depends=('gtkglext' 'sdl' 'freeglut' 'glu') -makedepends=('mesa') +makedepends=('cmake' 'mesa' 'glu') +depends=('sdl' 'qt' 'openal' 'freeglut') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('86c728fe3efda655a28c645714e4b8f4') +md5sums=('c7876c04489f8a1b59b3166598084cb8') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./autogen.sh - ./configure --prefix=/usr LIBS="-lm" + + [ -e build ] && rm -rf build + mkdir build + cd build + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DYAB_PORTS=qt \ + -DYAB_MULTIBUILD=OFF \ + -DYAB_NETWORK=ON \ + -DYAB_OPTIMIZED_DMA=on \ + -DYAB_PERKEYNAME=ON \ + .. + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install } |