libsdl2: add main
This commit is contained in:
Executable
+55
@@ -0,0 +1,55 @@
|
|||||||
|
#!/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 libtools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
WorkDir = "SDL2-%s" % get.srcVERSION()
|
||||||
|
docdir = "%s/%s" % (get.docDIR(), get.srcNAME())
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.export("CFLAGS", "%s -fPIC -O3" % get.CFLAGS())
|
||||||
|
shelltools.export("CXXFLAGS", "%s -fPIC -O3" % get.CXXFLAGS())
|
||||||
|
|
||||||
|
# for libtool version matching
|
||||||
|
#shelltools.copy("/usr/share/aclocal/ltversion.m4", "acinclude/")
|
||||||
|
shelltools.system("./autogen.sh")
|
||||||
|
|
||||||
|
#libtools.libtoolize("--force --copy")
|
||||||
|
|
||||||
|
options = "--enable-sdl-dlopen \
|
||||||
|
--disable-arts \
|
||||||
|
--disable-esd \
|
||||||
|
--disable-nas \
|
||||||
|
--enable-pulseaudio-shared \
|
||||||
|
--enable-alsa \
|
||||||
|
--disable-rpath"
|
||||||
|
|
||||||
|
if get.buildTYPE() == "emul32":
|
||||||
|
options += " --libdir=/usr/lib32 \
|
||||||
|
--bindir=/emul32/bin \
|
||||||
|
--mandir=/emul32/man \
|
||||||
|
"
|
||||||
|
|
||||||
|
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||||
|
shelltools.export("CFLAGS", "%s -fPIC -O3 -m32" % get.CFLAGS())
|
||||||
|
shelltools.export("CXXFLAGS", "%s -fPIC -O3 -m32" % get.CXXFLAGS())
|
||||||
|
shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
|
||||||
|
|
||||||
|
autotools.configure(options)
|
||||||
|
|
||||||
|
def build():
|
||||||
|
autotools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
libtools.preplib()
|
||||||
|
|
||||||
|
|
||||||
|
pisitools.dodoc("BUGS.txt", "CREDITS.txt", "COPYING.txt", "README.txt", "README-SDL.txt", "TODO.txt", "WhatsNew.txt")
|
||||||
Executable
+130
@@ -0,0 +1,130 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libsdl2</Name>
|
||||||
|
<Homepage>http://www.libsdl.org/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Mathias Freire</Name>
|
||||||
|
<Email>mathiasfreire45@gmail.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>LGPLv2.1</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Simple Direct Media Layer 2.0 series</Summary>
|
||||||
|
<Description>libsdl is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.</Description>
|
||||||
|
<Archive sha1sum="470a23dfc4b6220c687925ebbe5fe96287f8fb08" type="targz">http://www.libsdl.org/release/SDL2-2.0.4.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>mesa-devel</Dependency>
|
||||||
|
<Dependency>libXv-devel</Dependency>
|
||||||
|
<Dependency>libXt-devel</Dependency>
|
||||||
|
<Dependency>libX11-devel</Dependency>
|
||||||
|
<Dependency>libXext-devel</Dependency>
|
||||||
|
<Dependency>DirectFB-devel</Dependency>
|
||||||
|
<Dependency>alsa-lib-devel</Dependency>
|
||||||
|
<Dependency>audiofile-devel</Dependency>
|
||||||
|
<Dependency>libXrandr-devel</Dependency>
|
||||||
|
<Dependency>libXrender-devel</Dependency>
|
||||||
|
<Dependency>libXinerama-devel</Dependency>
|
||||||
|
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsdl2-docs</Name>
|
||||||
|
<Summary>libsdl2 reference documents</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libsdl2</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsdl2</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>mesa</Dependency>
|
||||||
|
<Dependency>libXt</Dependency>
|
||||||
|
<Dependency>libX11</Dependency>
|
||||||
|
<Dependency>libXext</Dependency>
|
||||||
|
<Dependency>DirectFB</Dependency>
|
||||||
|
<Dependency>alsa-lib</Dependency>
|
||||||
|
<Dependency>audiofile</Dependency>
|
||||||
|
<Dependency>libXrandr</Dependency>
|
||||||
|
<Dependency>libXrender</Dependency>
|
||||||
|
<Dependency>libXinerama</Dependency>
|
||||||
|
<Dependency>libXScrnSaver</Dependency>
|
||||||
|
<Dependency>pulseaudio-libs</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsdl2-devel</Name>
|
||||||
|
<Summary>Development files for libsdl2</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libsdl2</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/share/aclocal</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
|
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libSDL2main.a</Path>
|
||||||
|
<Path fileType="library">/usr/lib32/libSDL2main.a</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsdl2-32bit</Name>
|
||||||
|
<PartOf>emul32</PartOf>
|
||||||
|
<Summary>32-bit shared libraries for libsdl2</Summary>
|
||||||
|
<BuildType>emul32</BuildType>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>mesa-32bit</Dependency>
|
||||||
|
<Dependency>libXt-32bit</Dependency>
|
||||||
|
<Dependency>libX11-32bit</Dependency>
|
||||||
|
<Dependency>libXext-32bit</Dependency>
|
||||||
|
<Dependency>alsa-lib-32bit</Dependency>
|
||||||
|
<Dependency>audiofile-32bit</Dependency>
|
||||||
|
<Dependency>libXrandr-32bit</Dependency>
|
||||||
|
<Dependency>libXrender-32bit</Dependency>
|
||||||
|
<Dependency>libXinerama-32bit</Dependency>
|
||||||
|
<Dependency>libXScrnSaver-32bit</Dependency>
|
||||||
|
<Dependency>pulseaudio-libs-32bit</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>mesa-32bit</Dependency>
|
||||||
|
<Dependency>libXt-32bit</Dependency>
|
||||||
|
<Dependency>libX11-32bit</Dependency>
|
||||||
|
<Dependency>libXext-32bit</Dependency>
|
||||||
|
<Dependency>alsa-lib-32bit</Dependency>
|
||||||
|
<Dependency>audiofile-32bit</Dependency>
|
||||||
|
<Dependency>libXrandr-32bit</Dependency>
|
||||||
|
<Dependency>libXrender-32bit</Dependency>
|
||||||
|
<Dependency>libXinerama-32bit</Dependency>
|
||||||
|
<Dependency>libXScrnSaver-32bit</Dependency>
|
||||||
|
<Dependency>libXScrnSaver-32bit</Dependency>
|
||||||
|
<Dependency>pulseaudio-libs-32bit</Dependency>
|
||||||
|
<Dependency>glibc-32bit</Dependency>
|
||||||
|
<Dependency release="current">libsdl2</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib32</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2016-04-11</Date>
|
||||||
|
<Version>2.0.4</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Mathias Freire</Name>
|
||||||
|
<Email>mathiasfreire45@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Executable
+25
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libsdl2</Name>
|
||||||
|
<Summary xml:lang="tr">Basit bir direk ortam erişim katmanı 2.0 serisi</Summary>
|
||||||
|
<Summary xml:lang="fr">Simple Direct Media Layer (Couche Média Simple et Directe).</Summary>
|
||||||
|
<Summary xml:lang="de">Einfachee direkte Medien-Schicht</Summary>
|
||||||
|
<Description xml:lang="tr">libsdl; ses, klavye, fare, oyun çubuğu, OpenGL ile 3B donanımsal hızlandırma, 2B görüntü belleğine direkt erişim sağlayan birden çok platform destekleyen bir çokluortam kitaplığıdır.</Description>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsdl2-docs</Name>
|
||||||
|
<Summary xml:lang="tr">libsdl2 başvuru belgeleri</Summary>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsdl2-devel</Name>
|
||||||
|
<Summary xml:lang="tr">libsdl2 için geliştirme dosyaları</Summary>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsdl2-32bit</Name>
|
||||||
|
<Summary xml:lang="tr">libsdl2 için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||||
|
</Package>
|
||||||
|
</PISI>
|
||||||
+69611
-69477
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
77b7251f44a60cc3b3751138d943fc00f1972357
|
6513d28c1229775dc5e6add178e0c25b96e0d78b
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
fd2aba29584bd4c07ff066f7c7f979b4f6d7166d
|
52923847fa17ad43164c4e44febcea98bd09bd65
|
||||||
Reference in New Issue
Block a user