1 |
commit: cae385fb7636ff3fd9b2f735d46285a1ade1aa51 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 17 15:52:20 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 17 16:04:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cae385fb |
7 |
|
8 |
dev-libs/gom: fix pkg-config file libdir |
9 |
|
10 |
Broke consumers that use meson on 17.1 gentoo profiles |
11 |
|
12 |
Bug: https://bugs.gentoo.org/678190 |
13 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
14 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
15 |
|
16 |
dev-libs/gom/files/0.3.2-fix-pkgconfig.patch | 34 ++++++++++++++++++++++ |
17 |
.../gom/{gom-0.3.2.ebuild => gom-0.3.2-r1.ebuild} | 6 ++-- |
18 |
2 files changed, 38 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/gom/files/0.3.2-fix-pkgconfig.patch b/dev-libs/gom/files/0.3.2-fix-pkgconfig.patch |
21 |
new file mode 100644 |
22 |
index 00000000000..447c91421cc |
23 |
--- /dev/null |
24 |
+++ b/dev-libs/gom/files/0.3.2-fix-pkgconfig.patch |
25 |
@@ -0,0 +1,34 @@ |
26 |
+From 07c35149964c7258e52effa374d877a8f2f102e8 Mon Sep 17 00:00:00 2001 |
27 |
+From: Alexander Tsoy <alexander@××××.me> |
28 |
+Date: Fri, 29 Jul 2016 03:18:03 +0300 |
29 |
+Subject: [PATCH] build: Replace hardcoded values in pkg-config file |
30 |
+ |
31 |
+https://bugzilla.gnome.org/show_bug.cgi?id=769291 |
32 |
+--- |
33 |
+ data/gom-1.0.pc.in | 10 +++++----- |
34 |
+ 1 file changed, 5 insertions(+), 5 deletions(-) |
35 |
+ |
36 |
+diff --git a/data/gom-1.0.pc.in b/data/gom-1.0.pc.in |
37 |
+index ce19de6..6edc841 100644 |
38 |
+--- a/data/gom-1.0.pc.in |
39 |
++++ b/data/gom-1.0.pc.in |
40 |
+@@ -1,11 +1,11 @@ |
41 |
+ prefix=@prefix@ |
42 |
+-exec_prefix=${prefix} |
43 |
+-libdir=${exec_prefix}/lib |
44 |
+-includedir=${exec_prefix}/include |
45 |
++exec_prefix=@exec_prefix@ |
46 |
++libdir=@libdir@ |
47 |
++includedir=@includedir@ |
48 |
+ |
49 |
+ Name: Gom |
50 |
+ Description: GObject Data Mapper |
51 |
+ Version: @VERSION@ |
52 |
+-Libs: -L${libdir} -lgom-1.0 |
53 |
+-Cflags: -I${includedir}/gom-1.0 |
54 |
++Libs: -L${libdir} -lgom-@GOM_API_VERSION@ |
55 |
++Cflags: -I${includedir}/gom-@GOM_API_VERSION@ |
56 |
+ Requires: gobject-2.0 |
57 |
+-- |
58 |
+2.17.0 |
59 |
+ |
60 |
|
61 |
diff --git a/dev-libs/gom/gom-0.3.2.ebuild b/dev-libs/gom/gom-0.3.2-r1.ebuild |
62 |
similarity index 92% |
63 |
rename from dev-libs/gom/gom-0.3.2.ebuild |
64 |
rename to dev-libs/gom/gom-0.3.2-r1.ebuild |
65 |
index c69949bbf5e..6589d8eb0a7 100644 |
66 |
--- a/dev-libs/gom/gom-0.3.2.ebuild |
67 |
+++ b/dev-libs/gom/gom-0.3.2-r1.ebuild |
68 |
@@ -1,11 +1,11 @@ |
69 |
-# Copyright 1999-2018 Gentoo Foundation |
70 |
+# Copyright 1999-2019 Gentoo Authors |
71 |
# Distributed under the terms of the GNU General Public License v2 |
72 |
|
73 |
EAPI="5" |
74 |
GCONF_DEBUG="yes" |
75 |
PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
76 |
|
77 |
-inherit gnome2 python-r1 |
78 |
+inherit epatch gnome2 python-r1 |
79 |
|
80 |
DESCRIPTION="GObject to SQLite object mapper library" |
81 |
HOMEPAGE="https://wiki.gnome.org/Projects/Gom" |
82 |
@@ -33,11 +33,13 @@ DEPEND="${RDEPEND} |
83 |
" |
84 |
# TODO: make gdk-pixbuf properly optional with USE=test |
85 |
|
86 |
+ |
87 |
pkg_setup() { |
88 |
use python && python_setup |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
+ epatch "${FILESDIR}"/${PV}-fix-pkgconfig.patch |
93 |
gnome2_src_prepare |
94 |
|
95 |
use python && python_copy_sources |