diff --git a/game/puzzle/component.xml b/game/puzzle/component.xml new file mode 100644 index 0000000000..a4d4586491 --- /dev/null +++ b/game/puzzle/component.xml @@ -0,0 +1,3 @@ + + game.puzzle + diff --git a/game/puzzle/neverball/actions.py b/game/puzzle/neverball/actions.py new file mode 100644 index 0000000000..23691dad93 --- /dev/null +++ b/game/puzzle/neverball/actions.py @@ -0,0 +1,53 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +import os + +def fixPerms(datadir): + # Permissions, permissions, permissions + for root, dirs, files in os.walk(datadir): + for name in dirs: + shelltools.chmod(os.path.join(root, name), 0755) + for name in files: + shelltools.chmod(os.path.join(root, name), 0644) + + +def setup(): + pisitools.dosed("Makefile", "-O2", get.CFLAGS()) + pisitools.dosed("Makefile", "^MAPC_TARG := mapc", "MAPC_TARG := neverball-mapc") + # causes sandbox violations + pisitools.dosed("po/Makefile", "LOCALEDIR", "LLOCALEDIR") + + shelltools.chmod("dist/*.png", 0644) + +def build(): + shelltools.export("LINGUAS", "") + autotools.make("ENABLE_NLS=1 \ + LOCALEDIR=/usr/share/locale \ + DATADIR=/usr/share/neverball") + +def install(): + for i in ["data", "locale"]: + fixPerms(i) + + shelltools.copy("dist/mapc.1", "dist/neverball-mapc.6") + + for i in ["neverball", "neverball-mapc", "neverputt"]: + pisitools.dobin(i) + pisitools.doman("dist/%s.6" % i) + if not "mapc" in i: + pisitools.insinto("/usr/share/pixmaps", "dist/%s_512.png" % i, "%s.png" % i) + + pisitools.insinto("/usr/share", "data", "neverball") + pisitools.insinto("/usr/share/", "locale") + + pisitools.dodoc("LICENSE.md", "README.md") + diff --git a/game/puzzle/neverball/files/neverball-1.5.2-fix-locale-dir.patch b/game/puzzle/neverball/files/neverball-1.5.2-fix-locale-dir.patch new file mode 100644 index 0000000000..0a3a78cbc1 --- /dev/null +++ b/game/puzzle/neverball/files/neverball-1.5.2-fix-locale-dir.patch @@ -0,0 +1,13 @@ +diff -p -up neverball-1.5.2/Makefile~ neverball-1.5.2/Makefile +--- neverball-1.5.2/Makefile~ 2009-08-16 20:10:21.000000000 +0200 ++++ neverball-1.5.2/Makefile 2009-08-28 09:10:33.000000000 +0200 +@@ -75,7 +75,7 @@ ALL_CPPFLAGS := $(SDL_CPPFLAGS) $(PNG_CP + ALL_CPPFLAGS += \ + -DCONFIG_USER=\"$(USERDIR)\" \ + -DCONFIG_DATA=\"$(DATADIR)\" \ +- -DCONFIG_LOCALE=\"$(LOCALEDIR)\" ++ -DCONFIG_LOCALE=\"/usr/share/locale\" + + ifeq ($(ENABLE_NLS),0) + ALL_CPPFLAGS += -DENABLE_NLS=0 + diff --git a/game/puzzle/neverball/files/neverball-1.5.4-dso.patch b/game/puzzle/neverball/files/neverball-1.5.4-dso.patch new file mode 100644 index 0000000000..a9cd52708a --- /dev/null +++ b/game/puzzle/neverball/files/neverball-1.5.4-dso.patch @@ -0,0 +1,20 @@ +--- Makefile.orig 2010-04-19 10:04:10.000000000 -0700 ++++ Makefile 2010-04-19 10:38:02.000000000 -0700 +@@ -131,14 +131,14 @@ + OGL_LIBS := -framework OpenGL + endif + +-BASE_LIBS := -ljpeg $(PNG_LIBS) $(FS_LIBS) ++BASE_LIBS := -ljpeg $(PNG_LIBS) $(FS_LIBS) -lm + + ifdef DARWIN + BASE_LIBS += -L/opt/local/lib + endif + + ALL_LIBS := $(SDL_LIBS) $(BASE_LIBS) $(TILT_LIBS) $(INTL_LIBS) -lSDL_ttf \ +- -lvorbisfile $(OGL_LIBS) ++ -lvorbisfile $(OGL_LIBS) -lX11 + + #------------------------------------------------------------------------------ + + diff --git a/game/puzzle/neverball/files/neverball.desktop b/game/puzzle/neverball/files/neverball.desktop new file mode 100644 index 0000000000..63231d1880 --- /dev/null +++ b/game/puzzle/neverball/files/neverball.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Neverball +Name[tr]=Neverball +Type=Application +GenericName=3D Roll the Ball Game +GenericName[tr]=3B Top Yuvarlama Oyunu +Exec=neverball +Icon=neverball +Categories=Game;ArcadeGame; diff --git a/game/puzzle/neverball/files/neverputt.desktop b/game/puzzle/neverball/files/neverputt.desktop new file mode 100644 index 0000000000..0acc09b120 --- /dev/null +++ b/game/puzzle/neverball/files/neverputt.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Neverputt +Name[tr]=Neverputt +Type=Application +GenericName=3D Minigolf Game +GenericName[tr]=3B Golf Oyunu +Exec=neverputt +Icon=neverputt +Categories=Game;ArcadeGame; diff --git a/game/puzzle/neverball/pspec.xml b/game/puzzle/neverball/pspec.xml new file mode 100644 index 0000000000..8c57eca6c6 --- /dev/null +++ b/game/puzzle/neverball/pspec.xml @@ -0,0 +1,66 @@ + + + + + neverball + http://icculus.org/neverball/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:gui + 3D roll-the-ball game + Neverball is a 3D puzzle and action game in which you roll a ball by tilting the table to get the ball to a destination location. + http://neverball.org/neverball-1.6.0.tar.gz + + libsdl2-devel + sdl2-ttf-devel + libvorbis-devel + mesa-devel + physfs-devel + libjpeg-turbo-devel + libpng-devel + + + + + + + + + neverball + + libsdl2 + sdl2-ttf + libvorbis + mesa + physfs + libjpeg-turbo + libpng + + + /usr/bin + /usr/share/applications + /usr/share/doc + /usr/share/neverball + /usr/share/pixmaps + /usr/share/man + /usr/share/locale + + + neverball.desktop + neverputt.desktop + + + + + + 2018-04-25 + 1.6.0 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/game/puzzle/neverball/translations.xml b/game/puzzle/neverball/translations.xml new file mode 100644 index 0000000000..0ff8b7d318 --- /dev/null +++ b/game/puzzle/neverball/translations.xml @@ -0,0 +1,8 @@ + + + + neverball + 3B top yuvarlama oyunu + Neverball masayı hareket ettirerek topun hareketlerinin yönetildiği 3B zeka ve beceri oyunudur. + + diff --git a/pisi-index.xml b/pisi-index.xml index c4f49427fa..dfdc906991 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -38558,7 +38558,7 @@ complete albums that you have purchased from Amazon. GPLv3 app:gui - unknown + game.puzzle Tetzle is a jigsaw puzzle game Tetzle is a jigsaw puzzle game It uses tetrominoes for the pieces. Any image can be imported and used to create puzzles with a wide range of sizes. Games are saved automatically, and you can select between currently in progress games. @@ -38595,6 +38595,68 @@ complete albums that you have purchased from Amazon. + + + neverball + http://icculus.org/neverball/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:gui + game.puzzle + 3D roll-the-ball game + 3B top yuvarlama oyunu + Neverball is a 3D puzzle and action game in which you roll a ball by tilting the table to get the ball to a destination location. + Neverball masayı hareket ettirerek topun hareketlerinin yönetildiği 3B zeka ve beceri oyunudur. + http://neverball.org/neverball-1.6.0.tar.gz + + libsdl2-devel + sdl2-ttf-devel + libvorbis-devel + mesa-devel + physfs-devel + libjpeg-turbo-devel + libpng-devel + + game/puzzle/neverball/pspec.xml + + + neverball + + libsdl2 + sdl2-ttf + libvorbis + mesa + physfs + libjpeg-turbo + libpng + + + /usr/bin + /usr/share/applications + /usr/share/doc + /usr/share/neverball + /usr/share/pixmaps + /usr/share/man + /usr/share/locale + + + neverball.desktop + neverputt.desktop + + + + + 2018-04-25 + 1.6.0 + First release + Pisi Linux Admins + admins@pisilinux.org + + + gcompris diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index 479b75f134..814a9becae 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -2373ec0eccc6d5a26407e695694703fa6f947469 \ No newline at end of file +cfcfd76b3bacfed7c5ae92e8d1ff4e9261923f7b \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index e1dbc147f0..06ec9a36ce 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index 06c5c5fadb..7705bee416 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -18005ff7cbb9a263e94240c2953797e031d2381c \ No newline at end of file +8887ced25179da4afc3dc32180467b12eea8e4ef \ No newline at end of file