diff options
author | Alan Beale | 2019-01-27 18:42:19 +0000 |
---|---|---|
committer | Alan Beale | 2019-01-27 18:42:19 +0000 |
commit | 44d69a977ed45222fd5421d7f1938bfb315acefe (patch) | |
tree | 3fffcc5d054ee11f52aaab5a52a1a0e351c8a9e2 | |
download | aur-44d69a977ed45222fd5421d7f1938bfb315acefe.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 84 | ||||
-rw-r--r-- | PKGBUILD | 53 |
2 files changed, 137 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bf8d5e88bc32 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,84 @@ +pkgbase = handbrake-nvenc + pkgver = 1.2.0 + pkgrel = 1 + url = https://handbrake.fr/ + arch = x86_64 + license = GPL + makedepends = intltool + makedepends = python2 + makedepends = nasm + makedepends = wget + makedepends = cmake + makedepends = bzip2 + makedepends = gcc-libs + makedepends = xz + makedepends = zlib + makedepends = libnotify + makedepends = gst-plugins-base + makedepends = gtk3 + makedepends = dbus-glib + makedepends = libass + makedepends = lame + makedepends = libxml2 + makedepends = opus + makedepends = libvorbis + makedepends = libtheora + makedepends = libsamplerate + makedepends = speex + makedepends = x264 + makedepends = jansson + makedepends = librsvg + makedepends = libgudev + conflicts = handbrake + source = https://download.handbrake.fr/releases/1.2.0/HandBrake-1.2.0-source.tar.bz2 + source = https://github.com/HandBrake/HandBrake/releases/download/1.2.0/HandBrake-1.2.0-source.tar.bz2.sig + validpgpkeys = 1629C061B3DDE7EB4AE34B81021DB8B44E4A8645 + sha256sums = 113b398a50147d48c8777e6ff2c4de6825af5f1079b3822e41bf0eacec9c940d + sha256sums = SKIP + +pkgname = handbrake-nvenc + pkgdesc = Multithreaded video transcoder with NVEnc Support + depends = bzip2 + depends = gcc-libs + depends = zlib + depends = gst-plugins-base + depends = libnotify + depends = dbus-glib + depends = gtk3 + depends = xz + depends = libass + depends = lame + depends = libxml2 + depends = opus + depends = libvorbis + depends = libtheora + depends = libsamplerate + depends = speex + depends = x264 + depends = jansson + depends = librsvg + depends = libgudev + depends = desktop-file-utils + depends = hicolor-icon-theme + optdepends = gst-plugins-good: for video previews + optdepends = gst-libav: for video previews + optdepends = libdvdcss: for decoding encrypted DVDs + +pkgname = handbrake-nvenc-cli + pkgdesc = Multithreaded video transcoder (CLI) with NVEnc Support + depends = bzip2 + depends = gcc-libs + depends = zlib + depends = xz + depends = libass + depends = lame + depends = libxml2 + depends = opus + depends = libvorbis + depends = libtheora + depends = libsamplerate + depends = speex + depends = x264 + depends = jansson + optdepends = libdvdcss: for decoding encrypted DVDs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b46a809afa44 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Alan Beale <the.mrabz@gmail.com> + +pkgname=('handbrake-nvenc' 'handbrake-nvenc-cli') +pkgver=1.2.0 +pkgrel=1 +arch=('x86_64') +url="https://handbrake.fr/" +license=('GPL') +makedepends=('intltool' 'python2' 'nasm' 'wget' 'cmake' 'bzip2' 'gcc-libs' 'xz' + 'zlib' 'libnotify' 'gst-plugins-base' 'gtk3' 'dbus-glib' 'libass' + 'lame' 'libxml2' 'opus' 'libvorbis' 'libtheora' 'libsamplerate' + 'speex' 'x264' 'jansson' 'librsvg' 'libgudev') +source=(https://download.handbrake.fr/releases/$pkgver/HandBrake-$pkgver-source.tar.bz2 + https://github.com/HandBrake/HandBrake/releases/download/$pkgver/HandBrake-$pkgver-source.tar.bz2.sig) +sha256sums=('113b398a50147d48c8777e6ff2c4de6825af5f1079b3822e41bf0eacec9c940d' + 'SKIP') +validpgpkeys+=('1629C061B3DDE7EB4AE34B81021DB8B44E4A8645') # HandBrake Team <developers@handbrake.fr> +conflicts=('handbrake') + +build() { + cd "$srcdir/HandBrake-$pkgver" + + ./configure --prefix=/usr --enable-nvenc + make -C build +} + +package_handbrake-nvenc() { + pkgdesc="Multithreaded video transcoder with NVEnc Support" + depends=('bzip2' 'gcc-libs' 'zlib' 'gst-plugins-base' 'libnotify' 'dbus-glib' + 'gtk3' 'xz' 'libass' 'lame' 'libxml2' 'opus' 'libvorbis' 'libtheora' + 'libsamplerate' 'speex' 'x264' 'jansson' 'librsvg' 'libgudev' + 'desktop-file-utils' 'hicolor-icon-theme') + optdepends=('gst-plugins-good: for video previews' + 'gst-libav: for video previews' + 'libdvdcss: for decoding encrypted DVDs') + + cd "$srcdir/HandBrake-$pkgver/build" + + make DESTDIR="$pkgdir" install + rm "$pkgdir/usr/bin/HandBrakeCLI" +} + +package_handbrake-nvenc-cli() { + pkgdesc="Multithreaded video transcoder (CLI) with NVEnc Support" + depends=('bzip2' 'gcc-libs' 'zlib' 'xz' 'libass' 'lame' 'libxml2' 'opus' + 'libvorbis' 'libtheora' 'libsamplerate' 'speex' 'x264' 'jansson') + optdepends=('libdvdcss: for decoding encrypted DVDs') + + cd "$srcdir/HandBrake-$pkgver/build" + install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI" +} + +# vim:set ts=2 sw=2 et: |