From dc4d5aa29ab97b46105fb20c21f496b5e5840d84 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 5 Aug 2015 22:17:09 +0200 Subject: [PATCH] cheese: init at 3.16.1 --- .../gnome-3/3.16/apps/cheese/default.nix | 30 +++++++++++++++++++ pkgs/desktops/gnome-3/3.16/default.nix | 3 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/desktops/gnome-3/3.16/apps/cheese/default.nix diff --git a/pkgs/desktops/gnome-3/3.16/apps/cheese/default.nix b/pkgs/desktops/gnome-3/3.16/apps/cheese/default.nix new file mode 100644 index 00000000000..c3c37c5fd76 --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/apps/cheese/default.nix @@ -0,0 +1,30 @@ +{ stdenv, intltool, fetchurl, wrapGAppsHook, gnome-video-effects, libcanberra_gtk3 +, pkgconfig, gtk3, glib, clutter_gtk, clutter-gst_2, udev, gst_all_1, itstool +, adwaita-icon-theme, librsvg, gdk_pixbuf, gnome3, gnome_desktop, libxml2, libtool }: + +stdenv.mkDerivation rec { + name = "cheese-${gnome3.version}.1"; + + src = fetchurl { + url = "mirror://gnome/sources/cheese/${gnome3.version}/${name}.tar.xz"; + sha256 = "184hzwrjjn94ndivb54rrif4jnbr66p1j0nlqqi3nw6qsrm2yqj4"; + }; + + buildInputs = [ pkgconfig gtk3 glib intltool wrapGAppsHook gnome-video-effects itstool + gdk_pixbuf adwaita-icon-theme librsvg udev gst_all_1.gstreamer libxml2 + gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gnome_desktop + gst_all_1.gst-plugins-bad clutter_gtk clutter-gst_2 + libtool libcanberra_gtk3 ]; + + enableParallelBuilding = true; + + NIX_CFLAGS_COMPILE = "-I${glib}/include/gio-unix-2.0"; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Cheese; + description = "Take photos and videos with your webcam, with fun graphical effects"; + maintainers = gnome3.maintainers; + license = licenses.gpl3; + platforms = platforms.linux; + }; +} diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 98ea1e23bd3..8be88e42db9 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -44,6 +44,7 @@ let gnome3 = self // { recurseForDerivations = false; }; clutter = pkgs.clutter_1_22; clutter_gtk = pkgs.clutter_gtk_1_6.override { inherit clutter gtk3; }; + clutter-gst_2 = pkgs.clutter-gst; clutter-gst = pkgs.clutter-gst_3_0.override { inherit clutter; }; cogl = pkgs.cogl_1_20; gtk = gtk3; @@ -246,6 +247,8 @@ let webkitgtk = webkitgtk24x; }; + cheese = callPackage ./apps/cheese { }; + evolution = callPackage ./apps/evolution { webkitgtk = webkitgtk24x; };