[arch-commits] Commit in element/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Jul 18 11:10:30 UTC 2020
Date: Saturday, July 18, 2020 @ 11:10:30
Author: dvzrv
Revision: 664412
archrelease: copy trunk to community-x86_64
Added:
element/repos/community-x86_64/PKGBUILD
(from rev 664411, element/trunk/PKGBUILD)
Deleted:
element/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 66 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-18 11:10:21 UTC (rev 664411)
+++ PKGBUILD 2020-07-18 11:10:30 UTC (rev 664412)
@@ -1,64 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=element
-pkgver=0.44.0
-pkgrel=1
-pkgdesc="A modular LV2/VST3 audio plugin host"
-arch=('x86_64')
-url="https://github.com/kushview/element"
-license=('GPL3')
-groups=('pro-audio')
-depends=('cairo' 'fontconfig' 'gcc-libs' 'glibc' 'gdk-pixbuf2' 'libx11'
-'libxext')
-makedepends=('alsa-lib' 'atk' 'boost' 'curl' 'freetype2' 'git' 'glib2' 'gtk2'
-'harfbuzz' 'jack' 'ladspa' 'lilv' 'lua' 'lv2' 'pango' 'readline' 'serd' 'sord'
-'sratom' 'suil' 'waf')
-checkdepends=('xorg-server-xvfb')
-optdepends=('lua: for LUA scripting')
-source=("git+https://github.com/kushview/${pkgname}#tag=${pkgver}?signed"
- "git+https://github.com/kushview/kv-modules"
- "git+https://github.com/WeAreRoli/JUCE.git"
- "git+https://github.com/lvtk/jlv2")
-md5sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-validpgpkeys=('52CB000FABB9DBE345CD478980A5F4BE60360CDE') # Michael Fisher <mfisher at kushview.net>
-
-prepare() {
- cd "$pkgname"
- git submodule init
- git config submodule.libs/kv.url "${srcdir}/kv-modules"
- git config submodule.libs/JUCE.url "${srcdir}/JUCE"
- git config submodule.libs/jlv2.url "${srcdir}/jlv2"
- git submodule update
-}
-
-build() {
- cd "$pkgname"
- waf configure --prefix=/usr \
- --enable-docking \
- --test
- waf build -vv
-}
-
-check() {
- cd "$pkgname"
- LD_LIBRARY_PATH="${PWD}/build/lib:${LD_LIBRARY_PATH}" xvfb-run waf check
-}
-
-package() {
- depends+=('libasound.so' 'libatk-1.0.so' 'libcurl.so' 'libfreetype.so'
- 'libgdk-x11-2.0.so' 'libgio-2.0.so' 'libgobject-2.0.so' 'libglib-2.0.so'
- 'libgtk-x11-2.0.so' 'libharfbuzz.so' 'libjack.so' 'liblilv-0.so'
- 'libpangoft2-1.0.so' 'libpango-1.0.so' 'libreadline.so' 'libserd-0.so'
- 'libsord-0.so' 'libsratom-0.so' 'libsuil-0.so')
- cd "$pkgname"
- waf install --destdir="${pkgdir}"
- install -vDm 644 {AUTHORS,CODE_OF_CONDUCT,CONTRIBUTING,README}.md \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 docs/*.md \
- -t "${pkgdir}/usr/share/doc/${pkgname}/docs"
- install -vDm 644 docs/img/*.png \
- -t "${pkgdir}/usr/share/doc/${pkgname}/docs/img"
-}
Copied: element/repos/community-x86_64/PKGBUILD (from rev 664411, element/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-18 11:10:30 UTC (rev 664412)
@@ -0,0 +1,66 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=element
+pkgver=0.44.0
+pkgrel=2
+pkgdesc="A modular LV2/VST3 audio plugin host"
+arch=('x86_64')
+url="https://github.com/kushview/element"
+license=('GPL3')
+groups=('pro-audio')
+depends=('cairo' 'gcc-libs' 'glibc' 'gdk-pixbuf2' 'libx11' 'libxext')
+makedepends=('alsa-lib' 'atk' 'boost' 'curl' 'fontconfig' 'freetype2' 'git'
+'glib2' 'gtk2' 'harfbuzz' 'jack' 'ladspa' 'lilv' 'lua' 'lv2' 'pango' 'readline'
+'serd' 'sord' 'sratom' 'suil' 'waf')
+checkdepends=('xorg-server-xvfb')
+optdepends=('lua: for LUA scripting')
+source=("git+https://github.com/kushview/${pkgname}#tag=${pkgver}?signed"
+ "git+https://github.com/kushview/kv-modules"
+ "git+https://github.com/WeAreRoli/JUCE.git"
+ "git+https://github.com/lvtk/jlv2")
+md5sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+validpgpkeys=('52CB000FABB9DBE345CD478980A5F4BE60360CDE') # Michael Fisher <mfisher at kushview.net>
+
+prepare() {
+ cd "$pkgname"
+ git submodule init
+ git config submodule.libs/kv.url "${srcdir}/kv-modules"
+ git config submodule.libs/JUCE.url "${srcdir}/JUCE"
+ git config submodule.libs/jlv2.url "${srcdir}/jlv2"
+ git submodule update
+}
+
+build() {
+ cd "$pkgname"
+ waf configure --prefix=/usr \
+ --enable-docking \
+ --test
+ waf build -vv
+}
+
+check() {
+ cd "$pkgname"
+ LD_LIBRARY_PATH="${PWD}/build/lib:${LD_LIBRARY_PATH}" xvfb-run waf check
+}
+
+package() {
+ depends+=('libasound.so' 'libatk-1.0.so' 'libcurl.so' 'libfontconfig.so'
+ 'libfreetype.so' 'libgdk-x11-2.0.so' 'libgio-2.0.so' 'libgobject-2.0.so'
+ 'libglib-2.0.so' 'libgtk-x11-2.0.so' 'libharfbuzz.so' 'libjack.so'
+ 'liblilv-0.so' 'libpangoft2-1.0.so' 'libpango-1.0.so' 'libreadline.so'
+ 'libserd-0.so' 'libsord-0.so' 'libsratom-0.so' 'libsuil-0.so')
+ cd "$pkgname"
+ waf install --destdir="${pkgdir}"
+ install -vDm 644 {AUTHORS,CODE_OF_CONDUCT,CONTRIBUTING,README}.md \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 docs/*.md \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/docs"
+ install -vDm 644 docs/img/*.png \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/docs/img"
+ # move XDG desktop integration so there's no file name clash with element-desktop
+ # https://github.com/kushview/Element/issues/216
+ mv -v "${pkgdir}/usr/share/applications/"{,net.kushview.}"${pkgname}.desktop"
+}
More information about the arch-commits
mailing list