]> git.pld-linux.org Git - packages/live.git/blame - live-pkgconfig.patch
- compilation with std::atomic_flag requires -std=c++20
[packages/live.git] / live-pkgconfig.patch
CommitLineData
30dc04f0
AM
1Description: Add a pkg-config file for the shared libraries.
2Author: Benjamin Drung <bdrung@debian.org>
3
4e0e02bd
JB
4--- a/live/Makefile.head
5+++ b/live/Makefile.head
30dc04f0
AM
6@@ -1 +1,4 @@
7+PREFIX = /usr/local
8+LIBDIR = /usr/local/lib
9+VERSION = $(shell grep LIVEMEDIA_LIBRARY_VERSION_STRING liveMedia/include/liveMedia_version.hh | sed 's/.*"\([^"]*\)".*/\1/')
10 ##### Change the following for your environment:
11--- /dev/null
4e0e02bd 12+++ b/live/live555.pc.in
30dc04f0
AM
13@@ -0,0 +1,9 @@
14+prefix=@PREFIX@
15+libdir=@LIBDIR@
16+includedir=${prefix}/include
17+
18+Name: live555
19+Description: multimedia RTSP streaming library
20+Version: @VERSION@
21+Cflags: -I${includedir}/liveMedia -I${includedir}/groupsock -I${includedir}/BasicUsageEnvironment -I${includedir}/UsageEnvironment
22+Libs: -L${libdir} -lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment
4e0e02bd
JB
23--- live-2021.04.06/live/Makefile.tail.orig 2021-04-29 22:32:18.998971852 +0200
24+++ live-2021.04.06/live/Makefile.tail 2021-04-30 06:53:31.459794869 +0200
25@@ -25,7 +25,12 @@ all:
26 @echo
27 @echo "For more information about this source code (including your obligations under the LGPL), please see our FAQ at http://live555.com/liveMedia/faq.html"
30dc04f0
AM
28
29-install:
30+install_shared_libraries:
31+ install -d $(DESTDIR)$(LIBDIR)/pkgconfig
32+ sed "s#@PREFIX@#$(PREFIX)#;s#@LIBDIR@#$(LIBDIR)#;s#@VERSION@#$(VERSION)#" live555.pc.in > $(DESTDIR)$(LIBDIR)/pkgconfig/live555.pc
33+ chmod 644 $(DESTDIR)$(LIBDIR)/pkgconfig/live555.pc
34+
35+install: $(INSTALL2)
36 cd $(LIVEMEDIA_DIR) ; $(MAKE) install
37 cd $(GROUPSOCK_DIR) ; $(MAKE) install
38 cd $(USAGE_ENVIRONMENT_DIR) ; $(MAKE) install
This page took 0.14099 seconds and 5 git commands to generate.