This improvement is going to tackle creating a custom autogen ebuild for the official 1password Linux desktop application so that all Funtoo users who use 1Password can leverage the upstream Desktop application natively (they have a Firefox plugin that works great as well on Funtoo Firefox).
I have followed the install steps from 1password detailed here: https://support.1password.com/install-linux/#other-distributions-targz and actually got 1password running locally on my Funtoo 1.4 system with small modifications to their Bash install script.
The challenge for this autogen ebuild will be multi-faceted:
- They distribute a tarball with the binary sources similar to something like Firefox and it installs in /opt.
- Unfortunately the tarball download link does not contain any versioning information in its file name: https://downloads.1password.com/linux/tar/stable/x86_64/1password-latest.tar.gz
- To actually get that package version without extracting it (version is in the directory name in the tarball like 1password-8.4.1.x64 ), the 1password Linux releases page will have to be scraped at: https://releases.1password.com/linux/
- There are two custom Bash scripts in the package called after-install.sh and after-remove.sh. Those will have to be adapted into the ebuild
- The package comes with icons and custom .desktop file that are not installed by their scripts and a custom install function will have to be added to the ebuild.
- Generally lots of reverse engineering is required to make this a first class autogen ebuild, which is going to be the fun part.