colord: fix udev rules, add sane support
This commit is contained in:
parent
4e58b33dee
commit
cf9ddb27d6
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchzip, fetchgit, bashCompletion
|
{ stdenv, fetchzip, fetchgit, bashCompletion
|
||||||
, glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus
|
, glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus
|
||||||
, automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms
|
, automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms
|
||||||
, libgudev }:
|
, libgudev, sane-backends }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "colord-1.2.12";
|
name = "colord-1.2.12";
|
||||||
@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-udevrulesdir=$out/lib/udev/rules.d"
|
"--enable-sane"
|
||||||
|
"--with-udevrulesdir=$(out)/lib/udev/rules.d"
|
||||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--disable-bash-completion"
|
"--disable-bash-completion"
|
||||||
@ -27,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
|
buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
|
||||||
bashCompletion argyllcms automake autoconf libgudev ];
|
bashCompletion argyllcms automake autoconf libgudev sane-backends ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/etc/bash_completion.d
|
mkdir -p $out/etc/bash_completion.d
|
||||||
|
Loading…
Reference in New Issue
Block a user