summaryrefslogtreecommitdiff
path: root/pcr/shotcut/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-31 23:12:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-31 23:12:05 -0300
commit058d5611d2f1682b29d5af1fbcef2b73d0e536a7 (patch)
tree21b8bececd5acf68218d9aea78cb71291f72c703 /pcr/shotcut/PKGBUILD
parent67dd516373070fd22df2398635fe0acc12209dc8 (diff)
shotcut: add new package to [pcr]
Diffstat (limited to 'pcr/shotcut/PKGBUILD')
-rw-r--r--pcr/shotcut/PKGBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/pcr/shotcut/PKGBUILD b/pcr/shotcut/PKGBUILD
new file mode 100644
index 000000000..4e15766eb
--- /dev/null
+++ b/pcr/shotcut/PKGBUILD
@@ -0,0 +1,61 @@
+pkgname=('shotcut')
+_srcname='shotcut'
+pkgdesc='Video editor'
+pkgver='16.08'
+pkgrel='1'
+arch=('i686' 'x86_64')
+url='https://github.com/mltframework/shotcut'
+license=('GPL3')
+
+depends=(
+ 'qt5-base'
+ 'qt5-declarative'
+ 'qt5-graphicaleffects'
+ 'qt5-multimedia'
+ 'qt5-quickcontrols'
+ 'qt5-webkit'
+ 'qt5-websockets'
+ 'qt5-x11extras'
+ 'mlt'
+ 'ffmpeg'
+ 'libx264'
+ 'libvpx'
+ 'lame'
+ 'frei0r-plugins'
+ 'ladspa'
+)
+makedepends=('git')
+provides=("${pkgname[0]%-git}")
+conflicts=("${pkgname[0]%-git}")
+
+source=(
+ "${_srcname}::git+${url}.git#tag=v${pkgver}"
+ 'shotcut.desktop'
+ 'melt.patch'
+)
+sha512sums=(
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+)
+
+prepare() {
+ cd "${srcdir}/${_srcname}"
+
+ git apply "${srcdir}/melt.patch"
+}
+
+build() {
+ cd "${srcdir}/${_srcname}"
+
+ qmake 'CONFIG-=c++11' PREFIX='/usr/'
+ make
+}
+
+package() {
+ cd "${srcdir}/${_srcname}"
+
+ make INSTALL_ROOT="${pkgdir}" install
+
+ install -D --mode=644 "${srcdir}/shotcut.desktop" "${pkgdir}/usr/share/applications/shotcut.desktop"
+}