diff options
author | Ronan Pigott | 2020-05-14 22:43:09 -0700 |
---|---|---|
committer | Ronan Pigott | 2020-05-14 23:04:57 -0700 |
commit | 7dba1e2bba871b69c104b65f5729fb488ae707c7 (patch) | |
tree | e523eba3f8d199972228a8cdab25911c6629388b | |
download | aur-7dba1e2bba871b69c104b65f5729fb488ae707c7.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | qencoder.desktop | 10 |
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d56c6e7d5339 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = qencoder + pkgdesc = A Qt video encoder GUI for open codec formats + pkgver = 1.1.1 + pkgrel = 1 + url = https://github.com/natis1/qencoder + arch = any + license = GPL3 + makedepends = python-setuptools + depends = python + depends = python-pyqt5 + depends = python-psutil + depends = python-opencv-python + depends = python-scenedetect + depends = python-tqdm + depends = python-scipy + depends = python-numpy + depends = libvpx + depends = aom + depends = ffmpeg + source = https://files.pythonhosted.org/packages/source/q/qencoder/qencoder-1.1.1.tar.gz + source = qencoder.desktop + sha256sums = 634e5b591aa4f5b584b46a5e626f5fdff9b6dac69dcc9c2d6a6098611e19fd87 + sha256sums = 3e9786a3fe1b7d6e3798fcf07cdd1e5db29e125cdc4c559dc095a8b1a143b1a5 + +pkgname = qencoder + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ac57de13d0b8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Ronan Pigott <rpigott@berkeley.edu> + +pkgname=qencoder +_name="${pkgname#python-}" +pkgver=1.1.1 +pkgrel=1 +pkgdesc='A Qt video encoder GUI for open codec formats' +url='https://github.com/natis1/qencoder' +arch=('any') +license=('GPL3') +source=( + "https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz" + "qencoder.desktop" +) +makedepends=('python-setuptools') +depends=( + 'python' 'python-pyqt5' 'python-psutil' + 'python-opencv-python' 'python-scenedetect' 'python-tqdm' + 'python-scipy' 'python-numpy' + 'libvpx' 'aom' 'ffmpeg' +) +sha256sums=('634e5b591aa4f5b584b46a5e626f5fdff9b6dac69dcc9c2d6a6098611e19fd87' + '3e9786a3fe1b7d6e3798fcf07cdd1e5db29e125cdc4c559dc095a8b1a143b1a5') + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +package() { + install -Dm644 qencoder.desktop "$pkgdir/usr/share/applications/qencoder.desktop" + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} diff --git a/qencoder.desktop b/qencoder.desktop new file mode 100644 index 000000000000..32fba972a2fa --- /dev/null +++ b/qencoder.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=qencoder +GenericName=Video Encoder +Comment=Open Codec Video Encoder +Exec=qencoder +Icon=qencoder +Terminal=false +Type=Application +Categories=Qt;Video; +MimeType=application/x-extension-mp4;application/x-matroska;video/mp4;video/mp4v-es;video/mpeg;video/x-avi;video/x-m4v;video/x-matroska;video/x-mpeg;x-content/video-dvd; |