[arch-commits] Commit in gpac/repos/community-x86_64 (4 files)
Date: Tuesday, July 21, 2020 @ 11:22:25 Author: alucryd Revision: 664716 archrelease: copy trunk to community-x86_64 Added: gpac/repos/community-x86_64/PKGBUILD (from rev 664715, gpac/trunk/PKGBUILD) 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 | 113 +++ gpac-ffmpeg-4.0.patch | 42 - gpac-openssl-1.1.patch | 11 3 files changed, 57 insertions(+), 109 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-07-21 11:21:38 UTC (rev 664715) +++ PKGBUILD2020-07-21 11:22:25 UTC (rev 664716) @@ -1,56 +0,0 @@ -# Maintainer: Eric Bélanger -# Maintainer: Maxime Gauduin - -pkgname=gpac -pkgver=0.8.0 -pkgrel=2 -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: Copied: gpac/repos/community-x86_64/PKGBUILD (from rev 664715, gpac/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-07-21 11:22:25 UTC (rev 664716) @@ -0,0 +1,57 @@ +# Maintainer: Eric Bélanger +# Maintainer: Maxime Gauduin + +pkgname=gpac +pkgver=1.0.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=( + glibc + openssl + xz + zlib +) +makedepends=(git) +provides=(libgpac.so) +_tag=a99c032b7afbc2e0a55d0259fd09b4139f8a7402 +source=(git+https://github.com/gpac/gpac.git#tag=${_tag}) +sha256sums=(SKIP) + +pkgver() { + cd gpac + + git describe --tags | sed 's/^v//' +} + +prepare() { + cd gpac + + git cherry-pick -n 4710737bed502534499754afd730601c7ffb3d7b + git cherry-pick -n 1bfe33a9f4f985065efbff00ff700cca9e380be9 + git cherry-pick -n 45633fabccf331405f5c09aa44db86d6962dfd0f +} + +build() { + cd gpac + + ./configure \ +--prefix=/usr \ +--mandir=/usr/share/man \ +--disable-oss-audio \ +--disable-dvb4linux \ +--disable-qjs \ +--enable-pic \ +--use-js=no + make +} + +package() { + make DESTDIR="${pkgdir}" STRIP=true -C gpac install + make DESTDIR="${pkgdir}" STRIP=true -C gpac install-lib +} + +# vim: ts=2 sw=2 et: Deleted: gpac-ffmpeg-4.0.patch === --- gpac-ffmpeg-4.0.patch 2020-07-21 11:21:38 UTC (rev 664715) +++ gpac-ffmpeg-4.0.patch 2020-07-21 11:22:25 UTC (rev 664716) @@ -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_PADD
[arch-commits] Commit in gpac/repos/community-x86_64 (4 files)
Date: Thursday, January 1, 2015 @ 03:26:29 Author: eric Revision: 125101 archrelease: copy trunk to community-x86_64 Added: gpac/repos/community-x86_64/PKGBUILD (from rev 125100, gpac/trunk/PKGBUILD) gpac/repos/community-x86_64/gpac-ffmpeg.patch (from rev 125100, gpac/trunk/gpac-ffmpeg.patch) Deleted: gpac/repos/community-x86_64/PKGBUILD gpac/repos/community-x86_64/gpac-ffmpeg.patch ---+ PKGBUILD | 107 ++-- gpac-ffmpeg.patch | 94 ++--- 2 files changed, 101 insertions(+), 100 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-01-01 02:25:05 UTC (rev 125100) +++ PKGBUILD2015-01-01 02:26:29 UTC (rev 125101) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger - -pkgname=gpac -pkgver=5324 -pkgrel=1 -pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" -arch=('i686' 'x86_64') -url="http://gpac.sourceforge.net"; -license=('LGPL') -depends=('ffmpeg' 'libjpeg' 'libpng' 'glu' 'libxv') -makedepends=('jack' 'a52dec' 'freetype2' 'faad2' 'libmad' 'mesa') -optdepends=('jack: for jack support' 'a52dec: for A52 support' -'faad2: for AAC support' 'libmad: for mp3 support') -options=('staticlibs' '!makeflags') -source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig} gpac-ffmpeg.patch) -sha1sums=('cd00b88aa6da97708532fc8eb7ab65f6a0d0c1e0' - 'SKIP' - 'e758b8cdb0b4bca37134241a1b8ccc33d4deb54a') - -# source PKGBUILD && mksource -mksource() { - [[ -x /usr/bin/svn ]] || (echo "svn not found. Install subversion." && return 1) - _svnver=${pkgver} - _svntrunk="svn://svn.code.sf.net/p/gpac/code/trunk/gpac" - _svnmod="$pkgname-${pkgver}" - mkdir ${pkgname}-${pkgver} - pushd ${pkgname}-${pkgver} - svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod - revision="$(svnversion ${pkgname}-${pkgver})" - echo "#define GPAC_SVN_REVISION \"$revision\"" > ${pkgname}-${pkgver}/include/gpac/revision.h - find . -depth -type d -name .svn -exec rm -rf {} \; - tar -cJf ../${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/* - popd - rm -r ${pkgname}-${pkgver} - gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz -} - -prepare() { - cd ${pkgname}-${pkgver} - patch -p3 -i "${srcdir}/gpac-ffmpeg.patch" -} - -build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no - make -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install install-lib -} Copied: gpac/repos/community-x86_64/PKGBUILD (from rev 125100, gpac/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-01-01 02:26:29 UTC (rev 125101) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Eric Bélanger + +pkgname=gpac +pkgver=5324 +pkgrel=1 +pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" +arch=('i686' 'x86_64') +url="http://gpac.sourceforge.net"; +license=('LGPL') +depends=('ffmpeg' 'libjpeg' 'libpng' 'glu' 'libxv') +makedepends=('jack' 'a52dec' 'freetype2' 'faad2' 'libmad' 'mesa') +optdepends=('jack: for jack support' 'a52dec: for A52 support' +'faad2: for AAC support' 'libmad: for mp3 support') +options=('staticlibs' '!makeflags') +source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig} gpac-ffmpeg.patch) +sha1sums=('cd00b88aa6da97708532fc8eb7ab65f6a0d0c1e0' + 'SKIP' + 'e758b8cdb0b4bca37134241a1b8ccc33d4deb54a') +validpgpkeys=('5357F3B111688D88C1D88119FCF2CB179205AC90') + +# source PKGBUILD && mksource +mksource() { + [[ -x /usr/bin/svn ]] || (echo "svn not found. Install subversion." && return 1) + _svnver=${pkgver} + _svntrunk="svn://svn.code.sf.net/p/gpac/code/trunk/gpac" + _svnmod="$pkgname-${pkgver}" + mkdir ${pkgname}-${pkgver} + pushd ${pkgname}-${pkgver} + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + revision="$(svnversion ${pkgname}-${pkgver})" + echo "#define GPAC_SVN_REVISION \"$revision\"" > ${pkgname}-${pkgver}/include/gpac/revision.h + find . -depth -type d -name .svn -exec rm -rf {} \; + tar -cJf ../${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/* + popd + rm -r ${pkgname}-${pkgver} + gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz +} + +prepare() { + cd ${pkgname}-${pkgver} + patch -p3 -i "${srcdir}/gpac-ffmpeg.patch" +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install install-lib +} Deleted: gpac-ffmpeg.patch === --- gpac-ffmpeg.patch 2015-01-01 02:25:05 UTC (rev 125100) +++ gpac-ffmpeg.patch
[arch-commits] Commit in gpac/repos/community-x86_64 (4 files)
Date: Friday, October 25, 2013 @ 22:55:07 Author: eric Revision: 99218 archrelease: copy trunk to community-x86_64 Added: gpac/repos/community-x86_64/PKGBUILD (from rev 99217, gpac/trunk/PKGBUILD) gpac/repos/community-x86_64/gpac-ffmpeg.patch (from rev 99217, gpac/trunk/gpac-ffmpeg.patch) Deleted: gpac/repos/community-x86_64/PKGBUILD gpac/repos/community-x86_64/gpac-ffmpeg.patch ---+ PKGBUILD | 106 ++-- gpac-ffmpeg.patch | 74 ++-- 2 files changed, 90 insertions(+), 90 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2013-10-25 20:54:48 UTC (rev 99217) +++ PKGBUILD2013-10-25 20:55:07 UTC (rev 99218) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger - -pkgname=gpac -pkgver=4288 -pkgrel=3 -pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" -arch=('i686' 'x86_64') -url="http://gpac.sourceforge.net"; -license=('LGPL') -depends=('ffmpeg' 'libjpeg' 'libpng' 'glu' 'libxv') -makedepends=('jack' 'a52dec' 'freetype2' 'faad2' 'libmad' 'mesa') -optdepends=('jack: for jack support' 'a52dec: for A52 support' -'faad2: for AAC support' 'libmad: for mp3 support') -options=('!makeflags') -source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig} gpac-ffmpeg.patch) -sha1sums=('6ba29de672b6e4260e510e0e16d5bc0ab09cabb6' - 'SKIP' - '63f59ab745c57bf7d242e942e30a4e6c7a1236b0') - -# source PKGBUILD && mksource -mksource() { - [[ -x /usr/bin/svn ]] || (echo "svn not found. Install subversion." && return 1) - _svnver=${pkgver} - _svntrunk="svn://svn.code.sf.net/p/gpac/code/trunk/gpac" - _svnmod="$pkgname-${pkgver}" - mkdir ${pkgname}-${pkgver} - pushd ${pkgname}-${pkgver} - svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod - revision="$(svnversion ${pkgname}-${pkgver})" - echo "#define GPAC_SVN_REVISION \"$revision\"" > ${pkgname}-${pkgver}/include/gpac/revision.h - find . -depth -type d -name .svn -exec rm -rf {} \; - tar -cJf ../${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/* - popd - rm -r ${pkgname}-${pkgver} - gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz -} - -prepare() { - cd ${pkgname}-${pkgver} - patch -p0 -i "${srcdir}/gpac-ffmpeg.patch" -} - -build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no - make -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install install-lib -} Copied: gpac/repos/community-x86_64/PKGBUILD (from rev 99217, gpac/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2013-10-25 20:55:07 UTC (rev 99218) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Eric Bélanger + +pkgname=gpac +pkgver=4288 +pkgrel=3 +pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" +arch=('i686' 'x86_64') +url="http://gpac.sourceforge.net"; +license=('LGPL') +depends=('ffmpeg' 'libjpeg' 'libpng' 'glu' 'libxv') +makedepends=('jack' 'a52dec' 'freetype2' 'faad2' 'libmad' 'mesa') +optdepends=('jack: for jack support' 'a52dec: for A52 support' +'faad2: for AAC support' 'libmad: for mp3 support') +options=('staticlibs' '!makeflags') +source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig} gpac-ffmpeg.patch) +sha1sums=('6ba29de672b6e4260e510e0e16d5bc0ab09cabb6' + 'SKIP' + '63f59ab745c57bf7d242e942e30a4e6c7a1236b0') + +# source PKGBUILD && mksource +mksource() { + [[ -x /usr/bin/svn ]] || (echo "svn not found. Install subversion." && return 1) + _svnver=${pkgver} + _svntrunk="svn://svn.code.sf.net/p/gpac/code/trunk/gpac" + _svnmod="$pkgname-${pkgver}" + mkdir ${pkgname}-${pkgver} + pushd ${pkgname}-${pkgver} + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + revision="$(svnversion ${pkgname}-${pkgver})" + echo "#define GPAC_SVN_REVISION \"$revision\"" > ${pkgname}-${pkgver}/include/gpac/revision.h + find . -depth -type d -name .svn -exec rm -rf {} \; + tar -cJf ../${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/* + popd + rm -r ${pkgname}-${pkgver} + gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz +} + +prepare() { + cd ${pkgname}-${pkgver} + patch -p0 -i "${srcdir}/gpac-ffmpeg.patch" +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install install-lib +} Deleted: gpac-ffmpeg.patch === --- gpac-ffmpeg.patch 2013-10-25 20:54:48 UTC (rev 99217) +++ gpac-ffmpeg.patch 2013-10-25 20:55:07 UTC (rev 99218) @@ -1,37 +0,0 @@ modules/ffmpeg_in/ffmpeg_decode.c