azpainter: 2.1.6 -> 3.0.4

* azpainter: 2.1.6 -> 3.0.4 (#157548)

* github -> gitlab
* 3.0 "remade as a whole" (translated)
* new deps

* azpainter: add libiconv input on Darwin
and add build-time commands
and enable parallel building
and update meta.homepage

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
Will Dietz 2022-02-16 14:07:54 -06:00 committed by GitHub
parent 5d7a9733a7
commit e155371d1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,31 +1,40 @@
{ lib, stdenv, fetchFromGitHub
, libX11, libXext, libXi
{ lib, stdenv, fetchFromGitLab
, desktop-file-utils, shared-mime-info
, libiconv
, libX11, libXcursor, libXext, libXi
, freetype, fontconfig
, libpng, libjpeg
, libjpeg, libpng, libtiff, libwebp
, zlib
}:
stdenv.mkDerivation rec {
pname = "azpainter";
version = "2.1.6";
version = "3.0.4";
src = fetchFromGitHub {
owner = "Symbian9";
src = fetchFromGitLab {
owner = "azelpg";
repo = pname;
rev = "v${version}";
sha256 = "0i5g67s4ysnvbaxmi7dhan0hfcfk8an14xykkafl47pqfx33npva";
hash = "sha256-2gTTF1ti9bO24d75mhwyvJISSgMKdmp+oJVmgzEQHdY=";
};
buildInputs = [
libX11 libXext libXi
freetype fontconfig
libpng libjpeg
zlib
nativeBuildInputs = [
desktop-file-utils # for update-desktop-database
shared-mime-info # for update-mime-info
];
buildInputs = [
libX11 libXcursor libXext libXi
freetype fontconfig
libjpeg libpng libtiff libwebp
zlib
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
enableParallelBuilding = true;
meta = with lib; {
description = "Full color painting software for illustration drawing";
homepage = "https://osdn.net/projects/azpainter";
homepage = "http://azsky2.html.xdomain.jp/soft/azpainter.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dtzWill ];
platforms = with platforms; linux ++ darwin;