From 12e7c2027e6cd9f2032a53e4f7444a72f184b9a8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 23 May 2014 08:37:35 +0200 Subject: [PATCH] New package: SDL2_ttf-2.0.12. --- common/shlibs | 3 +-- srcpkgs/SDL2_ttf-devel | 1 + srcpkgs/SDL2_ttf/template | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/SDL2_ttf-devel create mode 100644 srcpkgs/SDL2_ttf/template diff --git a/common/shlibs b/common/shlibs index 15544d18ff..b255a1ebfe 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1625,5 +1625,4 @@ libgmock.so.0 gmock-1.7.0_1 libgmock_main.so.0 gmock-1.7.0_1 libopensc.so.3 libopensc-0.13.0_2 libsmm-local.so.3 libopensc-0.13.0_2 - - +libSDL2_ttf-2.0.so.0 SDL2_ttf-2.0.12_1 diff --git a/srcpkgs/SDL2_ttf-devel b/srcpkgs/SDL2_ttf-devel new file mode 120000 index 0000000000..fc796b0dbe --- /dev/null +++ b/srcpkgs/SDL2_ttf-devel @@ -0,0 +1 @@ +SDL2_ttf \ No newline at end of file diff --git a/srcpkgs/SDL2_ttf/template b/srcpkgs/SDL2_ttf/template new file mode 100644 index 0000000000..979cb2bfa3 --- /dev/null +++ b/srcpkgs/SDL2_ttf/template @@ -0,0 +1,24 @@ +# Template file for 'SDL2_ttf' +pkgname=SDL2_ttf +version=2.0.12 +revision=1 +build_style=gnu-configure +configure_args="--disable-static" +hostmakedepends="pkg-config" +makedepends="freetype-devel SDL2-devel libSM-devel" +short_desc="Use TrueType fonts in your SDL 2.x applications" +maintainer="Juan RP " +license="MIT" +homepage="http://www.libsdl.org/projects/SDL_ttf" +distfiles="${homepage}/release/${pkgname}-${version}.tar.gz" +checksum=8728605443ea1cca5cad501dc34dc0cb15135d1e575551da6d151d213d356f6e + +SDL2_ttf-devel_package() { + depends="freetype-devel SDL2-devel ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}