fractal: 12.1 -> 13
Changelog: https://gitlab.gnome.org/World/fractal/-/releases/13
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
gtksourceview5,
|
gtksourceview5,
|
||||||
lcms2,
|
lcms2,
|
||||||
libadwaita,
|
libadwaita,
|
||||||
libglycin,
|
|
||||||
gst_all_1,
|
gst_all_1,
|
||||||
desktop-file-utils,
|
desktop-file-utils,
|
||||||
appstream-glib,
|
appstream-glib,
|
||||||
@@ -23,6 +22,8 @@
|
|||||||
pipewire,
|
pipewire,
|
||||||
libshumate,
|
libshumate,
|
||||||
wrapGAppsHook4,
|
wrapGAppsHook4,
|
||||||
|
blueprint-compiler,
|
||||||
|
bubblewrap,
|
||||||
sqlite,
|
sqlite,
|
||||||
xdg-desktop-portal,
|
xdg-desktop-portal,
|
||||||
libseccomp,
|
libseccomp,
|
||||||
@@ -32,19 +33,19 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "fractal";
|
pname = "fractal";
|
||||||
version = "12.1";
|
version = "13";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "World";
|
owner = "World";
|
||||||
repo = "fractal";
|
repo = "fractal";
|
||||||
tag = finalAttrs.version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-xeB6N4ljXGzysy5RnDRK1wPiIRUSDcl+5BIdp6NO5ZA=";
|
hash = "sha256-zIB04OIhMSm6OWHalnLO9Ng87dsvsmYurrro3hKwoYU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
inherit (finalAttrs) src;
|
inherit (finalAttrs) src;
|
||||||
hash = "sha256-CHduzW++BYzasFv/x0Q1T7EaTlo1EqYY2gxQJv+ek0A=";
|
hash = "sha256-5wI74sKytewbRs0T/IQZFEaRTgJcF6HyDEK0mpjy0LU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@@ -55,16 +56,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/meson.build --replace-fail \
|
substituteInPlace src/meson.build --replace-fail \
|
||||||
"'src' / rust_target / meson.project_name()" \
|
"target_dir / rust_target / meson.project_name()" \
|
||||||
"'src' / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / meson.project_name()"
|
"target_dir / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / meson.project_name()"
|
||||||
'';
|
|
||||||
|
|
||||||
# Dirty approach to add patches after cargoSetupPostUnpackHook
|
|
||||||
# We should eventually use a cargo vendor patch hook instead
|
|
||||||
preConfigure = ''
|
|
||||||
pushd ../$(stripHash $cargoDeps)/glycin-2.*
|
|
||||||
patch -p3 < ${libglycin.passthru.glycinPathsPatch}
|
|
||||||
popd
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@@ -81,6 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
appstream-glib
|
appstream-glib
|
||||||
wrapGAppsHook4
|
wrapGAppsHook4
|
||||||
|
blueprint-compiler
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@@ -108,6 +102,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
--prefix XDG_DATA_DIRS : "${glycin-loaders}/share"
|
--prefix XDG_DATA_DIRS : "${glycin-loaders}/share"
|
||||||
|
--prefix PATH : "${lib.makeBinPath [ bubblewrap ]}"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user