add component.xml to game/puzzle add neverball and neverputt game

This commit is contained in:
groni
2018-05-02 23:33:11 +02:00
parent 1612a3d9f2
commit ba0c350c24
12 changed files with 248 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>game.puzzle</Name>
</PISI>
+53
View File
@@ -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")
@@ -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
@@ -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
#------------------------------------------------------------------------------
@@ -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;
@@ -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;
+66
View File
@@ -0,0 +1,66 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>neverball</Name>
<Homepage>http://icculus.org/neverball/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:gui</IsA>
<Summary>3D roll-the-ball game</Summary>
<Description>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.</Description>
<Archive sha1sum="3faebf15fea9361358a416176b9689f966c456ea" type="targz">http://neverball.org/neverball-1.6.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>libsdl2-devel</Dependency>
<Dependency>sdl2-ttf-devel</Dependency>
<Dependency>libvorbis-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>physfs-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>libpng-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">neverball-1.5.2-fix-locale-dir.patch</Patch> -->
<!-- <Patch level="0">neverball-1.5.4-dso.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>neverball</Name>
<RuntimeDependencies>
<Dependency>libsdl2</Dependency>
<Dependency>sdl2-ttf</Dependency>
<Dependency>libvorbis</Dependency>
<Dependency>mesa</Dependency>
<Dependency>physfs</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>libpng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/neverball</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/neverball.desktop">neverball.desktop</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/neverputt.desktop">neverputt.desktop</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2018-04-25</Date>
<Version>1.6.0</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>neverball</Name>
<Summary xml:lang="tr">3B top yuvarlama oyunu</Summary>
<Description xml:lang="tr">Neverball masayı hareket ettirerek topun hareketlerinin yönetildiği 3B zeka ve beceri oyunudur.</Description>
</Source>
</PISI>
+63 -1
View File
@@ -38558,7 +38558,7 @@ complete albums that you have purchased from Amazon.</Description>
</Packager>
<License>GPLv3</License>
<IsA>app:gui</IsA>
<PartOf>unknown</PartOf>
<PartOf>game.puzzle</PartOf>
<Summary xml:lang="en">Tetzle is a jigsaw puzzle game</Summary>
<Summary xml:lang="tr">Tetzle is a jigsaw puzzle game</Summary>
<Description xml:lang="en">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.</Description>
@@ -38595,6 +38595,68 @@ complete albums that you have purchased from Amazon.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>neverball</Name>
<Homepage>http://icculus.org/neverball/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:gui</IsA>
<PartOf>game.puzzle</PartOf>
<Summary xml:lang="en">3D roll-the-ball game</Summary>
<Summary xml:lang="tr">3B top yuvarlama oyunu</Summary>
<Description xml:lang="en">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.</Description>
<Description xml:lang="tr">Neverball masayı hareket ettirerek topun hareketlerinin yönetildiği 3B zeka ve beceri oyunudur.</Description>
<Archive type="targz" sha1sum="3faebf15fea9361358a416176b9689f966c456ea">http://neverball.org/neverball-1.6.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>libsdl2-devel</Dependency>
<Dependency>sdl2-ttf-devel</Dependency>
<Dependency>libvorbis-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>physfs-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>libpng-devel</Dependency>
</BuildDependencies>
<SourceURI>game/puzzle/neverball/pspec.xml</SourceURI>
</Source>
<Package>
<Name>neverball</Name>
<RuntimeDependencies>
<Dependency>libsdl2</Dependency>
<Dependency>sdl2-ttf</Dependency>
<Dependency>libvorbis</Dependency>
<Dependency>mesa</Dependency>
<Dependency>physfs</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>libpng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/neverball</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/applications/neverball.desktop" permission="0644" owner="root">neverball.desktop</AdditionalFile>
<AdditionalFile target="/usr/share/applications/neverputt.desktop" permission="0644" owner="root">neverputt.desktop</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2018-04-25</Date>
<Version>1.6.0</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>gcompris</Name>
+1 -1
View File
@@ -1 +1 @@
2373ec0eccc6d5a26407e695694703fa6f947469
cfcfd76b3bacfed7c5ae92e8d1ff4e9261923f7b
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
18005ff7cbb9a263e94240c2953797e031d2381c
8887ced25179da4afc3dc32180467b12eea8e4ef