diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-02-14 12:13:51 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-02-14 12:13:51 -0200 |
commit | f67b20d8da80cc120dcfea0d3405de74a8e5f84a (patch) | |
tree | 2d57e7cdc4772adc20017980fda13f1267cfc127 /pcr | |
parent | 327433a2a7ae50151dcf0e6f6840a3eb5c065808 (diff) | |
parent | 9e33e61c00e3da5565b47e16b6618ab98c9ea38f (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
39 files changed, 935 insertions, 729 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/gnun/PKGBUILD b/pcr/gnun/PKGBUILD new file mode 100644 index 000000000..2f1cbf40f --- /dev/null +++ b/pcr/gnun/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar> +# + +pkgname=gnun +pkgver=0.4 +pkgrel=2 +arch=('any') +license=('GPL3') +pkgdesc="Build system for gnu.org translations" +url="http://www.gnu.org/software/gnun/" +depends=('guile' 'po4a' 'libxml2') +makedepends=('heirloom-mailx' 'cvs' 'svn') +optdepends=('cvs: for CVS support' + 'subversion: for Subversion support') +source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}) +md5sums=('3baf8a16cc017e6335e65975c7223ac8' + '9bd1bada0b07154cf3e1c1cf937194e7') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr --libexecdir=/usr/lib + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install install-info +} 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/idjc/PKGBUILD b/pcr/idjc/PKGBUILD new file mode 100644 index 000000000..0de01f4e3 --- /dev/null +++ b/pcr/idjc/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Tobias Luther <tobias [at] tonstrom [dot] de> +# Contributor: GraveDigger +# Contributor: Gaetan Bisson <bisson@archlinux.org> + +pkgname=idjc +pkgver=0.8.8 +pkgrel=1 +pkgdesc='Powerful yet easy-to-use source-client for individuals interested in streaming live radio shows over the Internet' +url='http://idjc.sourceforge.net/' +license=('GPL2') +arch=('i686' 'x86_64') +#depends=('python2' 'jack' 'pygtk' 'lame' 'mutagen' 'flac' 'faad2' 'libsamplerate' 'vorbis-tools' 'libsndfile' 'ffmpeg' 'libmad' 'speex' 'dbus-python' 'imagemagick' 'twolame' 'libshout-idjc-git' 'mpg123') +depends=('desktop-file-utils' 'python2' 'dbus-python' 'mutagen' 'jack' 'pygtk' 'vorbis-tools' 'libsndfile' 'libsamplerate' 'glib2' 'lame' 'libmad' 'ffmpeg' 'flac' 'speex' 'libshout-idjc') +optdepends=('patchage' 'qjackctl') +makedepends=('pkgconfig') +install=${pkgname}.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('a14ce4cc8c789fce55c7b98081743a4a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr PYTHON="/usr/bin/python2" --disable-libav + + make PYTHON="/usr/bin/python2" + +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" PYTHON="/usr/bin/python2" install + + sed -i 's|#! /usr/bin/python22.7|#! /usr/bin/python2|' ${pkgdir}/usr/bin/idjc +} diff --git a/pcr/idjc/idjc.install b/pcr/idjc/idjc.install new file mode 100644 index 000000000..9834cb7dd --- /dev/null +++ b/pcr/idjc/idjc.install @@ -0,0 +1,11 @@ +post_upgrade() { + update-desktop-database -q +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} diff --git a/pcr/idjc/idjc_0.8.4_configure.patch b/pcr/idjc/idjc_0.8.4_configure.patch new file mode 100644 index 000000000..9f1b3c5f0 --- /dev/null +++ b/pcr/idjc/idjc_0.8.4_configure.patch @@ -0,0 +1,12 @@ +diff -Naur idjc-0.8.4/configure idjc-0.8.4.new/configure +--- idjc-0.8.4/configure 2010-10-07 15:00:07.000000000 +0200 ++++ idjc-0.8.4.new/configure 2010-10-20 19:30:48.000000000 +0200 +@@ -5349,7 +5349,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mutagen" >&5 + $as_echo_n "checking for mutagen... " >&6; } +-python -c "import mutagen" &>/dev/null ++$PYTHON -c "import mutagen" &>/dev/null + if test $? -ne 0 ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } diff --git a/pcr/jack-rack/PKGBUILD b/pcr/jack-rack/PKGBUILD new file mode 100644 index 000000000..26330bb2b --- /dev/null +++ b/pcr/jack-rack/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: DonVla <donvla@users.sourceforge.net> +# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net> +# Contributor: Berkus <berkus@madfire.net> +# Contributor: Daniele Paolella <danielepaolella@email.it> +pkgname=jack-rack +pkgver=1.4.7 +pkgrel=4 +pkgdesc="Effects rack for JACK" +url="http://jack-rack.sourceforge.net" +arch=('i686' 'x86_64') +license=('GPL') +depends=('jack' 'gtk2' 'libxml2' 'ladspa') +optdepends=('lash: LASH support' + 'raptor1: LRDF support' + 'liblrdf: LRDF support' + 'python2: ecarack') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) + +md5sums=('a29ef4001ee2916a1b758952c936adca') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh + ./configure --prefix=/usr --enable-lash --disable-gnome + make LDFLAGS='-ldl -lm' +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install + sed -i 's/#!\/usr\/bin\/python/#!\/usr\/bin\/python2/' "${pkgdir}/usr/bin/ecarack" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/libshout-idjc/PKGBUILD b/pcr/libshout-idjc/PKGBUILD new file mode 100644 index 000000000..51578c420 --- /dev/null +++ b/pcr/libshout-idjc/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: fauno, based on the git version from +# Mantainer: M0Rf30 +pkgname=libshout-idjc +pkgver=2.3.0 +pkgrel=1 +pkgdesc="Libshout-idjc is libshout plus some extensions for IDJC." +arch=(i686 x86_64) +url="http://idjc.sourceforge.net/" +depends=('libvorbis' 'libtheora' 'speex') +options=('!libtool' '!emptydirs') +source=("http://downloads.sourceforge.net/project/idjc/${pkgname}/${pkgname}-${pkgver}.tar.gz") +license=('LGPL') +md5sums=('1b92ee05f42a957169a74a911cd94afc') + +build() { + cd "$srcdir/$pkgname-$pkgver/" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make LDFLAGS+=-lspeex +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + make DESTDIR="${pkgdir}" install +} + diff --git a/pcr/mednafen-wip/PKGBUILD b/pcr/mednafen-wip/PKGBUILD deleted file mode 100644 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/multiwatch/PKGBUILD b/pcr/multiwatch/PKGBUILD new file mode 100644 index 000000000..2cf0bcc68 --- /dev/null +++ b/pcr/multiwatch/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Paul Dann <pdgiddie at gmail dot com> +pkgname=multiwatch +pkgver='1.0.0' +pkgrel=1 +pkgdesc='Forks and watches multiple instances of a program in the same context' +arch=('i686' 'x86_64') +url="http://redmine.lighttpd.net/projects/multiwatch/wiki" +license=('MIT') +depends=('libev') +makedepends=('cmake') +source=("http://download.lighttpd.net/multiwatch/releases-1.x/multiwatch-$pkgver.tar.bz2") +md5sums=('87f74dbaf5318f2b2dce3d0bf9f5025c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + rm -rf build + mkdir build + cd build + cmake .. + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/build" + install -Dm 755 multiwatch $pkgdir/usr/bin/multiwatch +} + +# vim:set ts=2 sw=2 et: 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 new file mode 100644 index 000000000..ae282a2d8 --- /dev/null +++ b/pcr/python2-polib/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com> + +pkgname=python2-polib +_pkgname='polib' +pkgver=1.0.0 +pkgrel=1 +pkgdesc='A library to manipulate gettext files' +url='http://polib.readthedocs.org/en/latest/index.html' +arch=('any') +license=('MIT') +depends=('python2') + +source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz") +md5sums=('62a7662c3fd3eddcabba61107b6baae3') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/pcr/python2-relatorio/PKGBUILD b/pcr/python2-relatorio/PKGBUILD new file mode 100644 index 000000000..497a50920 --- /dev/null +++ b/pcr/python2-relatorio/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Florian Walch <florian.walch@gmx.at> +# Maintainer: Thomas Bahn <Thomas-Bahn@gmx.net> +pkgname=python2-relatorio +pkgver=0.5.6 +pkgrel=2 +pkgdesc="A templating library able to output odt and pdf files" +arch=('i686' 'x86_64' 'mips64el') +url="http://relatorio.openhex.org" +license=('GPL') +depends=('python2-genshi>=0.5' 'python2-lxml>=1.3.6') +makedepends=('python2-distribute') +source=("http://pypi.python.org/packages/source/r/relatorio/relatorio-$pkgver.tar.gz") + +build() { + cd $srcdir/relatorio-$pkgver + chmod 644 relatorio.egg-info/* + python2 setup.py install --root=$pkgdir +} + + +md5sums=('944fb60fadaff451ab6ee8818de516ad') diff --git a/pcr/recutils/ChangeLog b/pcr/recutils/ChangeLog new file mode 100644 index 000000000..02a3a418d --- /dev/null +++ b/pcr/recutils/ChangeLog @@ -0,0 +1,36 @@ +recutils (1.5-1) + + * New upstream release + - Version 1.5 (13 January 2012) + - The utilities will now ask interactively for a password + if it was not provided with the -s command line option. + This avoids security problems related to shell history files. + - Support for octal and hexadecimal numbers has been added. + They can be used in both the records and selection expressions. + - It is now possible to select a given number of random records + in many of the utilities using the -m command line option. + - The -n option now accepts a list of indexes, supporting ranges. + - The new -U (uniq) option for recsel removes duplicated fields + in the output records. + - The new -q option allows to quickly search for the desired record + without having to provide a complete selection expression. + - Auto generated fields are now considered integers by default. + This avoids repetitive patterns involving %auto and %type. + - Tab characters are now allowed in blank lines betwwen records. + - The API in rec.h is now better documented with comments, and improved. + - recfix now exits with an error status + if there is a parse error in some input file. + - The usage of the internal data structures has been _vastly_ improved, + resulting in a much faster operation. + - Internal cleanup and code factorization. + - Many, many, many bug fixes :D + * PKGBUILD + - commenting out "makedepends=(mdbtools)" for now + because the current "mdbtools" package from the AUR + is missing 'MDB_NOFLAGS' in the "mdbtools.h" file. + - all other dependencies to compile and run recutils + are already satisfied through the 'base' group. + * Added some examples + + -- Sven Wick <sven.wick@gmx.de> Fri, 20 Jan 2012 16:04:02 +0100 + diff --git a/pcr/recutils/PKGBUILD b/pcr/recutils/PKGBUILD new file mode 100644 index 000000000..ddf47243a --- /dev/null +++ b/pcr/recutils/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Max Meyer <dev@fedux.org> +# Contributor: Sven Wick <sven.wick@gmx.de> +# +# Please fork and send me a pull request for changes to package build file(s) +# Url: https://github.com/maxmeyer/archlinux-recutils +# + +pkgname=recutils +pkgver=1.5 +pkgrel=2 +pkgdesc="GNU tools and libraries to access human-editable, text-based databases." +arch=(i686 x86_64 mips64el) +url="http://www.gnu.org/software/recutils/" +license=('GPL3') +depends=(libgcrypt curl) +optdepends=("mdbtools: for processing M$ Access databases") +#options=() +install=recutils.install +changelog=ChangeLog +source=("http://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz" + "recutils-1.5-glibc-2.16.patch") +sha256sums=('7ed67e74468084f52ad9341e4b11c44e5fd9d5325b93b7eb2cb230c839ff5dec' + '28c169df3573748215a78b78793d45a09aeefc6194cf1185c7c0f11881eb289a') +options=(!libtool) + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i ${srcdir}/recutils-1.5-glibc-2.16.patch + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/recutils/recutils-1.5-glibc-2.16.patch b/pcr/recutils/recutils-1.5-glibc-2.16.patch new file mode 100644 index 000000000..8b4997f09 --- /dev/null +++ b/pcr/recutils/recutils-1.5-glibc-2.16.patch @@ -0,0 +1,29 @@ +--- recutils-1.5/lib/stdio.in.h ++++ recutils-1.5/lib/stdio.in.h +@@ -699,22 +699,11 @@ + # endif + #endif + +-#if @GNULIB_GETS@ +-# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ +-# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +-# undef gets +-# define gets rpl_gets +-# endif +-_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1))); +-_GL_CXXALIAS_RPL (gets, char *, (char *s)); +-# else +-_GL_CXXALIAS_SYS (gets, char *, (char *s)); +-# undef gets +-# endif +-_GL_CXXALIASWARN (gets); + /* It is very rare that the developer ever has full control of stdin, +- so any use of gets warrants an unconditional warning. Assume it is +- always declared, since it is required by C89. */ ++ so any use of gets warrants an unconditional warning; besides, C11 ++ removed it. */ ++#undef gets ++#if HAVE_RAW_DECL_GETS + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif + diff --git a/pcr/recutils/recutils.install b/pcr/recutils/recutils.install new file mode 100644 index 000000000..245c7ae01 --- /dev/null +++ b/pcr/recutils/recutils.install @@ -0,0 +1,36 @@ +_infodir=/usr/share/info +_infofiles=( recutils.info.gz ) + +_mandir=/usr/share/man/man1 +_manfiles=( csv2rec.1.gz rec2csv.1.gz recdel.1.gz recfix.1.gz recfmt.1.gz recinf.1.gz recins.1.gz recsel.1.gz recset.1.gz) + +## arg 1: the new package version +post_install() { + [ -x /usr/bin/mandb ] || return 0 + for _file in ${_manfiles[@]}; do + mandb -f $_mandir/$_file + done + + [ -x /usr/bin/install-info ] || return 0 + for _file in ${_infofiles[@]}; do + install-info $_infodir/$_file $_infodir/dir #2> /dev/null + done +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x /usr/bin/mandb ] || return 0 + mandb + + [ -x /usr/bin/install-info ] || return 0 + for _file in ${_infofiles[@]}; do + install-info --delete $_infodir/$_file $_infodir/dir #2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD new file mode 100644 index 000000000..b270df368 --- /dev/null +++ b/pcr/trytond/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Florian Walch <florian.walch@gmx.at> +# Maintainer: Robin Baumgartner <robin@baumgartners.ch> +pkgname=trytond +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' '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' + '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.service') +md5sums=('0dd81769fc18fe2d20e83de4f17cb10d' + '768e68c01cb5913e36ea89c67fc98038' + '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.service $pkgdir/usr/lib/systemd/system/trytond.service +} diff --git a/pcr/trytond/trytond.install b/pcr/trytond/trytond.install new file mode 100644 index 000000000..46d6daaba --- /dev/null +++ b/pcr/trytond/trytond.install @@ -0,0 +1,20 @@ +post_install() { + echo + echo "Adding tryton group... " + groupadd tryton + echo + echo "Adding tryton user... " + useradd -c "Tryton Server Daemon" -g tryton -s /bin/false tryton + + echo "Note:" + echo "==> Please don't forget to configure your PostgreSQL database for the program." +} + +post_remove() { + echo "Removing tryton system user... " + userdel tryton && echo "trytond [done]" +} + +op=$1 +shift +[ "$(type -t "$op")" = "function" ] && $op "$@" 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/uci/PKGBUILD b/pcr/uci/PKGBUILD new file mode 100644 index 000000000..41541fa07 --- /dev/null +++ b/pcr/uci/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar> +pkgname=uci +pkgver=0.8.0 +pkgrel=2 +pkgdesc="OpenWRT's Unified Configuration Interface" +arch=('i686' 'x86_64' 'mips64el') +url="https://openwrt.org" +license=('GPL2') +makedepends=('git' 'cmake' 'lua51') +source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz + uci-0.8.0-lua5.1.patch) +md5sums=('135bf6c4188b72c7fd7954f592b1e4e4' + '2c8f4d59b2b7adb990dcaa07e0ed484c') + +# source PKGBUILD; mksource +mksource() { + + if [ -d uci/.git ]; then + pushd uci; git pull; popd + else + git clone git://nbd.name/uci.git + fi + + cd uci/ + git archive --prefix=${pkgname}-${pkgver}/ v${pkgver} | \ + gzip -9 > ../${pkgname}-${pkgver}.tar.gz + cd .. +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/uci-0.8.0-lua5.1.patch + cmake . + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir}/ install +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/uci/uci-0.8.0-lua5.1.patch b/pcr/uci/uci-0.8.0-lua5.1.patch new file mode 100644 index 000000000..d3e486f87 --- /dev/null +++ b/pcr/uci/uci-0.8.0-lua5.1.patch @@ -0,0 +1,31 @@ +--- uci-0.8.0.orig/lua/CMakeLists.txt 2011-07-19 15:39:56.000000000 -0500 ++++ uci-0.8.0/lua/CMakeLists.txt 2013-02-12 21:16:02.583984374 -0500 +@@ -4,7 +4,18 @@ + + SET(CMAKE_INSTALL_PREFIX /) + +-ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I..) ++IF(NOT LUA_CFLAGS) ++ FIND_PROGRAM(PKG_CONFIG pkg-config) ++ IF(PKG_CONFIG) ++ EXECUTE_PROCESS( ++ COMMAND pkg-config --silence-errors --cflags lua5.1 ++ OUTPUT_VARIABLE LUA_CFLAGS ++ OUTPUT_STRIP_TRAILING_WHITESPACE ++ ) ++ ENDIF() ++ENDIF() ++ ++ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I.. ${LUA_CFLAGS}) + LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..) + + IF(APPLE) +@@ -13,7 +24,7 @@ + + IF(NOT LUAPATH) + EXECUTE_PROCESS( +- COMMAND lua -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end" ++ COMMAND lua5.1 -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end" + OUTPUT_VARIABLE LUAPATH + RESULT_VARIABLE LUA_CHECK_RES + OUTPUT_STRIP_TRAILING_WHITESPACE 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 } |