[arch-commits] Commit in gpac/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Fri Jun 28 08:18:56 UTC 2019


    Date: Friday, June 28, 2019 @ 08:18:55
  Author: alucryd
Revision: 485641

upgpkg: gpac 1:0.8.0-1

Modified:
  gpac/trunk/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 38 insertions(+), 34 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-28 06:32:18 UTC (rev 485640)
+++ PKGBUILD	2019-06-28 08:18:55 UTC (rev 485641)
@@ -2,51 +2,55 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=gpac
-pkgver=0.7.1
-pkgrel=4
+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' '!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')
+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')
 
-prepare() {
-  cd gpac-${pkgver}
-
-  patch -p1 -i ../gpac-openssl-1.1.patch
-  patch -p1 -i ../gpac-ffmpeg-4.0.patch
-}
-
 build() {
-  cd gpac-${pkgver}
+  cd gpac
 
   ./configure \
-    --prefix='/usr' \
-    --mandir='/usr/share/man' \
-    --X11-path='/usr' \
-    --use-js='no'
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --X11-path=/usr \
+    --use-js=no
   make
 }
 
 package() {
-  cd gpac-${pkgver}
+  cd gpac
 
-  make DESTDIR="${pkgdir}" install install-lib
+  make DESTDIR="${pkgdir}" STRIP=true install install-lib
 }
 
 # vim: ts=2 sw=2 et:


More information about the arch-commits mailing list