astromenace: version bump to 1.4.2
This commit is contained in:
@@ -1,31 +1,34 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
from pisi.actionsapi import cmaketools
|
|
||||||
from pisi.actionsapi import get
|
|
||||||
from pisi.actionsapi import pisitools
|
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import cmaketools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
datadir = "/usr/share/%s" % get.srcNAME()
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
cmaketools.configure("-DDATADIR=%s" % datadir)
|
shelltools.makedirs("build")
|
||||||
|
shelltools.cd("build")
|
||||||
|
|
||||||
|
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DDATADIR=/usr/share/astromenace", sourceDir="..")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
cmaketools.make()
|
cmaketools.make("-C build")
|
||||||
shelltools.system("./AstroMenace --pack --rawdata=./RAW_VFS_DATA --dir=./")
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
pisitools.dobin("AstroMenace")
|
shelltools.cd("build")
|
||||||
pisitools.insinto(datadir, "gamedata.vfs")
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
|
pisitools.domove("/usr/astromenace", "/usr/bin")
|
||||||
|
pisitools.domove("/usr/gamedata.vfs", "/usr/share/astromenace")
|
||||||
pisitools.dodoc("gpl-3.0.txt", "License.txt", "ReadMe.txt")
|
pisitools.dosym("/usr/bin/astromenace", "/usr/bin/AstroMenace")
|
||||||
|
|
||||||
|
# pisitools.dodoc("README.md", "LICENSE.md")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>astromenace</Name>
|
<Name>astromenace</Name>
|
||||||
@@ -7,8 +9,10 @@
|
|||||||
<Email>groni@pisilinux.org</Email>
|
<Email>groni@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>GPLv3</License>
|
<License>GPLv3</License>
|
||||||
|
<Icon>astromenace</Icon>
|
||||||
<Summary>Hardcore 3D space shooter with spaceship upgrade possibilities</Summary>
|
<Summary>Hardcore 3D space shooter with spaceship upgrade possibilities</Summary>
|
||||||
<Description>AstroMenace stands out for a hardcore gameplay that absorbs you completely as you repel the relentless attacks of diverse adversaries and dodge hails of projectiles.</Description>
|
<Description>AstroMenace stands out for a hardcore gameplay that absorbs you completely as you repel the relentless attacks of diverse adversaries and dodge hails of projectiles.</Description>
|
||||||
|
<Archive sha1sum="0cf310defbf7e2a282d6d53bd904247400102dbc" type="targz">https://github.com/viewizard/astromenace/archive/refs/tags/v1.4.2.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
<Dependency>fontconfig-devel</Dependency>
|
<Dependency>fontconfig-devel</Dependency>
|
||||||
@@ -18,22 +22,23 @@
|
|||||||
<Dependency>libX11-devel</Dependency>
|
<Dependency>libX11-devel</Dependency>
|
||||||
<Dependency>libXext-devel</Dependency>
|
<Dependency>libXext-devel</Dependency>
|
||||||
<Dependency>libogg-devel</Dependency>
|
<Dependency>libogg-devel</Dependency>
|
||||||
<Dependency>libsdl-devel</Dependency>
|
<Dependency>libsdl2-devel</Dependency>
|
||||||
<Dependency>libvorbis-devel</Dependency>
|
<Dependency>libvorbis-devel</Dependency>
|
||||||
<Dependency>libXinerama-devel</Dependency>
|
<Dependency>libXinerama-devel</Dependency>
|
||||||
<Dependency>mesa-devel</Dependency>
|
<Dependency>mesa-devel</Dependency>
|
||||||
<Dependency>mesa-glu-devel</Dependency>
|
<Dependency>mesa-glu-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Archive sha1sum="a4b5c8c76970fbff0609a59d80402848957aa515" type="tarbz2">https://sourceforge.net/projects/openastromenace/files/1.3.2/astromenace-src-1.3.2.tar.bz2</Archive>
|
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">astromenace.patch</Patch>
|
<!-- <Patch></Patch> -->
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
<Package>
|
<Package>
|
||||||
<Name>astromenace </Name>
|
<Name>astromenace</Name>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="data">/usr/share</Path>
|
<Path fileType="data">/usr/share/applications/astromenace.desktop</Path>
|
||||||
|
<Path fileType="data">/usr/share/pixmaps/astromenace_64.png</Path>
|
||||||
|
<Path fileType="data">/usr/share/astromenace</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
<AdditionalFiles>
|
<AdditionalFiles>
|
||||||
@@ -46,17 +51,26 @@
|
|||||||
<Dependency>fontconfig</Dependency>
|
<Dependency>fontconfig</Dependency>
|
||||||
<Dependency>freetype</Dependency>
|
<Dependency>freetype</Dependency>
|
||||||
<Dependency>libX11</Dependency>
|
<Dependency>libX11</Dependency>
|
||||||
<Dependency>libsdl</Dependency>
|
<Dependency>libsdl2</Dependency>
|
||||||
<Dependency>mesa</Dependency>
|
<Dependency>mesa</Dependency>
|
||||||
<Dependency>mesa-glu</Dependency>
|
<Dependency>mesa-glu</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
<Dependency>openal</Dependency>
|
<Dependency>openal</Dependency>
|
||||||
<Dependency>freealut</Dependency>
|
<Dependency>freealut</Dependency>
|
||||||
|
<Dependency>libglvnd</Dependency>
|
||||||
<Dependency>libvorbis</Dependency>
|
<Dependency>libvorbis</Dependency>
|
||||||
<Dependency>libXinerama</Dependency>
|
<Dependency>libXinerama</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2023-02-01</Date>
|
||||||
|
<Version>1.4.2</Version>
|
||||||
|
<Comment>Version bump</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2018-09-14</Date>
|
<Date>2018-09-14</Date>
|
||||||
<Version>1.3.2</Version>
|
<Version>1.3.2</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user