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"
|
"koreader"
|
||||||
"lgtrombetta-compass"
|
"lgtrombetta-compass"
|
||||||
"megapixels" # camera app
|
"megapixels" # camera app
|
||||||
|
"megapixels-next" # camera app
|
||||||
"notejot" # note taking, e.g. shopping list
|
"notejot" # note taking, e.g. shopping list
|
||||||
"planify" # todo-tracker/planner
|
"planify" # todo-tracker/planner
|
||||||
"portfolio-filemanager"
|
"portfolio-filemanager"
|
||||||
|
@@ -101,6 +101,7 @@
|
|||||||
./loupe.nix
|
./loupe.nix
|
||||||
./mako.nix
|
./mako.nix
|
||||||
./megapixels.nix
|
./megapixels.nix
|
||||||
|
./megapixels-next.nix
|
||||||
./mepo.nix
|
./mepo.nix
|
||||||
./mimeo
|
./mimeo
|
||||||
./mimetype.nix
|
./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