gnome3.cheese: clean up
This commit is contained in:
parent
e477d7fbeb
commit
f93021816c
@ -1,4 +1,5 @@
|
|||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, gettext
|
, gettext
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
@ -10,16 +11,13 @@
|
|||||||
, glib
|
, glib
|
||||||
, clutter-gtk
|
, clutter-gtk
|
||||||
, clutter-gst
|
, clutter-gst
|
||||||
, udev
|
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, itstool
|
, itstool
|
||||||
, libgudev
|
|
||||||
, vala
|
, vala
|
||||||
, docbook_xml_dtd_43
|
, docbook_xml_dtd_43
|
||||||
, docbook_xsl
|
, docbook-xsl-nons
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
, libxslt
|
, libxslt
|
||||||
, gnome-common
|
|
||||||
, gtk-doc
|
, gtk-doc
|
||||||
, adwaita-icon-theme
|
, adwaita-icon-theme
|
||||||
, librsvg
|
, librsvg
|
||||||
@ -38,6 +36,8 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "cheese";
|
pname = "cheese";
|
||||||
version = "3.38.0";
|
version = "3.38.0";
|
||||||
|
|
||||||
|
outputs = [ "out" "man" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/cheese/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/cheese/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8";
|
sha256 = "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8";
|
||||||
@ -51,31 +51,22 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
chmod +x meson_post_install.py
|
|
||||||
patchShebangs meson_post_install.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript { packageName = "cheese"; attrPath = "gnome3.cheese"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
appstream-glib
|
appstream-glib
|
||||||
docbook_xml_dtd_43
|
docbook_xml_dtd_43
|
||||||
docbook_xsl
|
docbook-xsl-nons
|
||||||
gettext
|
gettext
|
||||||
gnome-common
|
|
||||||
gtk-doc
|
gtk-doc
|
||||||
itstool
|
itstool
|
||||||
libxml2
|
libxml2
|
||||||
libxslt
|
libxslt # for xsltproc
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
vala
|
vala
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
glib # for glib-compile-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -93,12 +84,13 @@ stdenv.mkDerivation rec {
|
|||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
gtk3
|
gtk3
|
||||||
libcanberra-gtk3
|
libcanberra-gtk3
|
||||||
libgudev
|
|
||||||
librsvg
|
librsvg
|
||||||
udev
|
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "out" "man" "devdoc" ];
|
postPatch = ''
|
||||||
|
chmod +x meson_post_install.py
|
||||||
|
patchShebangs meson_post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
@ -112,13 +104,18 @@ stdenv.mkDerivation rec {
|
|||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = "cheese";
|
||||||
|
attrPath = "gnome3.cheese";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://wiki.gnome.org/Apps/Cheese";
|
homepage = "https://wiki.gnome.org/Apps/Cheese";
|
||||||
description = "Take photos and videos with your webcam, with fun graphical effects";
|
description = "Take photos and videos with your webcam, with fun graphical effects";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user