Merge pull request #9974 from alick01/master

Extreme Tux Racer and sfml First Release
This commit is contained in:
Kamil ATLI
2022-01-06 20:03:36 +03:00
committed by GitHub
5 changed files with 168 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/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
WorkDir = "etr-0.8.1"
def setup():
autotools.configure("--prefix=/usr")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>etr</Name>
<Homepage>https://sourceforge.net/projects/extremetuxracer/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>etr</Icon>
<IsA>app:gui</IsA>
<PartOf>game.arcade</PartOf>
<Summary>High speed arctic racing game based on Tux Racer.</Summary>
<Description>Extreme Tux Racer is a racing game which forked off Tux Racer after work on it ceased. It was formerly known as Planet Penguin Racer.</Description>
<Archive sha1sum="de169a7586d21a2b3dc9fe533e6e29af0d561276" type="tarxz">https://downloads.sourceforge.net/extremetuxracer/etr-0.8.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>libgcc</Dependency>
<Dependency>libglvnd-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency>
</BuildDependencies>
<Patches>
</Patches>
</Source>
<Package>
<Name>etr</Name>
<RuntimeDependencies>
<Dependency>mesa-glu</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libglvnd</Dependency>
<Dependency>sfml</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/etr</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
</Files>
<AdditionalFiles>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2022-01-05</Date>
<Version>0.8.1</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>extremetuxracer</Name>
<Summary xml:lang="tr">Buz üzerinde penguen yarışı</Summary>
<Description xml:lang="tr">Extreme Tux Penguin racer, buz üzerinde kayarak ve balık toplayarak zamana karşı yarışma oyunudur.</Description>
</Source>
</PISI>
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools, shelltools
from pisi.actionsapi import pisitools, cmaketools
from pisi.actionsapi import get
WorkDir = "SFML-2.5.1"
def setup():
shelltools.system("mkdir build")
shelltools.system("cd build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DSFML_USE_SYSTEM_DEPS=ON \
-DSFML_BUILD_EXAMPLES=1 \
-DSFML_BUILD_DOC=1 \
-DSFML_INSTALL_PKGCONFIG_FILES=1")
def build():
cmaketools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/usr/share/licenses/sfml/LICENSE", "license.md")
+55
View File
@@ -0,0 +1,55 @@
<PISI>
<Source>
<Name>sfml</Name>
<Homepage>http://www.sfml-dev.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>zlib</License>
<PartOf>multimedia.misc</PartOf>
<IsA>library</IsA>
<Summary>A simple, fast, cross-platform, and object-oriented multimedia API</Summary>
<Description>SFML provides a simple interface to the various components of your PC, to ease the development of games and multimedia applications. It is composed of five modules: system, window, graphics, audio and network.</Description>
<BuildDependencies>
<Dependency>freetype-devel</Dependency>
<Dependency>libsndfile-devel</Dependency>
<Dependency>glew-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libXrandr-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>doxygen</Dependency>
</BuildDependencies>
<Archive sha1sum="846389c5c259c4b2ca59c5ce518b99830c5c7183" type="targz">https://github.com/SFML/SFML/archive/2.5.1.tar.gz</Archive>
</Source>
<Package>
<Name>sfml</Name>
<Summary>vnStat is a console-based network traffic monitor for Linux and BSD</Summary>
<RuntimeDependencies>
<Dependency>freetype</Dependency>
<Dependency>libsndfile</Dependency>
<Dependency>glew</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libXrandr</Dependency>
<Dependency>openal</Dependency>
<Dependency>mesa</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="all">/usr/include</Path>
<Path fileType="all">/usr/lib</Path>
<Path fileType="all">/usr/share/SFML</Path>
<Path fileType="all">/usr/share/licenses/sfml</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-01-06</Date>
<Version>2.5.1</Version>
<Comment>First Release</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
</History>
</PISI>