This commit is contained in:
Rmys
2026-02-18 09:21:41 +03:00
parent 90fd4d68b6
commit da9b34bd73
7 changed files with 532 additions and 159 deletions
+37
View File
@@ -0,0 +1,37 @@
#!/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
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
WorkDir = "SDL3_ttf-%s" % get.srcVERSION()
def setup():
options = "-D CMAKE_INSTALL_PREFIX=/usr"
if get.buildTYPE() == "emul32":
#options += " --prefix=/emul32 \
options += " -DCMAKE_INSTALL_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())
cmaketools.configure(options)
def build():
#pisitools.dosed("Makefile", "-lz -lbz2", "")
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("CHANGES.txt", "LICENSE.txt", "README.*")
+83
View File
@@ -0,0 +1,83 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>sdl3-ttf</Name>
<Homepage>https://github.com/libsdl-org/SDL_ttf</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>Zlib</License>
<IsA>library</IsA>
<Summary>TrueType font support for SDL2</Summary>
<Description>SDL2_ttf is a TrueType font rendering library that is used with the SDL library, and almost as portable.</Description>
<Archive sha1sum="ec84ba35a781253d35f57f73e894868d418f3934" type="targz">https://github.com/libsdl-org/SDL_ttf/releases/download/release-3.2.2/SDL3_ttf-3.2.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libsdl3-devel</Dependency>
<Dependency>freetype-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>sdl3-ttf</Name>
<RuntimeDependencies>
<Dependency>libsdl3</Dependency>
<Dependency>harfbuzz</Dependency>
<Dependency>freetype</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/licenses/SDL3_ttf</Path>
</Files>
</Package>
<Package>
<Name>sdl3-ttf-devel</Name>
<Summary>Development files for sdl3-ttf</Summary>
<RuntimeDependencies>
<Dependency>libsdl3-devel</Dependency>
<Dependency release="current">sdl3-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>sdl3-ttf-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for sdl3-ttf</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libX11-32bit</Dependency>
<Dependency>libsdl3-32bit</Dependency>
<Dependency>freetype-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>libpng-32bit</Dependency>
<Dependency>libsdl3-32bit</Dependency>
<Dependency>harfbuzz-32bit</Dependency>
<Dependency>freetype-32bit</Dependency>
<Dependency release="current">sdl3-ttf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32/</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2026-02-18</Date>
<Version>3.2.2</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>sdl3-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>sdl3-ttf-devel</Name>
<Summary xml:lang="tr">sdl3-ttf için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>sdl3-ttf-32bit</Name>
<Summary xml:lang="tr">sdl3-ttf için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+390 -157
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
2bbba6bfb7c661c6e9dc1f227673eb6986653a96
1daa249ca3435deea154141064178725a3d50716
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
62de64884ba0dd5100bae14c447a79b0b49b2432
0517a7da1e321dfa7424eac1d2cac5b41d545c37