libgme add to repo

This commit is contained in:
idriskalp
2020-01-12 01:52:30 +03:00
parent 722df1de38
commit 6e99b51542
2 changed files with 83 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/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
from pisi.actionsapi import autotools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("mkdir build_")
shelltools.cd("build_")
shelltools.system("cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib")
def build():
shelltools.cd("build_")
cmaketools.make()
def install():
shelltools.cd("build_")
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
shelltools.cd("..")
pisitools.dodoc("changes.txt", "design.txt", "gme.txt", "license*", "readme.txt")
+54
View File
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libgme</Name>
<Homepage>https://bitbucket.org/mpyne/game-music-emu/wiki/Home</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>LGPL</License>
<IsA>library</IsA>
<Summary>Video game music file emulation/playback library</Summary>
<Description>game-music-emu is a collection of audio emulators for assorted video game console hardware. It was originally developed by Blargg and used as the basis for several other software products before being converted into a library.</Description>
<Archive sha1sum="9047b774bd5623adae6f5412d02d70cf72070d8f" type="tarxz">https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.2.tar.xz</Archive>
</Source>
<Package>
<Name>libgme</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libgme-devel</Name>
<Summary>Header files for libgme.</Summary>
<RuntimeDependencies>
<Dependency release="current">libgme</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-12</Date>
<Version>0.6.2</Version>
<Comment>First release.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>