From 6a423e819f48f445e9ce2ff197f7032e11c0ee06 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 9 Dec 2012 10:38:24 +0100 Subject: [PATCH] SDL_image: remove static libs; set -devel noarch. --- srcpkgs/SDL_image/SDL_image-devel.template | 4 ++-- srcpkgs/SDL_image/template | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/SDL_image/SDL_image-devel.template b/srcpkgs/SDL_image/SDL_image-devel.template index 9bbbe83d067..3e2270c5cb9 100644 --- a/srcpkgs/SDL_image/SDL_image-devel.template +++ b/srcpkgs/SDL_image/SDL_image-devel.template @@ -1,6 +1,7 @@ # Template file for 'SDL_image-devel'. # -depends="libpng-devel tiff-devel jpeg-devel SDL-devel SDL_image>=$version" +noarch=yes +depends="SDL-devel ${sourcepkg}>=${version}" short_desc="${short_desc} - development files" long_desc="${long_desc} @@ -8,6 +9,5 @@ long_desc="${long_desc} do_install() { vmove usr/include usr - vmove "usr/lib/*.a" usr/lib vmove usr/lib/pkgconfig usr/lib } diff --git a/srcpkgs/SDL_image/template b/srcpkgs/SDL_image/template index 1905fb01096..c4f8d3a1422 100644 --- a/srcpkgs/SDL_image/template +++ b/srcpkgs/SDL_image/template @@ -1,12 +1,13 @@ # Template file for 'SDL_image' pkgname=SDL_image version=1.2.12 -revision=3 +revision=4 build_style=gnu-configure +configure_args="--disable-static" # The following are dlopen(3)ed at runtime. depends="libpng>=1.5.10 tiff jpeg libwebp>=0.2.0" makedepends="libpng-devel>=1.5.10 tiff-devel jpeg-devel SDL-devel libwebp-devel>=0.2.0" -subpackages="$pkgname-devel" +subpackages="${pkgname}-devel" short_desc="Load images as SDL surfaces" maintainer="Juan RP " license="BSD"