xournalpp: 1.2.3 -> 1.2.4 (#350094)
This commit is contained in:
commit
394fbdae02
@ -1,39 +1,42 @@
|
|||||||
{ lib, stdenv
|
{
|
||||||
, fetchFromGitHub
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
|
||||||
, cmake
|
cmake,
|
||||||
, gettext
|
gettext,
|
||||||
, wrapGAppsHook3
|
wrapGAppsHook3,
|
||||||
, pkg-config
|
pkg-config,
|
||||||
|
|
||||||
, adwaita-icon-theme
|
adwaita-icon-theme,
|
||||||
, alsa-lib
|
alsa-lib,
|
||||||
, binutils
|
binutils,
|
||||||
, glib
|
glib,
|
||||||
, gsettings-desktop-schemas
|
gsettings-desktop-schemas,
|
||||||
, gtk3
|
gtk3,
|
||||||
, gtksourceview4
|
gtksourceview4,
|
||||||
, librsvg
|
librsvg,
|
||||||
, libsndfile
|
libsndfile,
|
||||||
, libxml2
|
libxml2,
|
||||||
, libzip
|
libzip,
|
||||||
, pcre
|
pcre,
|
||||||
, poppler
|
poppler,
|
||||||
, portaudio
|
portaudio,
|
||||||
, zlib
|
zlib,
|
||||||
# plugins
|
# plugins
|
||||||
, withLua ? true, lua
|
withLua ? true,
|
||||||
|
lua,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xournalpp";
|
pname = "xournalpp";
|
||||||
version = "1.2.3";
|
version = "1.2.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xournalpp";
|
owner = "xournalpp";
|
||||||
repo = "xournalpp";
|
repo = "xournalpp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-8UAAX/kixqiY9zEYs5eva0G2K2vlfnYd1yyVHMSfSeY=";
|
hash = "sha256-72e47fVP0c8KioRHUqyEQIUgrLm+xMPE2Mm6+2v7pZk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -41,12 +44,18 @@ stdenv.mkDerivation rec {
|
|||||||
--replace-fail "addr2line" "${binutils}/bin/addr2line"
|
--replace-fail "addr2line" "${binutils}/bin/addr2line"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gettext pkg-config wrapGAppsHook3 ];
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
gettext
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook3
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
lib.optionals stdenv.hostPlatform.isLinux [
|
lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
alsa-lib
|
alsa-lib
|
||||||
] ++ [
|
]
|
||||||
|
++ [
|
||||||
glib
|
glib
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk3
|
gtk3
|
||||||
@ -72,11 +81,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Xournal++ is a handwriting Notetaking software with PDF annotation support";
|
description = "Xournal++ is a handwriting Notetaking software with PDF annotation support";
|
||||||
homepage = "https://xournalpp.github.io/";
|
homepage = "https://xournalpp.github.io/";
|
||||||
changelog = "https://github.com/xournalpp/xournalpp/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/xournalpp/xournalpp/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ sikmir ];
|
maintainers = with maintainers; [ sikmir ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
mainProgram = "xournalpp";
|
mainProgram = "xournalpp";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user