libgphoto2: update udev rules version
and add hwdb48d9bafe1f/packaging/generic/print-camera-list.c (L1407-L1416)
paths from48d9bafe1f/packaging/generic/print-camera-list.c (L1426)
and48d9bafe1f/packaging/generic/print-camera-list.c (L1413)
refacd9af4de4/trunk/PKGBUILD (L57)
https://src.fedoraproject.org/rpms/libgphoto2/blob/rawhide/f/libgphoto2.spec#_105
This commit is contained in:
parent
7d9a498788
commit
b3970125b4
|
@ -58,10 +58,13 @@ stdenv.mkDerivation rec {
|
||||||
buildPackages.libgphoto2;
|
buildPackages.libgphoto2;
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
mkdir -p $out/lib/udev/rules.d
|
mkdir -p $out/lib/udev/{rules.d,hwdb.d}
|
||||||
${executablePrefix}/lib/libgphoto2/print-camera-list \
|
${executablePrefix}/lib/libgphoto2/print-camera-list \
|
||||||
udev-rules version 175 group camera \
|
udev-rules version 201 group camera \
|
||||||
>$out/lib/udev/rules.d/40-gphoto2.rules
|
>$out/lib/udev/rules.d/40-libgphoto2.rules
|
||||||
|
${executablePrefix}/lib/libgphoto2/print-camera-list \
|
||||||
|
hwdb version 201 group camera \
|
||||||
|
>$out/lib/udev/hwdb.d/20-gphoto.hwdb
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue