plasma-applet-system-panel, plasma-applet-weather-widget, and as dependency for the next packages sdl_ttf, htmlcxx
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
#!/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 get
|
||||
|
||||
WorkDir = "SDL_ttf-2.0.11"
|
||||
|
||||
def setup():
|
||||
options = "--disable-dependency-tracking \
|
||||
--disable-static \
|
||||
--with-x"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
#options += " --prefix=/emul32 \
|
||||
options += " --includedir=/usr/include \
|
||||
--libdir=/usr/lib32"
|
||||
|
||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -m32" % get.CXXFLAGS())
|
||||
shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
|
||||
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
pisitools.dosed("Makefile", "-lz -lbz2", "")
|
||||
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("CHANGES", "COPYING", "README")
|
||||
@@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sdl-ttf</Name>
|
||||
<Homepage>http://www.libsdl.org/projects/SDL_ttf/</Homepage>
|
||||
<Packager>
|
||||
<Name>Mathias Freire</Name>
|
||||
<Email>mathiasfreire45@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>TrueType font support for SDL2</Summary>
|
||||
<Description>SDL_ttf is a TrueType font rendering library that is used with the SDL library, and almost as portable.</Description>
|
||||
<Archive sha1sum="0ccf7c70e26b7801d83f4847766e09f09db15cc6" type="targz">http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>libtool</Dependency>
|
||||
<Dependency>libICE-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-ttf</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>harfbuzz</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-ttf-devel</Name>
|
||||
<Summary>Development files for sdl-ttf</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency release="current">sdl-ttf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-ttf-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for sdl-ttf</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
|
||||
<Dependency>libpng-32bit</Dependency>
|
||||
<Dependency>libsdl-32bit</Dependency>
|
||||
<Dependency>harfbuzz-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
<Dependency release="current">sdl-ttf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2016-06-09</Date>
|
||||
<Version>2.0.14</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-04-11</Date>
|
||||
<Version>2.0.14</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Mathias Freire</Name>
|
||||
<Email>mathiasfreire45@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sdl2-ttf</Name>
|
||||
<Summary xml:lang="tr">SDL2 TTF kitaplığı</Summary>
|
||||
<Description xml:lang="tr">SDL2_ttf, SDL2 ile birlikte kullanılan ve neredeyse onun kadar taşınabilir olan bir TrueType yazı tipi işleme kitaplığıdır.</Description>
|
||||
<Description xml:lang="fr">SDL2_ttf est une librairie de rendu de fontes TrueType utilisée avec la librairie SDL2 et quasiment aussi portable qu'elle.</Description>
|
||||
<Description xml:lang="es">SDL2_ttf es una librería para render de fuentes TrueType utilizada en conjunto con la librerñia SDL2, y está casi igual de portable.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sdl2-ttf-devel</Name>
|
||||
<Summary xml:lang="tr">sdl2-ttf için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl2-ttf-32bit</Name>
|
||||
<Summary xml:lang="tr">sdl2-ttf için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user