diff options
author | root <root@rshg054.dnsready.net> | 2013-07-12 01:25:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-12 01:25:16 -0700 |
commit | 2579dc888d0308c442245d932f99cc4c61c39299 (patch) | |
tree | 5918cd8d62c952274814cf483fc59ed0d0751d1b /pcr | |
parent | 2e85ee969c4be5762301fc1447315f132aca1fc8 (diff) |
Fri Jul 12 01:25:08 PDT 2013
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/nppangband-libre/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/nppangband-libre/sound.patch | 241 | ||||
-rw-r--r-- | pcr/zita-convolver/PKGBUILD | 36 |
3 files changed, 274 insertions, 36 deletions
diff --git a/pcr/nppangband-libre/PKGBUILD b/pcr/nppangband-libre/PKGBUILD new file mode 100644 index 000000000..eeb59f6fc --- /dev/null +++ b/pcr/nppangband-libre/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Israfel <israfel@lavabit.com> +# Original PKGBUILD by James Rayner <iphitus@gmail.com> +# The Angband "adjust-sound-dir" patch by Chris Carr <rantingman@gmail.com> served as a reference for what files to edit for sound.patch + +_pkgname=nppangband +pkgname=nppangband-libre +pkgver=6.1.2 +pkgrel=1 +pkgdesc="A variant of Angband that attempts to take popular ideas from other variants, without nonfree sound effects" +url="http://forum.nppangband.org/" +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname +depends=('sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses' 'libx11' 'freetype2') +source=(http://download.nppangband.org/npp-6.1.2-src.zip sound.patch) +license=('GPLv2 custom') +arch=('i686' 'x86_64') + +build() { + cd $srcdir/npp-6.1.2-src/ + patch -Np1 -i ../sound.patch + sh autogen.sh + ./configure --enable-sdl + make +} + +package() { + cd $srcdir/npp-6.1.2-src/ + make DESTDIR="$pkgdir/" install +} + +sha512sums=('e12e05fd8944bb1d7e43b883416009a8e77198ee1ad0ea87480eaafb5f46ecdb218ef0b68876fb77cc2ab490a99f9b9303e02c7db385db6eb8d1d01a48cffdd0' + '820f4e678543b8f4d5092d6654bb3d4006e039fbc119d9ff5f468c01176497c25579ca2b0d6f6d302b11a3fbfaa6cfcdf89029ff586cda31d97e413cb8b91040') diff --git a/pcr/nppangband-libre/sound.patch b/pcr/nppangband-libre/sound.patch new file mode 100644 index 000000000..9de2b0177 --- /dev/null +++ b/pcr/nppangband-libre/sound.patch @@ -0,0 +1,241 @@ +# Made by Israfel <israfel@lavabit.com> for the Parabola GNU/Linux-Libre "nppangband-libre" package +# The Angband "adjust-sound-dir" patch by Chris Carr <rantingman@gmail.com> served as a reference for what files to edit +diff -crB npp-6.1.2-src/COPYING npp-6.1.2-src-libre/COPYING +*** npp-6.1.2-src/COPYING 2013-03-29 14:37:32.000000000 -0400 +--- npp-6.1.2-src-libre/COPYING 2013-06-29 16:22:09.154804370 -0400 +*************** +*** 13,20 **** + * David Gervais' (32x32) graphics, including modifications and additional tiles by Jeff Greene, Thacker and Rob Fiala for NPPAngband may be redistributed, + modified, and used only under the terms of the Creative Commons Attribution 3.0 licence: http://creativecommons.org/licenses/by/3.0/ + +- * the sounds are freeware, whatever that means. +- + * the font files are under the licences noted in lib/xtra/font/copying.txt, + all of which are OSI-compliant. + +--- 13,18 ---- +Only in npp-6.1.2-src/lib/xtra/sound: breath.wav +Only in npp-6.1.2-src/lib/xtra/sound: clunk.wav +Only in npp-6.1.2-src/lib/xtra/sound: death.wav +Only in npp-6.1.2-src/lib/xtra/sound: destroy.wav +Only in npp-6.1.2-src/lib/xtra/sound: drop.wav +Only in npp-6.1.2-src/lib/xtra/sound: eat.wav +Only in npp-6.1.2-src/lib/xtra/sound: flee.wav +Only in npp-6.1.2-src/lib/xtra/sound: hallu.wav +Only in npp-6.1.2-src/lib/xtra/sound: hit1.wav +Only in npp-6.1.2-src/lib/xtra/sound: hit.wav +Only in npp-6.1.2-src/lib/xtra/sound: kill1.wav +Only in npp-6.1.2-src/lib/xtra/sound: kill.wav +Only in npp-6.1.2-src/lib/xtra/sound: level.wav +diff -crB npp-6.1.2-src/lib/xtra/sound/Makefile npp-6.1.2-src-libre/lib/xtra/sound/Makefile +*** npp-6.1.2-src/lib/xtra/sound/Makefile 2013-03-29 14:37:36.000000000 -0400 +--- npp-6.1.2-src-libre/lib/xtra/sound/Makefile 2013-06-29 16:21:53.525414705 -0400 +*************** +*** 1,10 **** + MKPATH=../../../mk/ + include $(MKPATH)buildsys.mk + +! LIBDATA = sound.cfg breath.wav clunk.wav death.wav destroy.wav \ +! drop.wav eat.wav flee.wav hallu.wav hit.wav hit1.wav kill.wav \ +! kill1.wav level.wav miss.wav miss1.wav money.wav opendoor.wav \ +! shutdoor.wav thump.wav vomit.wav \ + + PACKAGE = xtra/sound + +--- 1,7 ---- + MKPATH=../../../mk/ + include $(MKPATH)buildsys.mk + +! LIBDATA = sound.cfg + + PACKAGE = xtra/sound + +Only in npp-6.1.2-src/lib/xtra/sound: miss1.wav +Only in npp-6.1.2-src/lib/xtra/sound: miss.wav +Only in npp-6.1.2-src/lib/xtra/sound: money.wav +Only in npp-6.1.2-src/lib/xtra/sound: opendoor.wav +Only in npp-6.1.2-src/lib/xtra/sound: shutdoor.wav +diff -crB npp-6.1.2-src/lib/xtra/sound/sound.cfg npp-6.1.2-src-libre/lib/xtra/sound/sound.cfg +*** npp-6.1.2-src/lib/xtra/sound/sound.cfg 2013-03-29 14:37:38.000000000 -0400 +--- npp-6.1.2-src-libre/lib/xtra/sound/sound.cfg 2013-06-29 16:20:47.241336459 -0400 +*************** +*** 41,59 **** + # + + # The shopkeep bought a worthless item. +! store1 = money.wav + + # The shopkeep paid too much for an item. +! store2 = money.wav + + # The shopkeep got away with a good bargain. +! store3 = money.wav + + # The shopkeep got away with a great bargain. +! store4 = money.wav + + # You make a normal transaction (buying or selling). +! store5 = money.wav + + # You enter a store. + store_enter = +--- 41,59 ---- + # + + # The shopkeep bought a worthless item. +! store1 = + + # The shopkeep paid too much for an item. +! store2 = + + # The shopkeep got away with a good bargain. +! store3 = + + # The shopkeep got away with a great bargain. +! store4 = + + # You make a normal transaction (buying or selling). +! store5 = + + # You enter a store. + store_enter = +*************** +*** 69,75 **** + # + + # You succeed in a melee attack against a monster. +! hit = hit.wav drop.wav hit1.wav + + # It was a good hit! + hit_good = +--- 69,75 ---- + # + + # You succeed in a melee attack against a monster. +! hit = + + # It was a good hit! + hit_good = +*************** +*** 87,93 **** + hit_hi_superb = + + # You miss a melee attack against a monster. +! miss = miss.wav miss1.wav + + # You fire a missile. + shoot = +--- 87,93 ---- + hit_hi_superb = + + # You miss a melee attack against a monster. +! miss = + + # You fire a missile. + shoot = +*************** +*** 99,105 **** + hitpoint_warn = + + # You die. +! death = death.wav + + # + # Player sounds - status changes +--- 99,105 ---- + hitpoint_warn = + + # You die. +! death = + + # + # Player sounds - status changes +*************** +*** 197,206 **** + money3 = + + # You (or a monster) drop something on the ground. +! drop = clunk.wav + + # You gain (or regain) a level. +! level = level.wav + + # You successfully study a spell or prayer. + study = +--- 197,206 ---- + money3 = + + # You (or a monster) drop something on the ground. +! drop = + + # You gain (or regain) a level. +! level = + + # You successfully study a spell or prayer. + study = +*************** +*** 224,242 **** + hitwall = + + # You eat something. +! eat = eat.wav + + # You successfully dig through something. +! dig = thump.wav + + # You open a door. +! opendoor = opendoor.wav + + # You shut a door. +! shutdoor = shutdoor.wav + + # You teleport from a level (including via recall). +! tplevel = teleport.wav + + # Default "bell" sound for system messages. + bell = +--- 224,242 ---- + hitwall = + + # You eat something. +! eat = + + # You successfully dig through something. +! dig = + + # You open a door. +! opendoor = + + # You shut a door. +! shutdoor = + + # You teleport from a level (including via recall). +! tplevel = + + # Default "bell" sound for system messages. + bell = +*************** +*** 291,300 **** + # + + # A monster flees in terror. +! flee = flee.wav + + # A monster is killed. +! kill = kill.wav destroy.wav kill1.wav + + # A unique is killed. + kill_unique = +--- 291,300 ---- + # + + # A monster flees in terror. +! flee = + + # A monster is killed. +! kill = + + # A unique is killed. + kill_unique = +Only in npp-6.1.2-src/lib/xtra/sound: thump.wav +Only in npp-6.1.2-src/lib/xtra/sound: vomit.wav diff --git a/pcr/zita-convolver/PKGBUILD b/pcr/zita-convolver/PKGBUILD deleted file mode 100644 index 5017f144f..000000000 --- a/pcr/zita-convolver/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer : Guest One <theguestone at gmail dot com> - -pkgname=zita-convolver -pkgver=3.1.0 -pkgrel=1 -pkgdesc="Convolution library for aeolus and jconvolver" -arch=('i686' 'x86_64') -url="http://kokkinizita.linuxaudio.org/linuxaudio" -license=('GPL') -depends=('fftw' 'gcc-libs') -source=("http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-$pkgver.tar.bz2") -md5sums=('7e264d0fb0d8ea277cdb4e33d764c68a') - -build() { - cd "$srcdir/zita-convolver-$pkgver/libs" - - sed -i 's/usr\/local/usr/' Makefile - sed -i 's/ldconfig//' Makefile - - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver/libs" - - make SUFFIX="" PREFIX="$pkgdir/usr" DESTDIR=${PKGDIR} install - - - # Another failed attempt at trying to be clever. A simple call to ldconfig might have worked. - # ln -s lib$pkgname.so.$pkgver \ - # "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}" - - # ln -s lib${pkgname}.so.$pkgver ${pkgdir}/usr/lib/lib${pkgname}.so -} - - |