Merge pull request #89192 from raboof/init-puredata-gem-plugin-at-2020-03-26

gem: init at 2020-03-26

authored by danieldk.tngl.sh and committed by

GitHub 7861d43a 61273b54

+64
+62
pkgs/applications/audio/pd-plugins/gem/default.nix
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + , fetchpatch 4 + , autoreconfHook 5 + , pkg-config 6 + , puredata 7 + , libGL 8 + , libGLU 9 + , glew 10 + , freeglut 11 + , libv4l 12 + , libX11 13 + , file 14 + }: 15 + 16 + stdenv.mkDerivation rec { 17 + pname = "gem-unstable"; 18 + # The patch below applies to the latest release (v0.94), but then the build 19 + # fails. I didn't track down what changed between that version and the 20 + # current master that fixes the build on Nix 21 + version = "2020-03-26"; 22 + 23 + src = fetchFromGitHub { 24 + owner = "umlaeute"; 25 + repo = "Gem"; 26 + rev = "f38748d71bfca00e4d2b2f31d6c4e3759c03d599"; 27 + sha256 = "0bkky5fk0a836bapslrgzil272iq9y704y7hw254cfq5ffjd4qjy"; 28 + }; 29 + 30 + patches = [ 31 + # Update autoconf OpenGL/GLU/GLUT detection scripts 32 + # https://github.com/umlaeute/Gem/pull/251 33 + (fetchpatch { 34 + url = "https://github.com/umlaeute/Gem/commit/343a486c2b5c3427696f77aeabdff440e6590fc7.diff"; 35 + sha256 = "0gkzxv80rgg8lgp9av5qp6xng3ldhnbjz9d6r7ym784fw8yx41yj"; 36 + }) 37 + ]; 38 + 39 + nativeBuildInputs = [ 40 + autoreconfHook 41 + file 42 + pkg-config 43 + ]; 44 + 45 + buildInputs = [ 46 + puredata 47 + libGL 48 + libGLU 49 + glew 50 + freeglut 51 + libv4l 52 + libX11 53 + ]; 54 + 55 + meta = { 56 + description = "Graphics Environment for Multimedia"; 57 + homepage = "http://puredata.info/downloads/gem"; 58 + license = stdenv.lib.licenses.gpl2Plus; 59 + maintainers = [ stdenv.lib.maintainers.raboof ]; 60 + platforms = stdenv.lib.platforms.linux; 61 + }; 62 + }
+2
pkgs/top-level/all-packages.nix
··· 1000 1000 1001 1001 gams = callPackage ../tools/misc/gams (config.gams or {}); 1002 1002 1003 + gem = callPackage ../applications/audio/pd-plugins/gem { }; 1004 + 1003 1005 git-fire = callPackage ../tools/misc/git-fire { }; 1004 1006 1005 1007 git-repo-updater = python3Packages.callPackage ../development/tools/git-repo-updater { };