Merge pull request #6608 from bobvanderlinden/lirc-0.9.2a
lirc: upgraded to 0.9.2a
This commit is contained in:
commit
75a988394b
@ -1,23 +1,20 @@
|
||||
{ stdenv, fetchurl, alsaLib, bash, help2man }:
|
||||
{ stdenv, fetchurl, alsaLib, bash, help2man, pkgconfig, x11, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lirc-0.9.1a";
|
||||
name = "lirc-0.9.2a";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/lirc/${name}.tar.bz2";
|
||||
sha256 = "191vhgsds221rzpzjibj005pfr182hq65hniqfd0qqsl5h1zwq8r";
|
||||
sha256 = "011nwpxm5d12rsapljg3pjf9pgb0j8ngmc3zg69q4kv61hkx2zim";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/lirc-0.9.1a-fix-segfaults.patch?h=packages/lirc";
|
||||
sha256 = "00ainq7y8yh2r447968jid06cqfb1xirv24xxrkl0gvakrrv9gnh";
|
||||
})
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -e 's|^#!/usr/bin/env python3$|#!${python3}/bin/python3|g' -i tools/*.py
|
||||
'';
|
||||
|
||||
preBuild = "patchShebangs .";
|
||||
|
||||
buildInputs = [ alsaLib help2man ];
|
||||
buildInputs = [ alsaLib help2man pkgconfig x11 python3 ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-driver=devinput"
|
||||
|
Loading…
Reference in New Issue
Block a user