Skip to content

Instantly share code, notes, and snippets.

Christopher Arndt SpotlightKid

Block or report user

Report or block SpotlightKid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .gitignore
pkg/
src/
*.lv2/
gxplugins-lv2/
gxplugins-lv2-git-*.pkg.tar.xz
gxplugins-lv2-git-*.pkg.tar.zst
@SpotlightKid
SpotlightKid / slplugins-build.sh.diff
Last active May 8, 2020
Fix for slPlugins build script for non-Debian/Ubuntu Linux systems
View slplugins-build.sh.diff
diff --git a/ci/build.sh b/ci/build.sh
index b66d55c..2251fac 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -1,12 +1,19 @@
#!/bin/bash -e
# linux specific stiff
-if [ $OS = "linux" ]; then
+if [ "$(uname -s)" = "Linux" ]; then
@SpotlightKid
SpotlightKid / .gitignore
Created Dec 14, 2019
Updated PKGBUILD and patch for klick-git AUR package
View .gitignore
klick/
pkg/
src/
klick-git-*.pkg.tar.xz
klick-git-*.src.tar.gz
@SpotlightKid
SpotlightKid / xdg_get_data.py
Last active Nov 24, 2019
Get application data files according to XDG basedir spec
View xdg_get_data.py
#!/usr/bin/env python
import os
from os.path import expanduser, isdir, isfile, join, sep as pathsep
XDG_DATA_HOME = os.environ.get('XDG_DATA_HOME')
if not XDG_DATA_HOME:
XDG_DATA_HOME = join(expanduser('~'), '.local', 'share')
@SpotlightKid
SpotlightKid / lv_plugin_uris.py
Last active Nov 8, 2019
Print URIs associated with an LV2 plugin
View lv_plugin_uris.py
#!/usr/bin/env python
import sys
import lilv
if len(sys.argv) < 2:
sys.exit("Usage: %s <plugin URI>" % sys.argv[0])
w = lilv.World()
@SpotlightKid
SpotlightKid / vital-install.sh
Last active Oct 28, 2019
Install script for Vital Linux binaries archive
View vital-install.sh
#!/bin/bash -e
#
# Install script for Vital Linux binaries archive
#
# Installs everything under the user's home directory by default.
# Set the environment variables LV2_DIR, BIN_DIR and DATA_DIR
# to change install locations. e.g.:
#
# $ LV2_DIR=/usr/local/lib/lv2 ./vital-install.sh
#
@SpotlightKid
SpotlightKid / lv2_list_plugin_presets.py
Last active Nov 8, 2019
List all preset URIs of an LV2 plugin with the given URI
View lv2_list_plugin_presets.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""List all preset URIs of an LV2 plugin with the given URI."""
import sys
import lilv
PRESET_NS = 'http://lv2plug.in/ns/ext/presets'
RDFS_NS = 'http://www.w3.org/2000/01/rdf-schema'
@SpotlightKid
SpotlightKid / jack-property-listener.py
Last active Nov 8, 2019
Listen to and print JACK client/port meta-data changes.
View jack-property-listener.py
#!/usr/bin/env python3
"""Listen to and print JACK client/port meta-data changes."""
import jack
PROPERTY_CHANGE_MAP = {
jack.PROPERTY_CREATED: 'created',
jack.PROPERTY_CHANGED: 'changed',
jack.PROPERTY_DELETED: 'deleted'
@SpotlightKid
SpotlightKid / PKGBUILD-moony-lv2-git.sh
Last active Sep 9, 2019
Updated PKGBUILD for moony-lv2-git AUR package
View PKGBUILD-moony-lv2-git.sh
# Maintainer: Milk Brewster (milk on freenode)
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
_pkgname=moony.lv2
pkgname=moony-lv2-git
pkgver=0.29.1.r2493.54f6d76
pkgrel=1
pkgdesc="Realtime Lua as programmable glue in LV2 - git master"
arch=('i686' 'x86_64')
url='http://open-music-kontrollers.ch/lv2/moony/'
@SpotlightKid
SpotlightKid / PKGBUILD-opentoonz.sh
Last active Sep 19, 2019
Fixed PKGBUILD for opentoonz to build from release tag source archive instead of git checkout
View PKGBUILD-opentoonz.sh
# Maintainer: cyrant <cyrant at tuta dot io>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
pkgname=opentoonz
pkgver=1.3.0
pkgrel=4
pkgdesc='This is a software for producing a 2D animation.'
url='https://opentoonz.github.io'
license=('BSD')
arch=('x86_64')
You can’t perform that action at this time.