diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-07-11 13:02:21 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-07-11 13:02:21 -0300 |
commit | 1bfa59cbffbcbeacb585efb582e5f4803117bc56 (patch) | |
tree | 53d64087ae2497b6a4de616570a7aa3364bad424 /libre/angband-libre | |
parent | eed61b19dc5ccf9520c8ee8155977e173043068d (diff) | |
download | abslibre-1bfa59cbffbcbeacb585efb582e5f4803117bc56.tar.gz abslibre-1bfa59cbffbcbeacb585efb582e5f4803117bc56.tar.bz2 abslibre-1bfa59cbffbcbeacb585efb582e5f4803117bc56.zip |
angband-libre: add new package to libre repo
Diffstat (limited to 'libre/angband-libre')
-rw-r--r-- | libre/angband-libre/PKGBUILD | 56 | ||||
-rw-r--r-- | libre/angband-libre/sound.patch | 154 |
2 files changed, 210 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 |