droidcam: 1.6 -> 1.7
This commit is contained in:
parent
b451286b1f
commit
5b224ab564
@ -5,13 +5,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "droidcam";
|
||||
version = "1.6";
|
||||
version = "1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aramg";
|
||||
repo = "droidcam";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-3RmEmLNUbwIh+yr7vtYZnMwbzfmtW3mz5u4Ohau9OLU=";
|
||||
sha256 = "sha256-nIqiRWk3gKOWrreyLVT8McRsXClXjOa4y8xXr1ox9Lc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -29,12 +29,11 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace linux/src/droidcam.c \
|
||||
substituteInPlace src/droidcam.c \
|
||||
--replace "/opt/droidcam-icon.png" "$out/share/icons/hicolor/droidcam.png"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
cd linux
|
||||
makeFlagsArray+=("JPEG=$(pkg-config --libs --cflags libturbojpeg)")
|
||||
makeFlagsArray+=("USBMUXD=$(pkg-config --libs --cflags libusbmuxd-2.0)")
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user