[arch-commits] Commit in sdl2_ttf/repos (6 files)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Thu Jul 7 18:14:46 UTC 2022


    Date: Thursday, July 7, 2022 @ 18:14:46
  Author: svenstaro
Revision: 450500

archrelease: copy trunk to extra-x86_64

Added:
  sdl2_ttf/repos/extra-x86_64/PKGBUILD
    (from rev 450499, sdl2_ttf/trunk/PKGBUILD)
  sdl2_ttf/repos/extra-x86_64/freetype-pkgconfig.patch
    (from rev 450499, sdl2_ttf/trunk/freetype-pkgconfig.patch)
  sdl2_ttf/repos/extra-x86_64/keys/
Deleted:
  sdl2_ttf/repos/community-x86_64/
  sdl2_ttf/repos/extra-x86_64/PKGBUILD
  sdl2_ttf/repos/extra-x86_64/freetype-pkgconfig.patch

---------------------------------------+
 /PKGBUILD                             |   34 +++++++++++++++++++++++
 /freetype-pkgconfig.patch             |   46 ++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD                 |   33 ----------------------
 extra-x86_64/freetype-pkgconfig.patch |   46 --------------------------------
 4 files changed, 80 insertions(+), 79 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2022-07-07 18:13:57 UTC (rev 450499)
+++ extra-x86_64/PKGBUILD	2022-07-07 18:14:46 UTC (rev 450500)
@@ -1,33 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-
-pkgname=sdl2_ttf
-pkgver=2.0.18
-pkgrel=1
-pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (Version 2)"
-arch=('x86_64')
-url="http://www.libsdl.org/projects/SDL_ttf"
-license=('MIT')
-depends=('sdl2' 'freetype2')
-makedepends=('cmake')
-source=("https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${pkgver}.tar.gz")
-sha512sums=('9a211c07d4180fe3fb2f7614e907d1002ddf3bb77b57f62116f22dc29a6043f091deb6a8113656d26a44d2f06b9abcc372aa3e0761500fcf47b455406973a1c7')
-
-prepare() {
-  cd SDL2_ttf-${pkgver}
-
-  autoreconf -vi
-}
-
-build() {
-  cd "${srcdir}/SDL2_ttf-${pkgver}/"
-
-  ./configure --disable-static --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/SDL2_ttf-${pkgver}/"
-
-  make DESTDIR="${pkgdir}/" install
-  install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: sdl2_ttf/repos/extra-x86_64/PKGBUILD (from rev 450499, sdl2_ttf/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2022-07-07 18:14:46 UTC (rev 450500)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+
+pkgname=sdl2_ttf
+pkgver=2.20.0
+pkgrel=1
+pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (Version 2)"
+arch=('x86_64')
+url="http://www.libsdl.org/projects/SDL_ttf"
+license=('MIT')
+depends=('sdl2' 'freetype2')
+source=("https://github.com/libsdl-org/SDL_ttf/releases/download/release-${pkgver}/SDL2_ttf-${pkgver}.tar.gz"{,.sig})
+sha512sums=('14c78cfa04b938f0bd141d841a9473a1678bb04d01a96391cfa37ae3e7e316c90f175aff7d052499f7d982f59b823813e4cfdd367631a44b08b85f9b60d09c8c'
+            'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
+
+prepare() {
+  cd SDL2_ttf-${pkgver}
+
+  autoreconf -vi
+}
+
+build() {
+  cd "${srcdir}/SDL2_ttf-${pkgver}/"
+
+  ./configure --disable-static --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_ttf-${pkgver}/"
+
+  make DESTDIR="${pkgdir}/" install
+  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: extra-x86_64/freetype-pkgconfig.patch
===================================================================
--- extra-x86_64/freetype-pkgconfig.patch	2022-07-07 18:13:57 UTC (rev 450499)
+++ extra-x86_64/freetype-pkgconfig.patch	2022-07-07 18:14:46 UTC (rev 450500)
@@ -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: sdl2_ttf/repos/extra-x86_64/freetype-pkgconfig.patch (from rev 450499, sdl2_ttf/trunk/freetype-pkgconfig.patch)
===================================================================
--- extra-x86_64/freetype-pkgconfig.patch	                        (rev 0)
+++ extra-x86_64/freetype-pkgconfig.patch	2022-07-07 18:14:46 UTC (rev 450500)
@@ -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