mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: split profiler and gtk widgets into separate libraries
This will make it easier to support installing just sysprof-cli and the sysprofd helper daemon on systems where GTK is not feasible or necessary. This does not, however, do that. It simply gets things broken up into pieces.
This commit is contained in:
@ -7,7 +7,9 @@ desktopdir = $(datadir)/applications
|
||||
desktop_DATA = org.gnome.Sysprof2.desktop
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = sysprof-$(API_VERSION).pc
|
||||
pkgconfig_DATA = \
|
||||
sysprof-$(API_VERSION).pc \
|
||||
sysprof-ui-$(API_VERSION).pc
|
||||
|
||||
gsettings_SCHEMAS = org.gnome.sysprof2.gschema.xml
|
||||
|
||||
|
||||
11
data/sysprof-ui.pc.in
Normal file
11
data/sysprof-ui.pc.in
Normal file
@ -0,0 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${exec_prefix}/include
|
||||
|
||||
Name: libsysprof-ui-@API_VERSION@
|
||||
Description: The sysprof library containing reusable GTK widgets
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lsysprof-ui-@API_VERSION@
|
||||
Cflags: -I${includedir}/sysprof-@API_VERSION@
|
||||
Requires: gio-2.0 gtk+-3.0 sysprof-@API_VERSION@
|
||||
@ -4,8 +4,8 @@ libdir=${exec_prefix}/lib
|
||||
includedir=${exec_prefix}/include
|
||||
|
||||
Name: libsysprof-@API_VERSION@
|
||||
Description: The sysprof library for integrating profiling into IDEs
|
||||
Description: The sysprof profiler library
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lsysprof-@API_VERSION@
|
||||
Cflags: -I${includedir}/sysprof-@API_VERSION@
|
||||
Requires: gio-2.0 gtk+-3.0
|
||||
Requires: gio-2.0
|
||||
|
||||
Reference in New Issue
Block a user