cogl: add updateScript
This commit is contained in:
parent
1a17154047
commit
010f2df147
1 changed files with 12 additions and 7 deletions
|
@ -1,16 +1,15 @@
|
|||
{ 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 }:
|
||||
|
||||
let
|
||||
ver_maj = "1.22";
|
||||
ver_min = "2";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cogl-${ver_maj}.${ver_min}";
|
||||
pname = "cogl";
|
||||
version = "1.22.2";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
|
@ -42,6 +41,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
#doCheck = true; # all tests fail (no idea why)
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A small open source library for using 3D graphics hardware for rendering";
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
|
|
Loading…
Reference in a new issue