[arch-commits] Commit in lib32-sdl_ttf/repos/multilib-x86_64 (6 files)
Allan McRae
allan at gemini.archlinux.org
Thu Jun 2 05:57:50 UTC 2022
Date: Thursday, June 2, 2022 @ 05:57:49
Author: allan
Revision: 1218643
archrelease: copy trunk to multilib-x86_64
Added:
lib32-sdl_ttf/repos/multilib-x86_64/PKGBUILD
(from rev 1218642, lib32-sdl_ttf/trunk/PKGBUILD)
lib32-sdl_ttf/repos/multilib-x86_64/bug1433.patch
(from rev 1218642, lib32-sdl_ttf/trunk/bug1433.patch)
lib32-sdl_ttf/repos/multilib-x86_64/freetype-pkgconfig.patch
(from rev 1218642, lib32-sdl_ttf/trunk/freetype-pkgconfig.patch)
Deleted:
lib32-sdl_ttf/repos/multilib-x86_64/PKGBUILD
lib32-sdl_ttf/repos/multilib-x86_64/bug1433.patch
lib32-sdl_ttf/repos/multilib-x86_64/freetype-pkgconfig.patch
--------------------------+
PKGBUILD | 98 ++++++++++++++++++++++-----------------------
bug1433.patch | 22 +++++-----
freetype-pkgconfig.patch | 92 +++++++++++++++++++++---------------------
3 files changed, 106 insertions(+), 106 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-02 05:57:29 UTC (rev 1218642)
+++ PKGBUILD 2022-06-02 05:57:49 UTC (rev 1218643)
@@ -1,49 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Esa lakaniemi <esalaka at gmail.com>
-
-_pkgbasename=sdl_ttf
-pkgname=lib32-$_pkgbasename
-pkgver=2.0.11
-pkgrel=5
-pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (32-bit)"
-url="https://www.libsdl.org/projects/SDL_ttf/"
-arch=(x86_64)
-license=(custom)
-depends=(lib32-sdl lib32-freetype2 $_pkgbasename)
-source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz
- freetype-pkgconfig.patch
- bug1433.patch)
-sha256sums=('724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7'
- '87412f614b97b4724cb4845db882f07c15caf098dee57a856d6dbae0f58de80d'
- '4baea703454b9bca9498a920485552f1b8489a5007f8f1366080b14a4cd74c90')
-
-prepare() {
- cd SDL_ttf-$pkgver
-
- # Fix FS#28674
- patch -Ni ../bug1433.patch
-
- # Fix build with FreeType 2.9.1
- patch -Np1 -i ../freetype-pkgconfig.patch
-
- touch NEWS README AUTHORS ChangeLog
- autoreconf -vi
-}
-
-build() {
- export CC='gcc -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- cd SDL_ttf-$pkgver
- ./configure --prefix=/usr --disable-static --libdir=/usr/lib32
- make
-}
-
-package() {
- cd SDL_ttf-$pkgver
- make DESTDIR="$pkgdir" install
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
- rm -rf "$pkgdir/usr/include"
-}
-
-# vim: sw=2:ts=2 et:
Copied: lib32-sdl_ttf/repos/multilib-x86_64/PKGBUILD (from rev 1218642, lib32-sdl_ttf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-02 05:57:49 UTC (rev 1218643)
@@ -0,0 +1,49 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Esa lakaniemi <esalaka at gmail.com>
+
+_pkgbasename=sdl_ttf
+pkgname=lib32-$_pkgbasename
+pkgver=2.0.11
+pkgrel=6
+pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (32-bit)"
+url="https://www.libsdl.org/projects/SDL_ttf/"
+arch=(x86_64)
+license=(custom)
+depends=(lib32-sdl lib32-freetype2 $_pkgbasename)
+source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz
+ freetype-pkgconfig.patch
+ bug1433.patch)
+sha256sums=('724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7'
+ '87412f614b97b4724cb4845db882f07c15caf098dee57a856d6dbae0f58de80d'
+ '4baea703454b9bca9498a920485552f1b8489a5007f8f1366080b14a4cd74c90')
+
+prepare() {
+ cd SDL_ttf-$pkgver
+
+ # Fix FS#28674
+ patch -Ni ../bug1433.patch
+
+ # Fix build with FreeType 2.9.1
+ patch -Np1 -i ../freetype-pkgconfig.patch
+
+ touch NEWS README AUTHORS ChangeLog
+ autoreconf -vi
+}
+
+build() {
+ export CC='gcc -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ cd SDL_ttf-$pkgver
+ ./configure --prefix=/usr --disable-static --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd SDL_ttf-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
+ rm -rf "$pkgdir/usr/include"
+}
+
+# vim: sw=2:ts=2 et:
Deleted: bug1433.patch
===================================================================
--- bug1433.patch 2022-06-02 05:57:29 UTC (rev 1218642)
+++ bug1433.patch 2022-06-02 05:57:49 UTC (rev 1218643)
@@ -1,11 +0,0 @@
---- SDL_ttf.c.orig 2012-02-12 16:36:41.859977617 +0100
-+++ SDL_ttf.c 2012-02-12 16:36:53.696580159 +0100
-@@ -1747,7 +1747,7 @@
- /* Copy the character from the pixmap */
- src = glyph->pixmap.buffer;
- dst = (Uint8*) textbuf->pixels;
-- for ( row = 0; row < glyph->bitmap.rows; ++row ) {
-+ for ( row = 0; row < glyph->pixmap.rows; ++row ) {
- memcpy( dst, src, glyph->pixmap.width );
- src += glyph->pixmap.pitch;
- dst += textbuf->pitch;
\ No newline at end of file
Copied: lib32-sdl_ttf/repos/multilib-x86_64/bug1433.patch (from rev 1218642, lib32-sdl_ttf/trunk/bug1433.patch)
===================================================================
--- bug1433.patch (rev 0)
+++ bug1433.patch 2022-06-02 05:57:49 UTC (rev 1218643)
@@ -0,0 +1,11 @@
+--- SDL_ttf.c.orig 2012-02-12 16:36:41.859977617 +0100
++++ SDL_ttf.c 2012-02-12 16:36:53.696580159 +0100
+@@ -1747,7 +1747,7 @@
+ /* Copy the character from the pixmap */
+ src = glyph->pixmap.buffer;
+ dst = (Uint8*) textbuf->pixels;
+- for ( row = 0; row < glyph->bitmap.rows; ++row ) {
++ for ( row = 0; row < glyph->pixmap.rows; ++row ) {
+ memcpy( dst, src, glyph->pixmap.width );
+ src += glyph->pixmap.pitch;
+ dst += textbuf->pitch;
\ No newline at end of file
Deleted: freetype-pkgconfig.patch
===================================================================
--- freetype-pkgconfig.patch 2022-06-02 05:57:29 UTC (rev 1218642)
+++ freetype-pkgconfig.patch 2022-06-02 05:57:49 UTC (rev 1218643)
@@ -1,46 +0,0 @@
-https://bugs.gentoo.org/654758
-
---- SDL_ttf-2.0.11/configure.in
-+++ SDL_ttf-2.0.11/configure.in
-@@ -64,6 +64,7 @@
- ;;
- esac
-
-+PKG_PROG_PKG_CONFIG
-
- dnl Check for iconv (character conversion library; see iconv.m4)
- dnl This isn't available on many systems
-@@ -94,6 +95,17 @@
- dnl
- dnl Get the cflags and libraries from the freetype-config script
- dnl
-+PKG_CHECK_MODULES(
-+ FREETYPE2,
-+ freetype2,
-+ [
-+ ft_found=yes
-+ CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
-+ LIBS="$LIBS $FREETYPE2_LIBS"
-+ ],
-+ ft_found=no
-+)
-+
- AC_ARG_WITH(freetype-prefix,[ --with-freetype-prefix=PFX Prefix where FREETYPE is
- installed (optional)],
- freetype_prefix="$withval", freetype_prefix="")
-@@ -101,6 +113,7 @@
- where FREETYPE is installed (optional)],
- freetype_exec_prefix="$withval", freetype_exec_prefix="")
-
-+if test "x$ft_found" != "xyes" ; then
- if test x$freetype_exec_prefix != x ; then
- freetype_args="$freetype_args --exec-prefix=$freetype_exec_prefix"
- if test x${FREETYPE_CONFIG+set} != xset ; then
-@@ -123,6 +136,7 @@
- CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
- LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
- fi
-+fi
-
- dnl Check for SDL
- SDL_VERSION=1.2.4
Copied: lib32-sdl_ttf/repos/multilib-x86_64/freetype-pkgconfig.patch (from rev 1218642, lib32-sdl_ttf/trunk/freetype-pkgconfig.patch)
===================================================================
--- freetype-pkgconfig.patch (rev 0)
+++ freetype-pkgconfig.patch 2022-06-02 05:57:49 UTC (rev 1218643)
@@ -0,0 +1,46 @@
+https://bugs.gentoo.org/654758
+
+--- SDL_ttf-2.0.11/configure.in
++++ SDL_ttf-2.0.11/configure.in
+@@ -64,6 +64,7 @@
+ ;;
+ esac
+
++PKG_PROG_PKG_CONFIG
+
+ dnl Check for iconv (character conversion library; see iconv.m4)
+ dnl This isn't available on many systems
+@@ -94,6 +95,17 @@
+ dnl
+ dnl Get the cflags and libraries from the freetype-config script
+ dnl
++PKG_CHECK_MODULES(
++ FREETYPE2,
++ freetype2,
++ [
++ ft_found=yes
++ CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
++ LIBS="$LIBS $FREETYPE2_LIBS"
++ ],
++ ft_found=no
++)
++
+ AC_ARG_WITH(freetype-prefix,[ --with-freetype-prefix=PFX Prefix where FREETYPE is
+ installed (optional)],
+ freetype_prefix="$withval", freetype_prefix="")
+@@ -101,6 +113,7 @@
+ where FREETYPE is installed (optional)],
+ freetype_exec_prefix="$withval", freetype_exec_prefix="")
+
++if test "x$ft_found" != "xyes" ; then
+ if test x$freetype_exec_prefix != x ; then
+ freetype_args="$freetype_args --exec-prefix=$freetype_exec_prefix"
+ if test x${FREETYPE_CONFIG+set} != xset ; then
+@@ -123,6 +136,7 @@
+ CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
+ LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
+ fi
++fi
+
+ dnl Check for SDL
+ SDL_VERSION=1.2.4
More information about the arch-commits
mailing list