mypaint-brushes: 1.3.0 → 2.0.2

This commit is contained in:
Jan Tojnar 2019-01-27 10:12:49 +01:00
parent 1e0222cd1f
commit eeaad8d225
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
4 changed files with 49 additions and 13 deletions

View File

@ -36,7 +36,7 @@
, libmypaint
, gexiv2
, harfbuzz
, mypaint-brushes
, mypaint-brushes1
, libwebp
, libheif
, libgudev
@ -102,7 +102,7 @@ in stdenv.mkDerivation rec {
xorg.libXpm
glib-networking
libmypaint
mypaint-brushes
mypaint-brushes1
] ++ lib.optionals stdenv.isDarwin [
AppKit
Cocoa

View File

@ -0,0 +1,43 @@
{ stdenv
, fetchpatch
, autoconf
, automake
, fetchFromGitHub
, pkgconfig
}:
stdenv.mkDerivation rec {
pname = "mypaint-brushes";
version = "1.3.0";
src = fetchFromGitHub {
owner = "mypaint";
repo = pname;
rev = "v${version}";
sha256 = "1iz89z6v2mp8j1lrf942k561s8311i3s34ap36wh4rybb2lq15m0";
};
patches = [
# build with automake 1.16
(fetchpatch {
url = https://github.com/Jehan/mypaint-brushes/commit/1e9109dde3bffd416ed351c3f30ecd6ffd0ca2cd.patch;
sha256 = "0mi8rwbirl0ib22f2hz7kdlgi4hw8s3ab29b003dsshdyzn5iha9";
})
];
nativeBuildInputs = [
autoconf
automake
pkgconfig
];
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {
homepage = "http://mypaint.org/";
description = "Brushes used by MyPaint and other software using libmypaint.";
license = licenses.cc0;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};
}

View File

@ -1,5 +1,4 @@
{ stdenv
, fetchpatch
, autoconf
, automake
, fetchFromGitHub
@ -8,23 +7,15 @@
stdenv.mkDerivation rec {
pname = "mypaint-brushes";
version = "1.3.0";
version = "2.0.2";
src = fetchFromGitHub {
owner = "mypaint";
repo = pname;
rev = "v${version}";
sha256 = "1iz89z6v2mp8j1lrf942k561s8311i3s34ap36wh4rybb2lq15m0";
sha256 = "0kcqz13vzpy24dhmrx9hbs6s7hqb8y305vciznm15h277sabpmw9";
};
patches = [
# build with automake 1.16
(fetchpatch {
url = https://github.com/Jehan/mypaint-brushes/commit/1e9109dde3bffd416ed351c3f30ecd6ffd0ca2cd.patch;
sha256 = "0mi8rwbirl0ib22f2hz7kdlgi4hw8s3ab29b003dsshdyzn5iha9";
})
];
nativeBuildInputs = [
autoconf
automake

View File

@ -20645,6 +20645,8 @@ in
mypaint = callPackage ../applications/graphics/mypaint { };
mypaint-brushes1 = callPackage ../development/libraries/mypaint-brushes/1.0.nix { };
mypaint-brushes = callPackage ../development/libraries/mypaint-brushes { };
mythtv = libsForQt5.callPackage ../applications/video/mythtv {