all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 564293c082179e642cd0c6bd4505f467cc9e7184 1306 bytes (raw)
name: gnu/packages/patches/freesolid-pkgconfig.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 
Upstream-status: https://sourceforge.net/p/freesolid/patches/5/

diff --git a/FreeSOLID.pc.in b/FreeSOLID.pc.in
new file mode 100644
index 0000000..c354f05
--- /dev/null
+++ b/FreeSOLID.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: FreeSolid
+Description: 3D collision detection C++ library
+Version: @VERSION@
+
+Libs: -L${libdir} -lFreeSOLID @QHULL_LIBS@
+Cflags: -I${includedir} -I${includedir}/FreeSOLID
+
diff --git a/configure.in b/configure.in
index 41a761c..a4bc7d4 100644
--- a/configure.in
+++ b/configure.in
@@ -52,4 +52,11 @@ dnl Checks for library functions.
 AC_CHECK_FUNCS(sqrt)
 AC_CHECK_FUNCS(fabs)
 
-AC_OUTPUT(doc/Makefile sample/Makefile Makefile libbroad/Makefile libmoto/Makefile libsolid/Makefile freesolid-config)
+AC_OUTPUT([ doc/Makefile 
+            sample/Makefile 
+            Makefile 
+            libbroad/Makefile 
+            libmoto/Makefile 
+            libsolid/Makefile 
+            freesolid-config
+            FreeSOLID.pc])
--- a/Makefile.am	2024-10-28 10:49:24.006849578 +0900
+++ b/Makefile.am	2024-10-28 10:50:13.378839511 +0900
@@ -3,3 +3,6 @@
 
 EXTRA_DIST = include
 bin_SCRIPTS = freesolid-config
+
+pkgconfigdir         = $(libdir)/pkgconfig
+dist_pkgconfig_DATA  = FreeSOLID.pc

debug log:

solving 564293c082 ...
found 564293c082 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.