libmypaint: 1.3.0 → 1.4.0 (#67929)

libmypaint: 1.3.0 → 1.4.0
This commit is contained in:
Jan Tojnar 2019-09-03 12:04:16 +02:00 committed by GitHub
commit b1d6e7a0fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,31 +1,45 @@
{stdenv, autoconf, automake, fetchFromGitHub, fetchpatch, glib, intltool, json_c, libtool, pkgconfig}: { stdenv
, autoconf
, automake
, fetchFromGitHub
, glib
, intltool
, json_c
, libtool
, pkgconfig
, python2
}:
let stdenv.mkDerivation rec {
version = "1.3.0";
in stdenv.mkDerivation rec {
pname = "libmypaint"; pname = "libmypaint";
inherit version; version = "1.4.0";
outputs = [ "out" "dev" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mypaint"; owner = "mypaint";
repo = "libmypaint"; repo = "libmypaint";
rev = "v${version}"; rev = "v${version}";
sha256 = "0b7aynr6ggigwhjkfzi8x3dwz15blj4grkg9hysbgjh6lvzpy9jc"; sha256 = "1ynm2g2wdb9zsymncndlgs6gpcbsa122n52d11161jrj5nrdliaq";
}; };
patches = [ nativeBuildInputs = [
# build with automake 1.16 autoconf
(fetchpatch { automake
url = https://github.com/mypaint/libmypaint/commit/40d9077a80be13942476f164bddfabe842ab2a45.patch; intltool
sha256 = "1dclh7apgvr2bvzy9z3rgas3hk9pf2hpf5h52q94kmx8s4a47qpi"; libtool
}) pkgconfig
python2
]; ];
nativeBuildInputs = [ autoconf automake intltool libtool pkgconfig ]; buildInputs = [
glib
];
buildInputs = [ glib ]; # for libmypaint.pc
propagatedBuildInputs = [
propagatedBuildInputs = [ json_c ]; # for libmypaint.pc json_c
];
doCheck = true; doCheck = true;