diff options
author | tv <tv@krebsco.de> | 2021-06-10 21:42:06 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-06-10 21:42:06 +0200 |
commit | 0e6e8b7188b4a2aab7ca467cb20514a70ba09011 (patch) | |
tree | cfa9ab8a1a83e0dd139255cf7f7b29bf9a37fdf6 /makefu/5pkgs/droidcam/default.nix | |
parent | 44c4cb6a453f5bc34c870caa6802548c099e9435 (diff) | |
parent | 04a081a3be600cc5e74aadd4f0fee899d6987a85 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/5pkgs/droidcam/default.nix')
-rw-r--r-- | makefu/5pkgs/droidcam/default.nix | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/makefu/5pkgs/droidcam/default.nix b/makefu/5pkgs/droidcam/default.nix deleted file mode 100644 index d30fb01a6..000000000 --- a/makefu/5pkgs/droidcam/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ stdenv, fetchFromGitHub -, pkg-config -, alsaLib -, libjpeg_turbo -, ffmpeg -, libusbmuxd -, speex -, gtk3 -, libappindicator-gtk3 -}: - -stdenv.mkDerivation rec { - pname = "droidcam"; - version = "1.6"; - - src = fetchFromGitHub { - owner = "aramg"; - repo = "droidcam"; - rev = "v${version}"; - sha256 = "1d9qpnmqa3pfwsrpjnxdz76ipk4w37bbxyrazchh4vslnfc886fx"; - }; - - sourceRoot = "source/linux"; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - alsaLib - libjpeg_turbo - ffmpeg - libusbmuxd - speex - gtk3 - libappindicator-gtk3 - ]; - - buildPhase = '' - runHook preBuild - make JPEG_DIR="" JPEG_INCLUDE="" JPEG_LIB="" JPEG="$(pkg-config --libs --cflags libturbojpeg)" - ''; - installPhase = '' - runHook preInstall - install -Dm755 "droidcam" "$out/bin/droidcam" - install -Dm755 "droidcam-cli" "$out/bin/droidcam-cli" - install -Dm644 icon2.png "$out/share/pixmaps/droidcam.png" - install -Dm644 README.md "$out/share/licenses/droidcam/LICENSE" - ''; - - meta = with stdenv.lib; { - description = "A kernel module to create V4L2 loopback devices"; - homepage = "https://github.com/aramg/droidcam"; - license = licenses.gpl2; - maintainers = [ maintainers.makefu ]; - platforms = platforms.linux; - }; -} |