[arch-commits] Commit in gpac/repos/community-x86_64 (6 files)

Maxime Gauduin alucryd at archlinux.org
Fri Jun 28 08:19:03 UTC 2019


    Date: Friday, June 28, 2019 @ 08:19:03
  Author: alucryd
Revision: 485642

archrelease: copy trunk to community-x86_64

Added:
  gpac/repos/community-x86_64/PKGBUILD
    (from rev 485641, gpac/trunk/PKGBUILD)
  gpac/repos/community-x86_64/gpac-ffmpeg-4.0.patch
    (from rev 485641, gpac/trunk/gpac-ffmpeg-4.0.patch)
  gpac/repos/community-x86_64/gpac-openssl-1.1.patch
    (from rev 485641, gpac/trunk/gpac-openssl-1.1.patch)
Deleted:
  gpac/repos/community-x86_64/PKGBUILD
  gpac/repos/community-x86_64/gpac-ffmpeg-4.0.patch
  gpac/repos/community-x86_64/gpac-openssl-1.1.patch

------------------------+
 PKGBUILD               |  109 ++++++++++++++++++++++++-----------------------
 gpac-ffmpeg-4.0.patch  |   84 ++++++++++++++++++------------------
 gpac-openssl-1.1.patch |   22 ++++-----
 3 files changed, 109 insertions(+), 106 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-28 08:18:55 UTC (rev 485641)
+++ PKGBUILD	2019-06-28 08:19:03 UTC (rev 485642)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=gpac
-pkgver=0.7.1
-pkgrel=4
-epoch=1
-pkgdesc='A multimedia framework based on the MPEG-4 Systems standard'
-arch=('x86_64')
-url='https://gpac.wp.imt.fr/'
-license=('LGPL')
-depends=('ffmpeg' 'glu' 'libxv')
-makedepends=('git' 'jack' 'a52dec' 'freetype2' 'faad2' 'libmad' 'mesa' 'sdl2')
-optdepends=('jack: for jack support'
-            'a52dec: for A52 support'
-            'faad2: for AAC support'
-            'libmad: for mp3 support'
-            'sdl2: for sdl support')
-provides=('libgpac.so')
-options=('staticlibs' '!makeflags')
-source=("gpac-${pkgver}.tar.gz::https://github.com/gpac/gpac/archive/v${pkgver}.tar.gz"
-        'gpac-openssl-1.1.patch'
-        'gpac-ffmpeg-4.0.patch')
-sha256sums=('c7a18b9eea1264fee392e7222d16b180e0acdd6bb173ff6b8baadbf50b3b1d7f'
-            '3a8b7b51192424df5aee3bf11a0207c9374aabcfba4db90522af2e3bbc37bbbe'
-            '23e8555ae2d21a587d6a796acef7b96eff6ce01afd148eff5beb6370f830b316')
-
-prepare() {
-  cd gpac-${pkgver}
-
-  patch -p1 -i ../gpac-openssl-1.1.patch
-  patch -p1 -i ../gpac-ffmpeg-4.0.patch
-}
-
-build() {
-  cd gpac-${pkgver}
-
-  ./configure \
-    --prefix='/usr' \
-    --mandir='/usr/share/man' \
-    --X11-path='/usr' \
-    --use-js='no'
-  make
-}
-
-package() {
-  cd gpac-${pkgver}
-
-  make DESTDIR="${pkgdir}" install install-lib
-}
-
-# vim: ts=2 sw=2 et:

Copied: gpac/repos/community-x86_64/PKGBUILD (from rev 485641, gpac/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-28 08:19:03 UTC (rev 485642)
@@ -0,0 +1,56 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=gpac
+pkgver=0.8.0
+pkgrel=1
+epoch=1
+pkgdesc='A multimedia framework based on the MPEG-4 Systems standard'
+arch=(x86_64)
+url=https://gpac.wp.imt.fr/
+license=(LGPL)
+depends=(
+  ffmpeg
+  glu
+  libxv
+)
+makedepends=(
+  git
+  jack
+  a52dec
+  freetype2
+  faad2
+  libmad
+  mesa
+  sdl2
+)
+optdepends=(
+  'jack: for jack support'
+  'a52dec: for A52 support'
+  'faad2: for AAC support'
+  'libmad: for mp3 support'
+  'sdl2: for sdl support'
+)
+provides=(libgpac.so)
+options=(staticlibs)
+source=(git+https://github.com/gpac/gpac.git#tag=v${pkgver})
+sha256sums=('SKIP')
+
+build() {
+  cd gpac
+
+  ./configure \
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --X11-path=/usr \
+    --use-js=no
+  make
+}
+
+package() {
+  cd gpac
+
+  make DESTDIR="${pkgdir}" STRIP=true install install-lib
+}
+
+# vim: ts=2 sw=2 et:

Deleted: gpac-ffmpeg-4.0.patch
===================================================================
--- gpac-ffmpeg-4.0.patch	2019-06-28 08:18:55 UTC (rev 485641)
+++ gpac-ffmpeg-4.0.patch	2019-06-28 08:19:03 UTC (rev 485642)
@@ -1,42 +0,0 @@
-diff -rupN gpac-0.7.1.orig/applications/dashcast/video_encoder.c gpac-0.7.1/applications/dashcast/video_encoder.c
---- gpac-0.7.1.orig/applications/dashcast/video_encoder.c	2018-04-26 09:19:52.938118328 +0200
-+++ gpac-0.7.1/applications/dashcast/video_encoder.c	2018-04-26 09:20:03.165170164 +0200
-@@ -144,7 +144,7 @@ int dc_video_encoder_open(VideoOutputFil
- 	}
- 
- 	//the global header gives access to the extradata (SPS/PPS)
--	video_output_file->codec_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
-+	video_output_file->codec_ctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
- 
- 	video_output_file->vstream_idx = 0;//video_stream->index;
- 
-diff -rupN gpac-0.7.1.orig/modules/ffmpeg_in/ffmpeg_decode.c gpac-0.7.1/modules/ffmpeg_in/ffmpeg_decode.c
---- gpac-0.7.1.orig/modules/ffmpeg_in/ffmpeg_decode.c	2018-04-26 09:19:53.034788555 +0200
-+++ gpac-0.7.1/modules/ffmpeg_in/ffmpeg_decode.c	2018-04-26 09:30:09.739463486 +0200
-@@ -49,7 +49,7 @@
- static uint8_t * ffmpeg_realloc_buffer(uint8_t * oldBuffer, u32 size) {
- 	uint8_t * buffer;
- 	/* Size of buffer must be larger, see avcodec_decode_video2 documentation */
--	u32 allocatedSz = sizeof( char ) * (FF_INPUT_BUFFER_PADDING_SIZE + size);
-+	u32 allocatedSz = sizeof( char ) * (AV_INPUT_BUFFER_PADDING_SIZE + size);
- 	if (oldBuffer)
- 		gf_free(oldBuffer);
- 	buffer = (uint8_t*)gf_malloc( allocatedSz );
-@@ -577,7 +577,7 @@ static GF_Err FFDEC_GetCapabilities(GF_B
- 		capability->cap.valueInt = 1;
- 		return GF_OK;
- 	case GF_CODEC_PADDING_BYTES:
--		capability->cap.valueInt = FF_INPUT_BUFFER_PADDING_SIZE;
-+		capability->cap.valueInt = AV_INPUT_BUFFER_PADDING_SIZE;
- 		return GF_OK;
- 	case GF_CODEC_REORDER:
- 		capability->cap.valueInt = 1;
-@@ -669,7 +669,7 @@ static GF_Err FFDEC_GetCapabilities(GF_B
- 		break;
- 
- 	case GF_CODEC_PADDING_BYTES:
--		capability->cap.valueInt = FF_INPUT_BUFFER_PADDING_SIZE;
-+		capability->cap.valueInt = AV_INPUT_BUFFER_PADDING_SIZE;
- 		break;
- 	default:
- 		capability->cap.valueInt = 0;

Copied: gpac/repos/community-x86_64/gpac-ffmpeg-4.0.patch (from rev 485641, gpac/trunk/gpac-ffmpeg-4.0.patch)
===================================================================
--- gpac-ffmpeg-4.0.patch	                        (rev 0)
+++ gpac-ffmpeg-4.0.patch	2019-06-28 08:19:03 UTC (rev 485642)
@@ -0,0 +1,42 @@
+diff -rupN gpac-0.7.1.orig/applications/dashcast/video_encoder.c gpac-0.7.1/applications/dashcast/video_encoder.c
+--- gpac-0.7.1.orig/applications/dashcast/video_encoder.c	2018-04-26 09:19:52.938118328 +0200
++++ gpac-0.7.1/applications/dashcast/video_encoder.c	2018-04-26 09:20:03.165170164 +0200
+@@ -144,7 +144,7 @@ int dc_video_encoder_open(VideoOutputFil
+ 	}
+ 
+ 	//the global header gives access to the extradata (SPS/PPS)
+-	video_output_file->codec_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
++	video_output_file->codec_ctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
+ 
+ 	video_output_file->vstream_idx = 0;//video_stream->index;
+ 
+diff -rupN gpac-0.7.1.orig/modules/ffmpeg_in/ffmpeg_decode.c gpac-0.7.1/modules/ffmpeg_in/ffmpeg_decode.c
+--- gpac-0.7.1.orig/modules/ffmpeg_in/ffmpeg_decode.c	2018-04-26 09:19:53.034788555 +0200
++++ gpac-0.7.1/modules/ffmpeg_in/ffmpeg_decode.c	2018-04-26 09:30:09.739463486 +0200
+@@ -49,7 +49,7 @@
+ static uint8_t * ffmpeg_realloc_buffer(uint8_t * oldBuffer, u32 size) {
+ 	uint8_t * buffer;
+ 	/* Size of buffer must be larger, see avcodec_decode_video2 documentation */
+-	u32 allocatedSz = sizeof( char ) * (FF_INPUT_BUFFER_PADDING_SIZE + size);
++	u32 allocatedSz = sizeof( char ) * (AV_INPUT_BUFFER_PADDING_SIZE + size);
+ 	if (oldBuffer)
+ 		gf_free(oldBuffer);
+ 	buffer = (uint8_t*)gf_malloc( allocatedSz );
+@@ -577,7 +577,7 @@ static GF_Err FFDEC_GetCapabilities(GF_B
+ 		capability->cap.valueInt = 1;
+ 		return GF_OK;
+ 	case GF_CODEC_PADDING_BYTES:
+-		capability->cap.valueInt = FF_INPUT_BUFFER_PADDING_SIZE;
++		capability->cap.valueInt = AV_INPUT_BUFFER_PADDING_SIZE;
+ 		return GF_OK;
+ 	case GF_CODEC_REORDER:
+ 		capability->cap.valueInt = 1;
+@@ -669,7 +669,7 @@ static GF_Err FFDEC_GetCapabilities(GF_B
+ 		break;
+ 
+ 	case GF_CODEC_PADDING_BYTES:
+-		capability->cap.valueInt = FF_INPUT_BUFFER_PADDING_SIZE;
++		capability->cap.valueInt = AV_INPUT_BUFFER_PADDING_SIZE;
+ 		break;
+ 	default:
+ 		capability->cap.valueInt = 0;

Deleted: gpac-openssl-1.1.patch
===================================================================
--- gpac-openssl-1.1.patch	2019-06-28 08:18:55 UTC (rev 485641)
+++ gpac-openssl-1.1.patch	2019-06-28 08:19:03 UTC (rev 485642)
@@ -1,11 +0,0 @@
---- a/src/utils/downloader.c
-+++ b/src/utils/downloader.c
-@@ -391,7 +391,6 @@
- 	}
- 	SSL_library_init();
- 	SSL_load_error_strings();
--	SSLeay_add_all_algorithms();
- 	SSLeay_add_ssl_algorithms();
- 	_ssl_is_initialized = GF_TRUE;
- 	GF_LOG(GF_LOG_DEBUG, GF_LOG_NETWORK, ("[HTTPS] Initalization of SSL library complete.\n"));
-

Copied: gpac/repos/community-x86_64/gpac-openssl-1.1.patch (from rev 485641, gpac/trunk/gpac-openssl-1.1.patch)
===================================================================
--- gpac-openssl-1.1.patch	                        (rev 0)
+++ gpac-openssl-1.1.patch	2019-06-28 08:19:03 UTC (rev 485642)
@@ -0,0 +1,11 @@
+--- a/src/utils/downloader.c
++++ b/src/utils/downloader.c
+@@ -391,7 +391,6 @@
+ 	}
+ 	SSL_library_init();
+ 	SSL_load_error_strings();
+-	SSLeay_add_all_algorithms();
+ 	SSLeay_add_ssl_algorithms();
+ 	_ssl_is_initialized = GF_TRUE;
+ 	GF_LOG(GF_LOG_DEBUG, GF_LOG_NETWORK, ("[HTTPS] Initalization of SSL library complete.\n"));
+


More information about the arch-commits mailing list