1 diff -Naur a/Makefile b/Makefile
2 --- a/Makefile 2022-06-10 04:51:46.000000000 +0300
3 +++ b/Makefile 2022-08-01 10:28:52.698923925 +0300
7 SHAREDLIB_DIR=$(PREFIX)/lib
8 +INCLUDES_DIR=$(PREFIX)/include
10 MODULE_NAME=gmpopenh264
11 GMP_API_BRANCH=Firefox39
15 $(PROJECT_NAME).pc: $(PROJECT_NAME).pc.in
16 - @sed -e 's;@prefix@;$(PREFIX);' -e 's;@libdir@;$(PREFIX)/lib;' -e 's;@VERSION@;$(FULL_VERSION);' -e 's;@LIBS@;;' -e 's;@LIBS_PRIVATE@;$(STATIC_LDFLAGS);' < $< > $@
17 + @sed -e 's;@prefix@;$(PREFIX);' -e 's;@libdir@;$(SHAREDLIB_DIR);' -e 's;@includesdir@;$(INCLUDES_DIR);' -e 's;@VERSION@;$(FULL_VERSION);' -e 's;@LIBS@;;' -e 's;@LIBS_PRIVATE@;$(STATIC_LDFLAGS);' < $< > $@
19 $(PROJECT_NAME)-static.pc: $(PROJECT_NAME).pc.in
20 - @sed -e 's;@prefix@;$(PREFIX);' -e 's;@libdir@;$(PREFIX)/lib;' -e 's;@VERSION@;$(FULL_VERSION);' -e 's;@LIBS@;$(STATIC_LDFLAGS);' -e 's;@LIBS_PRIVATE@;;' < $< > $@
21 + @sed -e 's;@prefix@;$(PREFIX);' -e 's;@libdir@;$(SHAREDLIB_DIR);' -e 's;@includesdir@;$(INCLUDES_DIR);' -e 's;@VERSION@;$(FULL_VERSION);' -e 's;@LIBS@;$(STATIC_LDFLAGS);' -e 's;@LIBS_PRIVATE@;;' < $< > $@
24 - mkdir -p $(DESTDIR)$(PREFIX)/include/wels
25 - install -m 644 $(SRC_PATH)/codec/api/wels/codec*.h $(DESTDIR)$(PREFIX)/include/wels
26 + mkdir -p $(DESTDIR)$(INCLUDES_DIR)/wels
27 + install -m 644 $(SRC_PATH)/codec/api/wels/codec*.h $(DESTDIR)$(INCLUDES_DIR)/wels
29 install-static-lib: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) install-headers
30 mkdir -p $(DESTDIR)$(PREFIX)/$(LIBDIR_NAME)
31 diff -Naur a/openh264.pc.in b/openh264.pc.in
32 --- a/openh264.pc.in 2022-06-10 04:51:46.000000000 +0300
33 +++ b/openh264.pc.in 2022-08-01 10:38:28.231850059 +0300
37 -includedir=${prefix}/include
38 +includedir=@includesdir@
41 Description: OpenH264 is a codec library which supports H.264 encoding and decoding. It is suitable for use in real time applications such as WebRTC.