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 { lib, stdenv, fetchFromGitLab
, libX11, libXext, libXi , desktop-file-utils, shared-mime-info
, libiconv
, libX11, libXcursor, libXext, libXi
, freetype, fontconfig , freetype, fontconfig
, libpng, libjpeg , libjpeg, libpng, libtiff, libwebp
, zlib , zlib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "azpainter"; pname = "azpainter";
version = "2.1.6"; version = "3.0.4";
src = fetchFromGitHub { src = fetchFromGitLab {
owner = "Symbian9"; owner = "azelpg";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0i5g67s4ysnvbaxmi7dhan0hfcfk8an14xykkafl47pqfx33npva"; hash = "sha256-2gTTF1ti9bO24d75mhwyvJISSgMKdmp+oJVmgzEQHdY=";
}; };
buildInputs = [ nativeBuildInputs = [
libX11 libXext libXi desktop-file-utils # for update-desktop-database
freetype fontconfig shared-mime-info # for update-mime-info
libpng libjpeg
zlib
]; ];
buildInputs = [
libX11 libXcursor libXext libXi
freetype fontconfig
libjpeg libpng libtiff libwebp
zlib
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
enableParallelBuilding = true;
meta = with lib; { meta = with lib; {
description = "Full color painting software for illustration drawing"; 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; license = licenses.gpl3Plus;
maintainers = with maintainers; [ dtzWill ]; maintainers = with maintainers; [ dtzWill ];
platforms = with platforms; linux ++ darwin; platforms = with platforms; linux ++ darwin;