3
0
Fork 0
forked from mirrors/nixpkgs

gnome3.gnome-user-share: 3.28.0 -> 3.32.0.1

cleanup
This commit is contained in:
Tor Hedin Brønner 2019-03-07 16:35:21 +01:00 committed by Jan Tojnar
parent 25c99e15fb
commit e6255808ca
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,25 +1,30 @@
{ stdenv, intltool, fetchurl, apacheHttpd, nautilus { stdenv
, pkgconfig, gtk3, glib, libxml2, systemd, adwaita-icon-theme , gettext
, wrapGAppsHook, itstool, libnotify, libtool, mod_dnssd , fetchurl
, gnome3, librsvg, gdk_pixbuf, file, libcanberra-gtk3 }: , apacheHttpd
, nautilus
, pkgconfig
, gtk3
, glib
, libxml2
, systemd
, wrapGAppsHook
, itstool
, libnotify
, mod_dnssd
, gnome3
, libcanberra-gtk3
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gnome-user-share-${version}"; pname = "gnome-user-share";
version = "3.28.0"; version = "3.32.0.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-user-share/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "04wjnrcdlmyszj582nsda32sgi44nwgrw2ksy11xp17nb09d7m09"; sha256 = "16w6n0cjyzp8vln3zspvab8jhjprpvs88xc9x7bvigg0wry74945";
}; };
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-user-share"; attrPath = "gnome3.gnome-user-share"; };
};
doCheck = true;
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
preConfigure = '' preConfigure = ''
sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \ sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \
-e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \ -e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \
@ -29,22 +34,35 @@ stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--with-httpd=${apacheHttpd.out}/bin/httpd" "--with-httpd=${apacheHttpd.out}/bin/httpd"
"--with-modules-path=${apacheHttpd.dev}/modules" "--with-modules-path=${apacheHttpd.dev}/modules"
"--with-systemduserunitdir=$(out)/etc/systemd/user" "--with-systemduserunitdir=${placeholder ''out''}/etc/systemd/user"
"--with-nautilusdir=$(out)/lib/nautilus/extensions-3.0" "--with-nautilusdir=${placeholder ''out''}/lib/nautilus/extensions-3.0"
];
nativeBuildInputs = [
pkgconfig
gettext
itstool
libxml2
wrapGAppsHook
]; ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ buildInputs = [
gtk3 glib intltool itstool libxml2 libtool gtk3
wrapGAppsHook file gdk_pixbuf adwaita-icon-theme librsvg glib
nautilus libnotify libcanberra-gtk3 systemd nautilus
libnotify
libcanberra-gtk3
systemd
]; ];
postInstall = '' doCheck = true;
mkdir -p $out/share/gsettings-schemas/$name
mv $out/share/glib-2.0 $out/share/gsettings-schemas/$name passthru = {
glib-compile-schemas "$out/share/gsettings-schemas/$name/glib-2.0/schemas" updateScript = gnome3.updateScript {
''; packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://help.gnome.org/users/gnome-user-share/3.8; homepage = https://help.gnome.org/users/gnome-user-share/3.8;