diff options
author | Arnout Engelen <arnout@bzzt.net> | 2020-05-29 23:54:09 +0200 |
---|---|---|
committer | Arnout Engelen <arnout@bzzt.net> | 2020-08-01 09:43:34 +0200 |
commit | 8ea4f5dea393046ebeb2fdd31683dff23b13c352 (patch) | |
tree | 11f0d96562e8c3fe9c8bbc4a6d167acbefacc77a /pkgs/applications/audio/pd-plugins | |
parent | dc80d7bc4a244120b3d766746c41c0d9c5f81dfa (diff) | |
download | nixpkgs-8ea4f5dea393046ebeb2fdd31683dff23b13c352.tar nixpkgs-8ea4f5dea393046ebeb2fdd31683dff23b13c352.tar.gz nixpkgs-8ea4f5dea393046ebeb2fdd31683dff23b13c352.tar.bz2 nixpkgs-8ea4f5dea393046ebeb2fdd31683dff23b13c352.tar.lz nixpkgs-8ea4f5dea393046ebeb2fdd31683dff23b13c352.tar.xz nixpkgs-8ea4f5dea393046ebeb2fdd31683dff23b13c352.tar.zst nixpkgs-8ea4f5dea393046ebeb2fdd31683dff23b13c352.zip |
gem: init at 2020-03-26
Diffstat (limited to 'pkgs/applications/audio/pd-plugins')
-rw-r--r-- | pkgs/applications/audio/pd-plugins/gem/default.nix | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/applications/audio/pd-plugins/gem/default.nix b/pkgs/applications/audio/pd-plugins/gem/default.nix new file mode 100644 index 00000000000..2c0d0a24c57 --- /dev/null +++ b/pkgs/applications/audio/pd-plugins/gem/default.nix @@ -0,0 +1,62 @@ +{ stdenv +, fetchFromGitHub +, fetchpatch +, autoreconfHook +, pkg-config +, puredata +, libGL +, libGLU +, glew +, freeglut +, libv4l +, libX11 +, file + }: + +stdenv.mkDerivation rec { + pname = "gem-unstable"; + # The patch below applies to the latest release (v0.94), but then the build + # fails. I didn't track down what changed between that version and the + # current master that fixes the build on Nix + version = "2020-03-26"; + + src = fetchFromGitHub { + owner = "umlaeute"; + repo = "Gem"; + rev = "f38748d71bfca00e4d2b2f31d6c4e3759c03d599"; + sha256 = "0bkky5fk0a836bapslrgzil272iq9y704y7hw254cfq5ffjd4qjy"; + }; + + patches = [ + # Update autoconf OpenGL/GLU/GLUT detection scripts + # https://github.com/umlaeute/Gem/pull/251 + (fetchpatch { + url = "https://github.com/umlaeute/Gem/commit/343a486c2b5c3427696f77aeabdff440e6590fc7.diff"; + sha256 = "0gkzxv80rgg8lgp9av5qp6xng3ldhnbjz9d6r7ym784fw8yx41yj"; + }) + ]; + + nativeBuildInputs = [ + autoreconfHook + file + pkg-config + ]; + + buildInputs = [ + puredata + libGL + libGLU + glew + freeglut + libv4l + libX11 + ]; + + meta = { + description = "Graphics Environment for Multimedia"; + homepage = "http://puredata.info/downloads/gem"; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [ stdenv.lib.maintainers.raboof ]; + platforms = stdenv.lib.platforms.linux; + }; +} |