diff options
-rw-r--r-- | libre/angband-libre/PKGBUILD | 56 | ||||
-rw-r--r-- | libre/angband-libre/sound.patch | 154 | ||||
-rw-r--r-- | pcr/nppangband-libre/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/nppangband-libre/sound.patch | 241 |
4 files changed, 484 insertions, 0 deletions
diff --git a/libre/angband-libre/PKGBUILD b/libre/angband-libre/PKGBUILD new file mode 100644 index 000000000..73d3c1aea --- /dev/null +++ b/libre/angband-libre/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Israfel <israfel@lavabit.com> +# Original Maintainer: schuay <jakob.gruber@gmail.com> +# Original Maintainer: Mike Sampson <mike at sambodata dot com> +# Contributor: Adrian Stratulat <adrian.stratulat at inboxcom> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: KillaB <xGenoBlast@gmail.com> +# Contributor: Callan Barrett <wizzomafizzo@gmail.com> +# Contributor: Christian Schmidt <xmucknertx@googlemail.com> +# Contributor: Sebastian Sareyko <public@nooms.de> + +_pkgname=angband-libre +pkgname=angband-libre +pkgver=3.4.1 +pkgrel=1 +pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien, without nonfree sound effects" +arch=('i686' 'x86_64') +url="http://rephial.org/" +license=('GPL2' 'custom') +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses' 'libglade') +source=("http://rephial.org/downloads/${pkgver:0:3}/angband-v${pkgver}.tar.gz" "sound.patch") + +build() { + + cd "${srcdir}/angband-v${pkgver}" + + patch -Np1 -i ../sound.patch + + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/usr/share/angband \ + --with-configpath=/usr/share/angband \ + --with-libpath=/usr/share/angband \ + --enable-gtk \ + --enable-sdl \ + --enable-sdl-mixer + + make + +} + +package() { + + cd "${srcdir}/angband-v${pkgver}" + + make DESTDIR="${pkgdir}" install + + rm -f "${pkgdir}/usr/share/angband/*/delete.me" + install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/angband/COPYING" + +} +sha512sums=('76099c8fa999e88ea1324bb70b4dee5df1faccd1fa256cc0c460ce2c5ddae9634fdef876bd0d826e99e6dcc54a9f9cf619d82552dc658d0115b97e0e644c19d3' + 'fb3795f7ef5a266e36ef51c9275e65613eeba04fc4283646f21e77ca571b1562c1ad9a11782fe8f1052cefc48b0f3fa1f162bfff88fe8cf62c39e142878d3251') diff --git a/libre/angband-libre/sound.patch b/libre/angband-libre/sound.patch new file mode 100644 index 000000000..e70373b72 --- /dev/null +++ b/libre/angband-libre/sound.patch @@ -0,0 +1,154 @@ +# Removes nonfree sounds +# Made by Israfel <israfel@lavabit.com> +diff -Nur angband-v3.4.1/copying.txt angband-v3.4.1-libre/copying.txt +--- angband-v3.4.1/copying.txt 2012-10-19 15:47:23.000000000 -0400 ++++ angband-v3.4.1-libre/copying.txt 2013-06-29 20:07:03.250510548 -0400 +@@ -27,8 +27,6 @@ + of this file. Currently some of the tiles in the 64x64.png tilesheet were + resized from tiles made by David Gervais for the 32x32 set. + +- * the sounds are freeware, whatever that means. +- + * The font files are all by Leon Marrick and/or Sheldon Simms III and/or Nick + McConnell, all of whom have agreed to their Angband work being released + under the GPL. +Binary files angband-v3.4.1/lib/xtra/sound/breath.wav and angband-v3.4.1-libre/lib/xtra/sound/breath.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/clunk.wav and angband-v3.4.1-libre/lib/xtra/sound/clunk.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/death.wav and angband-v3.4.1-libre/lib/xtra/sound/death.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/destroy.wav and angband-v3.4.1-libre/lib/xtra/sound/destroy.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/drop.wav and angband-v3.4.1-libre/lib/xtra/sound/drop.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/eat.wav and angband-v3.4.1-libre/lib/xtra/sound/eat.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/flee.wav and angband-v3.4.1-libre/lib/xtra/sound/flee.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/hallu.wav and angband-v3.4.1-libre/lib/xtra/sound/hallu.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/hit1.wav and angband-v3.4.1-libre/lib/xtra/sound/hit1.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/hit.wav and angband-v3.4.1-libre/lib/xtra/sound/hit.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/kill1.wav and angband-v3.4.1-libre/lib/xtra/sound/kill1.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/kill.wav and angband-v3.4.1-libre/lib/xtra/sound/kill.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/level.wav and angband-v3.4.1-libre/lib/xtra/sound/level.wav differ +diff -Nur angband-v3.4.1/lib/xtra/sound/Makefile angband-v3.4.1-libre/lib/xtra/sound/Makefile +--- angband-v3.4.1/lib/xtra/sound/Makefile 2012-10-19 15:47:23.000000000 -0400 ++++ angband-v3.4.1-libre/lib/xtra/sound/Makefile 2013-06-29 20:05:33.734131933 -0400 +@@ -1,9 +1,6 @@ + MKPATH=../../../mk/ + include $(MKPATH)buildsys.mk + +-DATA = 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 ++DATA = sound.cfg + PACKAGE = xtra/sound + +Binary files angband-v3.4.1/lib/xtra/sound/miss1.wav and angband-v3.4.1-libre/lib/xtra/sound/miss1.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/miss.wav and angband-v3.4.1-libre/lib/xtra/sound/miss.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/money.wav and angband-v3.4.1-libre/lib/xtra/sound/money.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/opendoor.wav and angband-v3.4.1-libre/lib/xtra/sound/opendoor.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/shutdoor.wav and angband-v3.4.1-libre/lib/xtra/sound/shutdoor.wav differ +diff -Nur angband-v3.4.1/lib/xtra/sound/sound.cfg angband-v3.4.1-libre/lib/xtra/sound/sound.cfg +--- angband-v3.4.1/lib/xtra/sound/sound.cfg 2012-10-19 15:47:23.000000000 -0400 ++++ angband-v3.4.1-libre/lib/xtra/sound/sound.cfg 2013-06-29 20:06:41.344730009 -0400 +@@ -41,19 +41,19 @@ + # + + # The shopkeep bought a worthless item. +-store1 = money.wav ++store1 = + + # The shopkeep paid too much for an item. +-store2 = money.wav ++store2 = + + # The shopkeep got away with a good bargain. +-store3 = money.wav ++store3 = + + # The shopkeep got away with a great bargain. +-store4 = money.wav ++store4 = + + # You make a normal transaction (buying or selling). +-store5 = money.wav ++store5 = + + # You enter a store. + store_enter = +@@ -69,7 +69,7 @@ + # + + # You succeed in a melee attack against a monster. +-hit = hit.wav drop.wav hit1.wav ++hit = + + # It was a good hit! + hit_good = +@@ -87,7 +87,7 @@ + hit_hi_superb = + + # You miss a melee attack against a monster. +-miss = miss.wav miss1.wav ++miss = + + # You fire a missile. + shoot = +@@ -99,7 +99,7 @@ + hitpoint_warn = + + # You die. +-death = death.wav ++death = + + # + # Player sounds - status changes +@@ -200,10 +200,10 @@ + money3 = + + # You (or a monster) drop something on the ground. +-drop = clunk.wav ++drop = + + # You gain (or regain) a level. +-level = level.wav ++level = + + # You successfully study a spell or prayer. + study = +@@ -227,19 +227,19 @@ + hitwall = + + # You eat something. +-eat = eat.wav ++eat = + + # You successfully dig through something. +-dig = thump.wav ++dig = + + # You open a door. +-opendoor = opendoor.wav ++opendoor = + + # You shut a door. +-shutdoor = shutdoor.wav ++shutdoor = + + # You teleport from a level (including via recall). +-tplevel = teleport.wav ++tplevel = + + # Default "bell" sound for system messages. + bell = +@@ -294,10 +294,10 @@ + # + + # A monster flees in terror. +-flee = flee.wav ++flee = + + # A monster is killed. +-kill = kill.wav destroy.wav kill1.wav ++kill = + + # A unique is killed. + kill_unique = +Binary files angband-v3.4.1/lib/xtra/sound/thump.wav and angband-v3.4.1-libre/lib/xtra/sound/thump.wav differ +Binary files angband-v3.4.1/lib/xtra/sound/vomit.wav and angband-v3.4.1-libre/lib/xtra/sound/vomit.wav differ diff --git a/pcr/nppangband-libre/PKGBUILD b/pcr/nppangband-libre/PKGBUILD new file mode 100644 index 000000000..8a7ea69e9 --- /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.0 +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=$pkgver +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 |