mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
aseprite: 1.2-beta12 -> 1.2.2
This commit is contained in:
parent
e570198980
commit
b5d11a7603
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "aseprite-${version}";
|
name = "aseprite-${version}";
|
||||||
version = if unfree then "1.2-beta12" else "1.1.7";
|
version = if unfree then "1.2.2" else "1.1.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aseprite";
|
owner = "aseprite";
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = if unfree
|
sha256 = if unfree
|
||||||
then "1zgsr03d4vwdj2qyiwfwfqsbqngp85n13i3xwbkfkbja036c5yhc"
|
then "1ldi7zikl1g6rq3g9lkypx5wqzza5j0054j1r8bh7lyvb0szicig"
|
||||||
else "0gd49lns2bpzbkwax5jf9x1xmg1j8ij997kcxr2596cwiswnw4di";
|
else "0gd49lns2bpzbkwax5jf9x1xmg1j8ij997kcxr2596cwiswnw4di";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -30,6 +30,10 @@ stdenv.mkDerivation rec {
|
|||||||
libX11 libXext libXcursor libXxf86vm
|
libX11 libXext libXcursor libXxf86vm
|
||||||
] ++ lib.optionals unfree [ cmark ];
|
] ++ lib.optionals unfree [ cmark ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i src/config.h -e "s-\\(#define VERSION\\) .*-\\1 \"$version\"-"
|
||||||
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DENABLE_UPDATER=OFF"
|
"-DENABLE_UPDATER=OFF"
|
||||||
"-DUSE_SHARED_CURL=ON"
|
"-DUSE_SHARED_CURL=ON"
|
||||||
|
Loading…
Reference in New Issue
Block a user