Extreme Tux Racer and sfml First Release
This commit is contained in:
@@ -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")
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user