From 8e7d96bbb3a3103da704185651ea32ecf8cf420e Mon Sep 17 00:00:00 2001 From: Alexpux Date: Tue, 13 Jan 2015 01:06:46 +0300 Subject: [PATCH] libview: More fixes for pkg-config file --- .../002-missing-execprefix.patch | 19 +++++++++++++++---- mingw-w64-libview/PKGBUILD | 4 ++-- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/mingw-w64-libview/002-missing-execprefix.patch b/mingw-w64-libview/002-missing-execprefix.patch index b35747a37e..30c9ce89bd 100644 --- a/mingw-w64-libview/002-missing-execprefix.patch +++ b/mingw-w64-libview/002-missing-execprefix.patch @@ -1,8 +1,19 @@ --- ./libview.pc.in.orig 2015-01-12 09:55:44.051292400 +0100 +++ ./libview.pc.in 2015-01-12 09:56:29.968892700 +0100 -@@ -1,4 +1,5 @@ - prefix=${prefix} +@@ -1,10 +1,11 @@ +-prefix=${prefix} +-libdir=${exec_prefix}/lib +-includedir=${prefix}/include ++prefix=@prefix@ +exec_prefix=@exec_prefix@ - libdir=${exec_prefix}/lib - includedir=${prefix}/include ++libdir=@libdir@ ++includedir=@includedir@ + + Name: libview + Description: VMware's Incredibly Exciting Widgets for GTK+ + Version: @VERSION@ +-Libs: -L${libdir} -lview @PACKAGE_LIBS@ +-Cflags: -I${includedir} @PACKAGE_CFLAGS@ ++Libs: -L${libdir} -lview ++Cflags: -I${includedir} diff --git a/mingw-w64-libview/PKGBUILD b/mingw-w64-libview/PKGBUILD index aeafbe67b5..3ea5b13e6d 100644 --- a/mingw-w64-libview/PKGBUILD +++ b/mingw-w64-libview/PKGBUILD @@ -14,10 +14,10 @@ license=("GPL 2") url="http://view.sourceforge.net" source=(http://downloads.sourceforge.net/view/${_realname}-$pkgver.tar.bz2 001-win.patch - 002-missing-execprefix.patch) + 002-missing-execprefix.patch) sha256sums=('2b991bf150c5488b43f807e89bdbd64b2eb3bd433abbdfb68c3eec52cbaa59ab' '7e7506735bf4c86c52aee2066955f18d539496cee9a41ed126cdb98b19bff24e' - '38e68e8b36982283153f288ab7107a5934bc302fc065eac4d6daa46f00202bf5') + '20ff38d461360fe3062f70d27f2d9f9b0e3d3db6de3042e9893a0660ab6cab4a') prepare() { cd "${srcdir}"/${_realname}-${pkgver}