summaryrefslogtreecommitdiffstats
path: root/0001-add-support-for-pkg-config.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-01 07:09:37 +0200
committerRemi Collet <remi@php.net>2026-04-01 07:09:37 +0200
commit6f11cd9eca4077c05285c2c9ef9b8a96acd61ada (patch)
tree9102b8199c4b9124103db990f424ee6c1b3b3b00 /0001-add-support-for-pkg-config.patch
parentcc4c0d77cc6da3e5318403bd073c5ff5206c7f66 (diff)
update to 3.0.0HEADmaster
drop patches merged upstream
Diffstat (limited to '0001-add-support-for-pkg-config.patch')
-rw-r--r--0001-add-support-for-pkg-config.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/0001-add-support-for-pkg-config.patch b/0001-add-support-for-pkg-config.patch
deleted file mode 100644
index 4bc2396..0000000
--- a/0001-add-support-for-pkg-config.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From e33b80697f7c8036aae31268b2ee31b2aee1ce87 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Tue, 24 Mar 2026 08:54:53 +0100
-Subject: [PATCH] add support for pkg-config
-
----
- CMakeLists.txt | 16 ++++++++++++++++
- lexbor.pc.in | 12 ++++++++++++
- 2 files changed, 28 insertions(+)
- create mode 100644 lexbor.pc.in
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 15f6571..eb3dcff 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -377,6 +377,22 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
- "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake"
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/")
-
-+################
-+## pkg-config configuration
-+#########################
-+find_package(PkgConfig)
-+if (PKG_CONFIG_FOUND)
-+ configure_file(
-+ "${PROJECT_SOURCE_DIR}/lexbor.pc.in"
-+ "${PROJECT_BINARY_DIR}/lexbor.pc"
-+ @ONLY
-+ )
-+ install(
-+ FILES "${PROJECT_BINARY_DIR}/lexbor.pc"
-+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
-+ )
-+endif()
-+
- ################
- ## Build an RPM.
- #########################
-diff --git a/lexbor.pc.in b/lexbor.pc.in
-new file mode 100644
-index 0000000..c28b7a1
---- /dev/null
-+++ b/lexbor.pc.in
-@@ -0,0 +1,12 @@
-+prefix=@CMAKE_INSTALL_PREFIX@
-+exec_prefix=${prefix}
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
-+
-+Name: @PROJECT_NAME@
-+Description: HTML Renderer library
-+Version: @PROJECT_VERSION@
-+
-+Libs: -L${libdir} -l@PROJECT_NAME@
-+Cflags: -I${includedir}
-+
---
-2.53.0
-