summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2016-02-17 12:43:12 -0500
committerIan Stakenvicius <axs@gentoo.org>2016-02-17 12:43:52 -0500
commit4d5c795719dd54884d02e1379b8a10eb6c830418 (patch)
treec7197c830a0f64030653399e63faaa01ebe1af63 /media-libs/openh264/files
parentmedia-libs/openh264: drop old (diff)
downloadgentoo-4d5c795719dd54884d02e1379b8a10eb6c830418.tar.gz
gentoo-4d5c795719dd54884d02e1379b8a10eb6c830418.tar.bz2
gentoo-4d5c795719dd54884d02e1379b8a10eb6c830418.zip
media-libs/openh264: version bump
Release Notes: https://github.com/cisco/openh264/releases/tag/v1.5.0 Package-Manager: portage-2.2.26
Diffstat (limited to 'media-libs/openh264/files')
-rw-r--r--media-libs/openh264/files/openh264-1.5.0-pkgconfig-pathfix.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/media-libs/openh264/files/openh264-1.5.0-pkgconfig-pathfix.patch b/media-libs/openh264/files/openh264-1.5.0-pkgconfig-pathfix.patch
new file mode 100644
index 000000000000..a39823aeee77
--- /dev/null
+++ b/media-libs/openh264/files/openh264-1.5.0-pkgconfig-pathfix.patch
@@ -0,0 +1,40 @@
+--- a/Makefile 2015-10-19 21:49:05.000000000 -0400
++++ b/Makefile 2016-02-17 12:16:06.102945631 -0500
+@@ -27,6 +27,7 @@
+ DESTDIR=
+ LIBDIR_NAME=lib
+ SHAREDLIB_DIR=$(PREFIX)/lib
++INCLUDES_DIR=$(PREFIX)/include
+ PROJECT_NAME=openh264
+ MODULE_NAME=gmpopenh264
+ GMP_API_BRANCH=Firefox39
+@@ -244,14 +245,14 @@
+ endif
+
+ $(PROJECT_NAME).pc: $(PROJECT_NAME).pc.in
+- @sed -e 's;@prefix@;$(PREFIX);' -e 's;@VERSION@;$(VERSION);' -e 's;@LIBS@;;' -e 's;@LIBS_PRIVATE@;$(STATIC_LDFLAGS);' < $< > $@
++ @sed -e 's;@prefix@;$(PREFIX);' -e 's;@sharedlibdir@;$(SHAREDLIB_DIR);' -e 's;@includesdir@;$(INCLUDES_DIR);' -e 's;@VERSION@;$(VERSION);' -e 's;@LIBS@;;' -e 's;@LIBS_PRIVATE@;$(STATIC_LDFLAGS);' < $< > $@
+
+ $(PROJECT_NAME)-static.pc: $(PROJECT_NAME).pc.in
+- @sed -e 's;@prefix@;$(PREFIX);' -e 's;@VERSION@;$(VERSION);' -e 's;@LIBS@;$(STATIC_LDFLAGS);' -e 's;@LIBS_PRIVATE@;;' < $< > $@
++ @sed -e 's;@prefix@;$(PREFIX);' -e 's;@sharedlibdir@;$(SHAREDLIB_DIR);' -e 's;@includesdir@;$(INCLUDES_DIR);' -e 's;@VERSION@;$(VERSION);' -e 's;@LIBS@;$(STATIC_LDFLAGS);' -e 's;@LIBS_PRIVATE@;;' < $< > $@
+
+ install-headers:
+- mkdir -p $(DESTDIR)$(PREFIX)/include/wels
+- install -m 644 $(SRC_PATH)/codec/api/svc/codec*.h $(DESTDIR)$(PREFIX)/include/wels
++ mkdir -p $(DESTDIR)/$(INCLUDES_DIR)/wels
++ install -m 644 $(SRC_PATH)/codec/api/svc/codec*.h $(DESTDIR)/$(INCLUDES_DIR)/wels
+
+ install-static-lib: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) install-headers
+ mkdir -p $(DESTDIR)$(PREFIX)/$(LIBDIR_NAME)
+--- a/openh264.pc.in 2015-10-19 21:49:05.000000000 -0400
++++ b/openh264.pc.in 2016-02-17 12:17:03.792768147 -0500
+@@ -1,6 +1,6 @@
+ prefix=@prefix@
+-libdir=${prefix}/lib
+-includedir=${prefix}/include
++libdir=@sharedlibdir@
++includedir=@includesdir@
+
+ Name: OpenH264
+ 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.