Package: libsdl2-gfx-dev
Version: 1.0.0-2
Severity: normal
Tags: patch

Hi,

I added support for pkg-config in SDL_gfx, cf. attached patch.
Please consider applying it.

I'm going to forward it to the upstream maintainer as soon as I get
this bug ID.

Cheers!
Sylvain
--- t1/libsdl2-gfx-1.0.0/debian/changelog	2014-02-03 21:27:32.000000000 +0100
+++ t2/libsdl2-gfx-1.0.0/debian/changelog	2014-06-01 22:42:06.747288467 +0200
@@ -1,3 +1,10 @@
+libsdl2-gfx (1.0.0-3) UNRELEASED; urgency=medium
+
+  [ Sylvain Beucler]
+  * Add SDL2_gfx.pc pkg-config file
+
+ --
+
 libsdl2-gfx (1.0.0-2) unstable; urgency=medium
 
   [ Gianfranco Costamagna ]
--- t1/libsdl2-gfx-1.0.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ t2/libsdl2-gfx-1.0.0/debian/patches/series	2014-06-01 22:01:14.547525609 +0200
@@ -0,0 +1 @@
+SDL2_gfx.pc.patch
--- t1/libsdl2-gfx-1.0.0/debian/patches/SDL2_gfx.pc.patch	1970-01-01 01:00:00.000000000 +0100
+++ t2/libsdl2-gfx-1.0.0/debian/patches/SDL2_gfx.pc.patch	2014-06-01 22:24:56.747963008 +0200
@@ -0,0 +1,47 @@
+Description: Add pkg-config support to SDL2_gfx
+Forwarded: 2014-06-01 to <aschiff...@ferzkopp.net>
+Author: Sylvain Beucler <b...@debian.org>
+Last-Update: 2014-06-01
+
+--- svn/configure.in	(révision 14)
++++ svn/configure.in	(copie de travail)
+@@ -140,6 +140,7 @@
+ # Finally create all the generated files
+ AC_OUTPUT([
+ Makefile
++SDL2_gfx.pc
+ ])
+ 
+ echo
+--- svn/Makefile.am	(révision 14)
++++ svn/Makefile.am	(copie de travail)
+@@ -30,6 +30,9 @@
+ # Rule to build tar-gzipped distribution package
+ $(PACKAGE)-$(VERSION).tar.gz: distcheck
+ 
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = SDL2_gfx.pc
++
+ # Additional cleanup rules
+ DISTCLEANFILES =		\
+ 	SDL2_gfx.sdf		\
+@@ -38,4 +41,3 @@
+ 	autom4te.cache/*	\
+ 	Win32/Debug/*		\
+ 	Win32/Release/*
+-		
+\ No newline at end of file
+--- svn/SDL2_gfx.pc.in	(révision 0)
++++ svn/SDL2_gfx.pc.in	(copie de travail)
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: SDL2_gfx
++Description: drawing and graphical effects extension for SDL
++Version: @VERSION@
++Requires: sdl2 >= @SDL_VERSION@
++Libs: -L${libdir} -lSDL2_gfx
++Cflags: -I${includedir}/SDL2

Reply via email to