summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStyle Mistake2016-03-28 19:55:40 +0300
committerStyle Mistake2016-03-28 19:55:40 +0300
commit2b444c420cb9654b0de16983a0796dc5d8ed83a4 (patch)
tree1856d04098c9c0f73293369d213942f62be02747
downloadaur-2b444c420cb9654b0de16983a0796dc5d8ed83a4.tar.gz
Initialized from bitwig-studio-demo
-rw-r--r--.SRCINFO25
-rw-r--r--.editorconfig14
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD50
-rw-r--r--bitwig-studio.launcher4
5 files changed, 99 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cef131be21e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = bitwig-studio
+ pkgdesc = Music production system for production, remixing and performance
+ pkgver = 1.3.8
+ pkgrel = 2
+ url = http://www.bitwig.com/
+ arch = x86_64
+ license = custom
+ depends = jack
+ depends = xdg-utils
+ depends = zenity
+ depends = xcb-util-wm
+ depends = libbsd
+ optdepends = alsa-lib
+ optdepends = oss
+ optdepends = ffmpeg: MP3 support
+ provides = bitwig-studio
+ conflicts = bitwig-studio-demo-rc
+ options = !strip
+ source = https://downloads.bitwig.com/stable/1.3.8/bitwig-studio-1.3.8.deb
+ source = bitwig-studio.launcher
+ md5sums = 062f57caa81af1e1168680f24ec12370
+ md5sums = 32411d3b742f15addef7b86681825fee
+
+pkgname = bitwig-studio
+
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000000..1e84ee0d252
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+# http://editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[.SRCINFO]
+indent_style = tab
+indent_size = 2
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5cbed7cbf29
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+/cp
+/src
+/pkg
+*.deb
+*.src.*
+*.pkg.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..57e1e082eed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: MKzero <info at linux-web-development dot de>
+# Contributor: Bitwig GmbH <support at bitwig dot com>
+
+pkgname='bitwig-studio'
+pkgver='1.3.8'
+pkgrel='2'
+pkgdesc='Music production system for production, remixing and performance'
+arch=('x86_64')
+url='http://www.bitwig.com/'
+license=('custom')
+# This list is not anywhere near what it should be and misses a lot of package
+# names. If you find yourself in a situation where you are missing something,
+# please tell me via mail or Github:
+# https://github.com/mkzero/bitwig-studio-demo-aur
+depends=('jack' 'xdg-utils' 'zenity' 'xcb-util-wm' 'libbsd')
+optdepends=('alsa-lib' 'oss' 'ffmpeg: MP3 support')
+provides=('bitwig-studio')
+conflicts=('bitwig-studio-demo-rc')
+options=(!strip)
+source=("https://downloads.bitwig.com/stable/${pkgver}/bitwig-studio-${pkgver}.deb"
+ 'bitwig-studio.launcher')
+md5sums=('062f57caa81af1e1168680f24ec12370'
+ '32411d3b742f15addef7b86681825fee')
+
+package() {
+ # Create pkgdir folders
+ install -d ${pkgdir}/usr/bin
+ install -d ${pkgdir}/opt/bitwig-studio
+ install -d ${pkgdir}/opt/bitwig-studio/libexec
+ install -d ${pkgdir}/usr/share/{applications,icons}
+ install -d ${pkgdir}/usr/share/licenses/${pkgname}
+
+ # Unpack package contents
+ bsdtar -xf ${srcdir}/data.tar.gz -C ${pkgdir}/
+
+ # Install launcher (replacing default symlink)
+ install -m755 ${srcdir}/bitwig-studio.launcher ${pkgdir}/usr/bin/bitwig-studio
+
+ # Workaround MP3 support by providing symlinks to ffmpeg
+ ln -s /usr/bin/ffmpeg ${pkgdir}/opt/bitwig-studio/libexec/avconv
+ ln -s /usr/bin/ffprobe ${pkgdir}/opt/bitwig-studio/libexec/avprobe
+
+ # Install license
+ install -m644 ${pkgdir}/opt/bitwig-studio/EULA.rtf \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+ # Fix launcher category
+ sed -i 's:Categories=Multimedia:Categories=Multimedia;AudioVideo;Player;Recorder;:' \
+ ${pkgdir}/usr/share/applications/bitwig-studio.desktop
+}
diff --git a/bitwig-studio.launcher b/bitwig-studio.launcher
new file mode 100644
index 00000000000..b40d1f5e5a6
--- /dev/null
+++ b/bitwig-studio.launcher
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+export PATH="${PATH}:/opt/bitwig-studio/libexec"
+/opt/bitwig-studio/bitwig-studio "${@}"