tonelib-jam: 4.6.6 -> 4.7.0
This commit is contained in:
parent
5b455776e3
commit
1c09a32d85
1 changed files with 33 additions and 37 deletions
|
@ -1,60 +1,56 @@
|
||||||
{ stdenv
|
{ lib
|
||||||
, dpkg
|
, stdenv
|
||||||
, lib
|
|
||||||
, autoPatchelfHook
|
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, gtk3
|
, autoPatchelfHook
|
||||||
, glib
|
, dpkg
|
||||||
, desktop-file-utils
|
|
||||||
, alsa-lib
|
, alsa-lib
|
||||||
, libjack2
|
|
||||||
, harfbuzz
|
|
||||||
, fribidi
|
|
||||||
, pango
|
|
||||||
, freetype
|
, freetype
|
||||||
|
, libglvnd
|
||||||
, curl
|
, curl
|
||||||
|
, libXcursor
|
||||||
|
, libXinerama
|
||||||
|
, libXrandr
|
||||||
|
, libXrender
|
||||||
|
, libjack2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tonelib-jam";
|
pname = "tonelib-jam";
|
||||||
version = "4.6.6";
|
version = "4.7.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.tonelib.net/download/0509/ToneLib-Jam-amd64.deb";
|
url = "https://www.tonelib.net/download/0930/ToneLib-Jam-amd64.deb";
|
||||||
sha256 = "sha256-cizIQgO35CQSLme/LKQqP+WzB/jCTk+fS5Z+EtF7wnQ=";
|
sha256 = "sha256-xyBDp3DQVC+nK2WGnvrfUfD+9GvwtbldXgExTMmCGw0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
dpkg
|
|
||||||
gtk3
|
|
||||||
glib
|
|
||||||
desktop-file-utils
|
|
||||||
alsa-lib
|
|
||||||
libjack2
|
|
||||||
harfbuzz
|
|
||||||
fribidi
|
|
||||||
pango
|
|
||||||
freetype
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
|
dpkg
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackPhase = ''
|
buildInputs = [
|
||||||
mkdir -p $TMP/ $out/
|
stdenv.cc.cc.lib
|
||||||
dpkg -x $src $TMP
|
alsa-lib
|
||||||
'';
|
freetype
|
||||||
|
libglvnd
|
||||||
|
] ++ runtimeDependencies;
|
||||||
|
|
||||||
|
runtimeDependencies = map lib.getLib [
|
||||||
|
curl
|
||||||
|
libXcursor
|
||||||
|
libXinerama
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
libjack2
|
||||||
|
];
|
||||||
|
|
||||||
|
unpackCmd = "dpkg -x $curSrc source";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -R $TMP/usr/* $out/
|
mv usr $out
|
||||||
mv $out/bin/ToneLib-Jam $out/bin/tonelib-jam
|
substituteInPlace $out/share/applications/ToneLib-Jam.desktop --replace /usr/ $out/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
runtimeDependencies = [
|
|
||||||
(lib.getLib curl)
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "ToneLib Jam – the learning and practice software for guitar players";
|
description = "ToneLib Jam – the learning and practice software for guitar players";
|
||||||
homepage = "https://tonelib.net/";
|
homepage = "https://tonelib.net/";
|
||||||
|
|
Loading…
Reference in a new issue