Add libboinc_graphics2.pc pkg-config file

This commit is contained in:
Anna “CyberTailor” 2021-11-10 00:20:13 +05:00
parent 05624c9a71
commit eff6149c3e
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
3 changed files with 17 additions and 0 deletions

View File

@ -48,6 +48,7 @@ libboinc_api_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
if BUILD_GRAPHICS_API
lib_LTLIBRARIES += libboinc_graphics2.la
pkgconfig_DATA += libboinc_graphics2.pc
libboinc_graphics2_la_SOURCES = $(graphics2_files)
libboinc_graphics2_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/samples/image_libs
libboinc_graphics2_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) -ljpeg

View File

@ -0,0 +1,15 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: boinc_graphics2
Description: BOINC graphics API
Version: @PACKAGE_VERSION@
URL: https://boinc.berkeley.edu/trac/wiki/GraphicsApps
Cflags: -I${includedir}/boinc
Cflags.private: @GLUT_CFLAGS@
Libs: -L${libdir} -lboinc_graphics2
Libs.private: -lm
Requires.private: libjpeg

View File

@ -1339,6 +1339,7 @@ AC_CONFIG_FILES([
version.h
api/Makefile
api/libboinc_api.pc
api/libboinc_graphics2.pc
apps/Makefile
clientgui/Makefile
clientgui/res/Makefile