diff options
Diffstat (limited to 'media-libs/openh264')
-rw-r--r-- | media-libs/openh264/Manifest | 2 | ||||
-rw-r--r-- | media-libs/openh264/files/openh264-1.7.0-pkgconfig-pathfix.patch | 40 | ||||
-rw-r--r-- | media-libs/openh264/openh264-1.7.0.ebuild (renamed from media-libs/openh264/openh264-1.6.0.ebuild) | 2 |
3 files changed, 42 insertions, 2 deletions
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest index cc8689717a31..db72ee33d731 100644 --- a/media-libs/openh264/Manifest +++ b/media-libs/openh264/Manifest @@ -2,4 +2,4 @@ DIST gmp-api-Firefox38.tar.gz 16209 SHA256 6b156afe850c0d6faf0492ca5feeff4358e50 DIST gmp-api-Firefox39.tar.gz 16363 SHA256 ecb461af06f4d8f1c16330e78e73775f5656767ced77ac2b5e4bb9413ca86ec4 SHA512 da6f05c5f0540be8d4f48d25b947b21214d34a6eed365ee5fa4a38c69f77325add4be902e0dcd9d06be43914a3518ded7e4f2289dab034a24325f0bff201692a WHIRLPOOL fd661b7798970570053789577744bb12ab6354e3bcb70f64e2ac5aa73367f4a958feb3fcef343ef025aa15d6201af40d6f80a0f565e23340e1001f2259e073ce DIST openh264-1.4.0.tar.gz 37681189 SHA256 a1b9a7a7f1ee204793c613789a505f0971bc2b03b3dbd8f05d9c4a3f3b900a22 SHA512 8192494698cb5557331be56ecbe2b7b143e0ed95739a69a88bdb34a58f66710ef1cd9234f1e98c9b16432a41a3243634e6ca63c58119315f2f9360cb2959e42b WHIRLPOOL 0d9f1f728fbceef35a5e22a6fe4c9dd42fbf84d41fe14e938194438542af182d3994694ffcd68f58798f14c8096b49b0aecad23f58ec6bdbc02de43b8d783532 DIST openh264-1.5.0.tar.gz 37851166 SHA256 98077bd5d113c183ce02b678733b0cada2cf36750370579534c4d70f0b6c27b5 SHA512 30599fed5e928af7dfec079d101a22885e52874c1d7db91ff289b989a9a20548b6bbd5d25e4e546efedd4e5aba97cbc42b1e847970b93116d86efc7af394aeaf WHIRLPOOL 038ad081e0702f198ddc519bdaef7d91254179f8f4febdb2b453ab20c40e47cd759a7b5c881065ac0523d78fc95564aa132e9a4f4b565951613aeb2a46ce74ef -DIST openh264-1.6.0.tar.gz 37865472 SHA256 65d307bf312543ad6e98ec02abb7c27d8fd2c9740fd069d7249844612674a2c7 SHA512 a2c98bf20c64bcacdc8aef7dd17962109d6d35af0d2b8e79b3d6c0073ed214fbae03d2aac4de2cf30816519217e07811fcf320073f4ce2d9c902a8473db54f51 WHIRLPOOL 57d9989d1729df2a283eab97a9cd2b478266478eb38d9d564bcb464ca26bba8bc325813f26ab0e9906b8f8a58b6fc5cdadcbc7b15a39d692d3fa00e098860ae6 +DIST openh264-1.7.0.tar.gz 38681895 SHA256 9c07c38d7de00046c9c52b12c76a2af7648b70d05bd5460c8b67f6895738653f SHA512 3e30584d6adb69c162f5b044f49155c22d44ab8e399f6bf09194593df84475b49979406f3e461d25ef1e4422c2721b975c58bc64d40a143d8493d45380ad96aa WHIRLPOOL cdcd6b5b48862c27265ab624b1ea95c26e541a4a46adef71dc555037ca5276fde65ef7b2d91e38b3a939193b0bca7571e39f795ef22a54b067186d3a30b4d806 diff --git a/media-libs/openh264/files/openh264-1.7.0-pkgconfig-pathfix.patch b/media-libs/openh264/files/openh264-1.7.0-pkgconfig-pathfix.patch new file mode 100644 index 000000000000..b0813888477a --- /dev/null +++ b/media-libs/openh264/files/openh264-1.7.0-pkgconfig-pathfix.patch @@ -0,0 +1,40 @@ +--- 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. +--- a/Makefile 2017-06-16 00:20:14.000000000 -0400 ++++ b/Makefile 2017-07-14 15:15:51.461652524 -0400 +@@ -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 +@@ -282,14 +283,14 @@ + endif + + $(PROJECT_NAME).pc: $(PROJECT_NAME).pc.in +- @sed -e 's;@prefix@;$(PREFIX);' -e 's;@VERSION@;$(FULL_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@;$(FULL_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@;$(FULL_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@;$(FULL_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) diff --git a/media-libs/openh264/openh264-1.6.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild index afef0139aede..0296f9e0e9e8 100644 --- a/media-libs/openh264/openh264-1.6.0.ebuild +++ b/media-libs/openh264/openh264-1.7.0.ebuild @@ -25,7 +25,7 @@ DEPEND=" DOCS=( LICENSE CONTRIBUTORS README.md ) src_prepare() { - epatch "${FILESDIR}"/${PN}-1.5.0-pkgconfig-pathfix.patch + epatch "${FILESDIR}"/${PN}-1.7.0-pkgconfig-pathfix.patch multilib_copy_sources } |