astromenace: version bump to 1.4.2
This commit is contained in:
@@ -1,31 +1,34 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# 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
|
||||
|
||||
|
||||
datadir = "/usr/share/%s" % get.srcNAME()
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
|
||||
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():
|
||||
cmaketools.make()
|
||||
shelltools.system("./AstroMenace --pack --rawdata=./RAW_VFS_DATA --dir=./")
|
||||
cmaketools.make("-C build")
|
||||
|
||||
def install():
|
||||
pisitools.dobin("AstroMenace")
|
||||
pisitools.insinto(datadir, "gamedata.vfs")
|
||||
|
||||
|
||||
|
||||
pisitools.dodoc("gpl-3.0.txt", "License.txt", "ReadMe.txt")
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.domove("/usr/astromenace", "/usr/bin")
|
||||
pisitools.domove("/usr/gamedata.vfs", "/usr/share/astromenace")
|
||||
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>
|
||||
<Source>
|
||||
<Name>astromenace</Name>
|
||||
@@ -7,8 +9,10 @@
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<Icon>astromenace</Icon>
|
||||
<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>
|
||||
<Archive sha1sum="0cf310defbf7e2a282d6d53bd904247400102dbc" type="targz">https://github.com/viewizard/astromenace/archive/refs/tags/v1.4.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
@@ -18,22 +22,23 @@
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>libsdl2-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libXinerama-devel</Dependency>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>mesa-glu-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="a4b5c8c76970fbff0609a59d80402848957aa515" type="tarbz2">https://sourceforge.net/projects/openastromenace/files/1.3.2/astromenace-src-1.3.2.tar.bz2</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">astromenace.patch</Patch>
|
||||
<!-- <Patch></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>astromenace </Name>
|
||||
<Name>astromenace</Name>
|
||||
<Files>
|
||||
<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>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
@@ -46,17 +51,26 @@
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>libsdl2</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>mesa-glu</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>openal</Dependency>
|
||||
<Dependency>freealut</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>libXinerama</Dependency>
|
||||
</RuntimeDependencies>
|
||||
</Package>
|
||||
|
||||
<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">
|
||||
<Date>2018-09-14</Date>
|
||||
<Version>1.3.2</Version>
|
||||
|
||||
Reference in New Issue
Block a user