Merge pull request #34546 from samdroid-apps/add-spice-up
Add presentation app Spice Up
This commit is contained in:
commit
fdc9312dba
61
pkgs/applications/office/spice-up/default.nix
Normal file
61
pkgs/applications/office/spice-up/default.nix
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gettext
|
||||||
|
, libxml2
|
||||||
|
, pkgconfig
|
||||||
|
, gtk3
|
||||||
|
, granite
|
||||||
|
, gnome3
|
||||||
|
, json_glib
|
||||||
|
, cmake
|
||||||
|
, ninja
|
||||||
|
, libgudev
|
||||||
|
, libevdev
|
||||||
|
, vala
|
||||||
|
, wrapGAppsHook }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "spice-up-${version}";
|
||||||
|
version = "1.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Philip-Scott";
|
||||||
|
repo = "Spice-up";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0cbyhi6d99blv33183j6nakzcqxz5hqy9ijykiasbmdycfd5q0fh";
|
||||||
|
};
|
||||||
|
USER = "nix-build-user";
|
||||||
|
|
||||||
|
XDG_DATA_DIRS = stdenv.lib.concatStringsSep ":" [
|
||||||
|
"${granite}/share"
|
||||||
|
"${gnome3.libgee}/share"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
wrapGAppsHook
|
||||||
|
vala
|
||||||
|
cmake
|
||||||
|
ninja
|
||||||
|
gettext
|
||||||
|
libxml2
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
gtk3
|
||||||
|
granite
|
||||||
|
gnome3.libgee
|
||||||
|
json_glib
|
||||||
|
libgudev
|
||||||
|
libevdev
|
||||||
|
gnome3.gnome_themes_standard
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Create simple and beautiful presentations on the Linux desktop";
|
||||||
|
homepage = https://github.com/Philip-Scott/Spice-up;
|
||||||
|
maintainers = with maintainers; [ samdroid-apps ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
# The COPYING file has GPLv3; some files have GPLv2+ and some have GPLv3+
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
};
|
||||||
|
}
|
@ -1,22 +1,42 @@
|
|||||||
{ stdenv, fetchurl, perl, cmake, vala, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }:
|
{ stdenv, fetchFromGitHub, perl, cmake, ninja, vala, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
majorVersion = "0.4";
|
name = "granite-${version}";
|
||||||
minorVersion = "1";
|
version = "0.5";
|
||||||
name = "granite-${majorVersion}.${minorVersion}";
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://launchpad.net/granite/${majorVersion}/${majorVersion}.${minorVersion}/+download/${name}.tar.xz";
|
owner = "elementary";
|
||||||
sha256 = "177h5h1q4qd7g99mzbczvz78j8c9jf4f1gwdj9f6imbc7r913d4b";
|
repo = "granite";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "15l8z1jkqhvappnr8jww27lfy3dwqybgsxk5iccyvnvzpjdh2s0h";
|
||||||
};
|
};
|
||||||
cmakeFlags = "-DINTROSPECTION_GIRDIR=share/gir-1.0/ -DINTROSPECTION_TYPELIBDIR=lib/girepository-1.0";
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
cmakeFlags = [
|
||||||
buildInputs = [perl cmake vala gobjectIntrospection glib gtk3 gnome3.libgee gettext];
|
"-DINTROSPECTION_GIRDIR=share/gir-1.0/"
|
||||||
meta = {
|
"-DINTROSPECTION_TYPELIBDIR=lib/girepository-1.0"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
vala
|
||||||
|
pkgconfig
|
||||||
|
cmake
|
||||||
|
ninja
|
||||||
|
perl
|
||||||
|
gettext
|
||||||
|
gobjectIntrospection
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gtk3
|
||||||
|
gnome3.libgee
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "An extension to GTK+ used by elementary OS";
|
description = "An extension to GTK+ used by elementary OS";
|
||||||
longDescription = "An extension to GTK+ that provides several useful widgets and classes to ease application development. Designed for elementary OS.";
|
longDescription = "An extension to GTK+ that provides several useful widgets and classes to ease application development. Designed for elementary OS.";
|
||||||
homepage = https://launchpad.net/granite;
|
homepage = https://github.com/elementary/granite;
|
||||||
license = stdenv.lib.licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.vozz ];
|
maintainers = [ maintainers.vozz ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -11137,6 +11137,8 @@ with pkgs;
|
|||||||
|
|
||||||
spice_protocol = callPackage ../development/libraries/spice-protocol { };
|
spice_protocol = callPackage ../development/libraries/spice-protocol { };
|
||||||
|
|
||||||
|
spice-up = callPackage ../applications/office/spice-up { };
|
||||||
|
|
||||||
sratom = callPackage ../development/libraries/audio/sratom { };
|
sratom = callPackage ../development/libraries/audio/sratom { };
|
||||||
|
|
||||||
srm = callPackage ../tools/security/srm { };
|
srm = callPackage ../tools/security/srm { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user