megapixels-next: ship
i can't get any camera working on actually-mainline linux. i'm hoping megapixels-next will work with fewer patches, though
This commit is contained in:
@@ -348,6 +348,7 @@ in
|
||||
"koreader"
|
||||
"lgtrombetta-compass"
|
||||
"megapixels" # camera app
|
||||
"megapixels-next" # camera app
|
||||
"notejot" # note taking, e.g. shopping list
|
||||
"planify" # todo-tracker/planner
|
||||
"portfolio-filemanager"
|
||||
|
@@ -101,6 +101,7 @@
|
||||
./loupe.nix
|
||||
./mako.nix
|
||||
./megapixels.nix
|
||||
./megapixels-next.nix
|
||||
./mepo.nix
|
||||
./mimeo
|
||||
./mimetype.nix
|
||||
|
17
hosts/common/programs/megapixels-next.nix
Normal file
17
hosts/common/programs/megapixels-next.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
# mostly here for testing.
|
||||
# megapixels branching is weird, and their stable releases are cut from a commit which diverged well over a year ago IIRC.
|
||||
# state as of 2024-09-10:
|
||||
# - when run against linux-postmarketos-allwinner: renders camera preview image, but crashes on save.
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.megapixels-next = {
|
||||
packageUnwrapped = pkgs.megapixels-next.overrideAttrs (base: {
|
||||
# rename things so i can have `megapixels` and `megapixels-next` co-installed
|
||||
postInstall = (base.postInstall or "") + ''
|
||||
mv $out/bin/megapixels $out/bin/megapixels-next
|
||||
|
||||
rm $out/share/applications/me.gapixels.Megapixels.desktop
|
||||
'';
|
||||
});
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user