[arch-commits] Commit in (6 files)
Maxime Gauduin
alucryd at archlinux.org
Tue Apr 30 09:52:07 UTC 2019
Date: Tuesday, April 30, 2019 @ 09:52:06
Author: alucryd
Revision: 456714
add an older ffnvcodec for emby
Added:
ffnvcodec-headers8.1/
ffnvcodec-headers8.1/trunk/
ffnvcodec-headers8.1/trunk/.SRCINFO
ffnvcodec-headers8.1/trunk/PKGBUILD
ffnvcodec-headers8.1/trunk/ffnvcodec-install.patch
Modified:
emby-server/trunk/PKGBUILD
----------------------------------------------------+
emby-server/trunk/PKGBUILD | 19 +++++-----
ffnvcodec-headers8.1/trunk/.SRCINFO | 13 ++++++
ffnvcodec-headers8.1/trunk/PKGBUILD | 36 +++++++++++++++++++
ffnvcodec-headers8.1/trunk/ffnvcodec-install.patch | 32 ++++++++++++++++
4 files changed, 91 insertions(+), 9 deletions(-)
Modified: emby-server/trunk/PKGBUILD
===================================================================
--- emby-server/trunk/PKGBUILD 2019-04-30 09:49:04 UTC (rev 456713)
+++ emby-server/trunk/PKGBUILD 2019-04-30 09:52:06 UTC (rev 456714)
@@ -2,10 +2,10 @@
# Contributor: Daniel Seymour <dannyseeless at gmail.com>
pkgname=emby-server
-pkgver=4.0.2.0
-_ffmpeg_ver=2018_12_01
-_ffdetect_ver=4.0.2
-pkgrel=3
+pkgver=4.1.1.0
+_ffmpeg_ver=2019_04_09
+_ffdetect_ver=4.0.3
+pkgrel=1
pkgdesc='Bring together your videos, music, photos, and live television'
arch=(any)
url=https://emby.media
@@ -23,6 +23,7 @@
libdrm
libfreetype.so
libjpeg-turbo
+ libmfx.so
libpng
libtheora
libva-drm.so
@@ -34,7 +35,7 @@
libx11
libx264.so
opus
- skia-sharp60
+ skia-sharp
sqlite
zlib
zvbi
@@ -56,9 +57,9 @@
)
noextract=(license.docx)
backup=(etc/conf.d/emby-server)
-sha256sums=('555e5646a6a70651876e0d61841d6a3365fd7f055ba7a1d2dcd93803c9915509'
- '1129e1bfb7fc4090cdd6e055d57b0cd90c9881f0db8b9ceb80fdd145de4ffc71'
- 'c25eea4ace3824c7172e0b7cab57cc2baa459004680fed5fa645355205fe2c51'
+sha256sums=('f89f9b2b3355a0674101834b36aa328822918bea5d466525634c50da0093c241'
+ 'd2081fd92e92ee90561c91edbd28ccba4beb1d72bdd38cd94c338726020e2e62'
+ '85697071cb6412d244fc6dd76f3561b6a42d7556ef20f26a702542b58198f0c7'
'ee6ed36a13fcd8fd0b2b818eac742cc2cc2513d7f8f6cd867fa8d1c45ef3dd22'
'd1a805284d8a1329f6f6e736423be747d8951c5a9600fbb79c13a6f9be7149c0'
'efdaabd3002fee13a6831e90fd700dea4d7c6c954ede00da6f28c1eada33ad8c'
@@ -109,7 +110,7 @@
package() {
install -dm 755 "${pkgdir}"/usr/lib
cp -dr --no-preserve='ownership' system "${pkgdir}"/usr/lib/emby-server
- ln -s ../libSkiaSharp.so.60.0.0 "${pkgdir}"/usr/lib/emby-server/libSkiaSharp.so
+ ln -s ../libSkiaSharp.so.68.0.0 "${pkgdir}"/usr/lib/emby-server/libSkiaSharp.so
install -Dm 755 emby-server -t "${pkgdir}"/usr/bin/
install -Dm 755 bin/ffdetect "${pkgdir}"/usr/bin/ffdetect-emby
install -Dm 755 ffmpeg-${_ffmpeg_ver}/ffmpeg "${pkgdir}"/usr/bin/ffmpeg-emby
Added: ffnvcodec-headers8.1/trunk/.SRCINFO
===================================================================
--- ffnvcodec-headers8.1/trunk/.SRCINFO (rev 0)
+++ ffnvcodec-headers8.1/trunk/.SRCINFO 2019-04-30 09:52:06 UTC (rev 456714)
@@ -0,0 +1,13 @@
+pkgbase = ffnvcodec-headers
+ pkgdesc = FFmpeg version of headers required to interface with Nvidias codec APIs
+ pkgver = 9.0.18.1
+ pkgrel = 1
+ url = https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
+ arch = any
+ license = MIT
+ makedepends = git
+ source = git+https://git.videolan.org/git/ffmpeg/nv-codec-headers.git#tag=n9.0.18.1
+ sha256sums = SKIP
+
+pkgname = ffnvcodec-headers
+
Added: ffnvcodec-headers8.1/trunk/PKGBUILD
===================================================================
--- ffnvcodec-headers8.1/trunk/PKGBUILD (rev 0)
+++ ffnvcodec-headers8.1/trunk/PKGBUILD 2019-04-30 09:52:06 UTC (rev 456714)
@@ -0,0 +1,36 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Bermond <danielbermond at yahoo.com>
+
+pkgname=ffnvcodec-headers8.1
+pkgver=8.1.24.9
+pkgrel=1
+pkgdesc='FFmpeg version of headers required to interface with Nvidias codec APIs'
+arch=(any)
+url=https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
+license=(MIT)
+makedepends=(git)
+source=(
+ git+https://git.videolan.org/git/ffmpeg/nv-codec-headers.git#tag=n${pkgver}
+ ffnvcodec-install.patch
+)
+sha256sums=('SKIP'
+ '248dc04818d010c470a2dc4436bd4091f6e2ef3e09d1b3fcb4d52ed08cd7809b')
+
+prepare() {
+ cd nv-codec-headers
+
+ patch -Np1 -i ../ffnvcodec-install.patch
+}
+
+build() {
+ make PREFIX='/usr' -C nv-codec-headers
+ sed -n '4,25p' nv-codec-headers/include/ffnvcodec/nvEncodeAPI.h > LICENSE # Extract license
+ sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments
+}
+
+package() {
+ make PREFIX='/usr' DESTDIR="${pkgdir}" -C nv-codec-headers install
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/ffnvcodec-headers8.1/
+}
+
+# vim: ts=2 sw=2 et:
Added: ffnvcodec-headers8.1/trunk/ffnvcodec-install.patch
===================================================================
--- ffnvcodec-headers8.1/trunk/ffnvcodec-install.patch (rev 0)
+++ ffnvcodec-headers8.1/trunk/ffnvcodec-install.patch 2019-04-30 09:52:06 UTC (rev 456714)
@@ -0,0 +1,32 @@
+diff -rupN nv-codec-headers.orig/ffnvcodec.pc.in nv-codec-headers/ffnvcodec.pc.in
+--- nv-codec-headers.orig/ffnvcodec.pc.in 2019-04-30 11:44:46.313950977 +0200
++++ nv-codec-headers/ffnvcodec.pc.in 2019-04-30 11:47:35.311985459 +0200
+@@ -1,5 +1,5 @@
+ prefix=@@PREFIX@@
+-includedir=${prefix}/include
++includedir=${prefix}/include/ffnvcodec8.1
+
+ Name: ffnvcodec
+ Description: FFmpeg version of Nvidia Codec SDK headers
+diff -rupN nv-codec-headers.orig/Makefile nv-codec-headers/Makefile
+--- nv-codec-headers.orig/Makefile 2019-04-30 11:44:46.313950977 +0200
++++ nv-codec-headers/Makefile 2019-04-30 11:48:37.275820562 +0200
+@@ -11,13 +11,13 @@ else
+ endif
+
+ install: all
+- $(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
+- $(INSTALL) -m 0644 include/ffnvcodec/*.h '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
+- $(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
+- $(INSTALL) -m 0644 ffnvcodec.pc '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
++ $(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1/ffnvcodec'
++ $(INSTALL) -m 0644 include/ffnvcodec/*.h '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1/ffnvcodec'
++ $(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig'
++ $(INSTALL) -m 0644 ffnvcodec.pc '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig'
+
+ uninstall:
+- rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec' '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/ffnvcodec.pc'
++ rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1' '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig/ffnvcodec.pc'
+
+ .PHONY: all install uninstall
+
More information about the arch-commits
mailing list