Battleship - a small game for two players (human-computer). Dependencies: gtk+2.0, libcanberra-gtk.
Homepage: https://launchpad.net/battleship
Source code: https://launchpad.net/~finteis/+archive ... /+packages
Battleship
Battleship
Last edited by Andyun on 7. Sep 2012, 01:05, edited 1 time in total.
Re: Battleship
I'll package it if you test my package
Re: Battleship
OK. My SLKBUILD (don't works sounds):
Code: Select all
pkgname=battleship
pkgver=0.47
pkgrel=111
source=("https://launchpad.net/~finteis/+archive/battleship/+files/battleship_0.47-1-0ubuntu1%7Equantal.tar.gz")
docs=("authors" "copying" "changelog" "install" "news" "readme")
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"battleship (Battleship Game)"
"You play versus a computer controlled opponent."
"Instead of firing blindly you get hints"
"about the enemy's ships' positions."
""
"Homepage: https://launchpad.net/battleship"
)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man
make || return 1
make DESTDIR=$startdir/pkg install
}
Last edited by Andyun on 19. Oct 2012, 19:57, edited 1 time in total.
Re: Battleship
Right so the problem is no sound effects, otherwise fine? I just built it myself (but not using your SLKBUILD, just by hand), and it worked beautifully, but as you say, no sound.
EDIT
By the way, I lost every time.
EDIT
By the way, I lost every time.
Re: Battleship
However, sound does work if you turn it on in preferences. Can you confirm whether this works with your package?
Very good sound effects btw!
Very good sound effects btw!
Re: Battleship
In Salix 14.0 alpha1 and Live CD 13.37 the sounds of Battleship does not work.
Re: Battleship
I've made a package for it but sound still doesn't work. However, I suspect this is just because of unmet dependencies - such as libvorbis, which was uploaded to the repo recently. I'll try again in a week or two.
Re: Battleship
Everything that should be needed must have been packaged by now, but I still can't get it to work. Perhaps a patch is needed, but that's beyond my abilities. Alternatively, maybe an older version (from among those Ubuntu versions) might work.
I'm afraid I give up.
In case anyone is interested in pursuing this, I just found that I needed glibc-solibs to build it, which I don't think I did before. This is a build time dependency, not run time.
I'm afraid I give up.
In case anyone is interested in pursuing this, I just found that I needed glibc-solibs to build it, which I don't think I did before. This is a build time dependency, not run time.