cogl: add updateScript
This commit is contained in:
parent
1a17154047
commit
010f2df147
|
@ -1,16 +1,15 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, mesa_noglu, glib, gdk_pixbuf, xorg, libintlOrEmpty
|
{ stdenv, fetchurl, pkgconfig, mesa_noglu, glib, gdk_pixbuf, xorg, libintlOrEmpty
|
||||||
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland
|
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
|
||||||
, gstreamerSupport ? true, gst_all_1 }:
|
, gstreamerSupport ? true, gst_all_1 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ver_maj = "1.22";
|
pname = "cogl";
|
||||||
ver_min = "2";
|
version = "1.22.2";
|
||||||
in
|
in stdenv.mkDerivation rec {
|
||||||
stdenv.mkDerivation rec {
|
name = "${pname}-${version}";
|
||||||
name = "cogl-${ver_maj}.${ver_min}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/cogl/${ver_maj}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr";
|
sha256 = "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -42,6 +41,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
#doCheck = true; # all tests fail (no idea why)
|
#doCheck = true; # all tests fail (no idea why)
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A small open source library for using 3D graphics hardware for rendering";
|
description = "A small open source library for using 3D graphics hardware for rendering";
|
||||||
maintainers = with maintainers; [ lovek323 ];
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
|
|
Loading…
Reference in New Issue