jumpnbump.paketlendi

This commit is contained in:
milisbir 2017-10-21 23:04:12 +03:00
parent cbdf8879fb
commit 650eaaea48
5 changed files with 85 additions and 5 deletions

View File

@ -0,0 +1,14 @@
--- jumpnbump-menu.desktop.orig 2017-05-21 20:14:40.172306054 +0200
+++ jumpnbump-menu.desktop 2017-05-21 20:15:00.565445873 +0200
@@ -1,10 +1,10 @@
[Desktop Entry]
-Name=Jump 'n Bump Menu
+Name=Jump 'n Bump
-Comment=Level selection and config menu for the Jump 'n Bump game
+Comment=Jump on your opponents to make them explode
GenericName=Launcher for Jump 'n Bump
Exec=jumpnbump-menu
Icon=jumpnbump
Terminal=false
Type=Application
Categories=Game;ArcadeGame;

View File

@ -0,0 +1,31 @@
--- jumpnbump_menu.py.pre.orig 2017-05-21 20:06:53.393232483 +0200
+++ jumpnbump_menu.py.pre 2017-05-21 20:10:36.387911904 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# Author: Martin Willemoes Hansen
# License: Gnu GPL
@@ -147,11 +147,8 @@
def get_level():
level = []
- if (mirror.get_active()):
- level.append('-mirror')
- else:
- level.append('-dat')
- level.append(choosen_level)
+ level.append('-dat')
+ level.append(choosen_level)
return level
@@ -224,6 +221,8 @@
noflies = gui.get_widget('noflies')
withmusic = gui.get_widget('withmusic')
image = gui.get_widget('image')
+ mainwindow = gui.get_widget('main')
+ mainwindow.set_icon_from_file('/usr/share/icons/jumpnbump.png')
gui.signal_autoconnect({'standalone_mode': standalone_mode,
'client_mode': client_mode,

View File

@ -0,0 +1,22 @@
# Description: Çok oyunculu tavşan oyunu
# URL: https://github.com/MCMic/jumpnbump
# Packager: milisarge
# Depends on: sdl2 sdl2-mixer sdl2_net python-gtk
name=jumpnbump
version=1.60
release=1
source=(https://gitlab.com/LibreGames/jumpnbump/uploads/9f3a356c52f433e3af10f1ef800fce5d/jumpnbump-$version.tar.xz
menu.patch
desktop.patch)
build() {
cd $SRC/${name}-${version}/menu
patch -p0 < $SRC/menu.patch || return 1
cd "${SRC}/${name}-${version}/"
make -j1 PREFIX=/usr
make PREFIX="${PKG}/usr/" install
cd ${PKG}/usr/share/applications/
rm "jumpnbump.desktop"
patch -p0 < ${SRC}/desktop.patch || return 1
}

View File

@ -1,6 +1,6 @@
# Description: Gzip ve PKZIP'de bulunan deflate sıkıştırma yöntemini uygulayan sıkıştırma kitaplığı
# URL: https://www.zlib.net/
# Packager: Cihan Alkan
# Packager: milisarge
# Depends on:
name=minizip
@ -21,10 +21,6 @@ build() {
./configure --prefix=/usr --enable-static=no
make
cd ${SRC}/zlib-$version
make install DESTDIR=${PKG}
install -D -m644 LICENSE ${PKG}/usr/share/licenses/zlib/LICENSE
cd ${SRC}/zlib-$version/contrib/minizip
make install DESTDIR=${PKG}
install -D -m644 ${SRC}/zlib-$version/LICENSE ${PKG}/usr/share/licenses/minizip/LICENSE

View File

@ -0,0 +1,17 @@
# Description: SDL-2 için çapraz platform bir ağ kitaplığı.
# URL: http://www.libsdl.org/projects/SDL_net
# Packager: milisarge
# Depends on: sdl2
name=sdl2_net
version=2.0.1
release=1
source=(https://www.libsdl.org/projects/SDL_net/release/SDL2_net-$version.tar.gz)
build() {
cd SDL2_net-$version
./configure --disable-static --prefix=/usr
make
make DESTDIR=$PKG install
}