summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-nvim/lean/lean-9999.ebuild16
-rw-r--r--app-nvim/monokai/monokai-9999.ebuild13
-rw-r--r--eclass/nvim-plugin.eclass2
-rw-r--r--profiles/orchid/package.accept_keywords1
-rw-r--r--profiles/targets/desktop/packages1
-rw-r--r--www-apps/akkoma/akkoma-3.17.0.ebuild100
6 files changed, 132 insertions, 1 deletions
diff --git a/app-nvim/lean/lean-9999.ebuild b/app-nvim/lean/lean-9999.ebuild
new file mode 100644
index 0000000..a995669
--- /dev/null
+++ b/app-nvim/lean/lean-9999.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+inherit nvim-plugin git-r3
+
+DESCRIPTION="Neovim support for the Lean theorem prover"
+HOMEPAGE="https://github.com/julian/lean.nvim"
+EGIT_REPO_URI="https://github.com/julian/lean.nvim"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm64"
+
+src_install() {
+ nvim-plugin_src_install
+ doins -r scripts spec vscode-lean
+}
diff --git a/app-nvim/monokai/monokai-9999.ebuild b/app-nvim/monokai/monokai-9999.ebuild
new file mode 100644
index 0000000..95029f1
--- /dev/null
+++ b/app-nvim/monokai/monokai-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+inherit nvim-plugin git-r3
+
+DESCRIPTION="Monokai theme for Neovim written in Lua."
+HOMEPAGE="https://github.com/tanvirtin/monokai.nvim"
+
+EGIT_REPO_URI="https://github.com/tanvirtin/monokai.nvim"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm64"
diff --git a/eclass/nvim-plugin.eclass b/eclass/nvim-plugin.eclass
index c436cf4..1fa8da1 100644
--- a/eclass/nvim-plugin.eclass
+++ b/eclass/nvim-plugin.eclass
@@ -22,7 +22,7 @@ SLOT="0"
# List of searched directories under 'runtimepath'
_NVIM_RUNTIME=(
filetype.lua autoload colors compiler doc ftplugin indent keymap lang
- lua menu.vim pack parser plugin queries rplugin spell syntax tutor
+ lsp lua menu.vim pack parser plugin queries rplugin spell syntax tutor
)
# @FUNCTION: nvim-plugin_src-install
diff --git a/profiles/orchid/package.accept_keywords b/profiles/orchid/package.accept_keywords
index 21a89a3..1e74658 100644
--- a/profiles/orchid/package.accept_keywords
+++ b/profiles/orchid/package.accept_keywords
@@ -1,2 +1,3 @@
sys-kernel/installkernel
sys-boot/uefi-mkconfig
+media-sound/cyanrip ~amd64
diff --git a/profiles/targets/desktop/packages b/profiles/targets/desktop/packages
index 8112035..8a6cedd 100644
--- a/profiles/targets/desktop/packages
+++ b/profiles/targets/desktop/packages
@@ -24,6 +24,7 @@ media-video/mpv
media-video/pipewire
net-misc/chrony
net-misc/dhcpcd
+net-news/sfeed
net-p2p/qbittorrent
net-wireless/iwd
sys-apps/uam
diff --git a/www-apps/akkoma/akkoma-3.17.0.ebuild b/www-apps/akkoma/akkoma-3.17.0.ebuild
new file mode 100644
index 0000000..ac61d5a
--- /dev/null
+++ b/www-apps/akkoma/akkoma-3.17.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 2022-2023 Anna (navi) Figueiredo Gomes
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit mix optfeature git-r3
+
+DESCRIPTION="a smallish microblogging platform"
+HOMEPAGE="https://akkoma.social/"
+
+# SRC_URI="https://akkoma.dev/AkkomaGang/akkoma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+EGIT_REPO_URI="https://akkoma.dev/AkkomaGang/akkoma.git"
+EGIT_COMMIT="v${PV}"
+S="${WORKDIR}/${P}"
+KEYWORDS="~amd64"
+
+LICENSE="AGPL-3 CC-BY-SA-4.0 CC-BY-4.0"
+SLOT="otp"
+
+# Requires network access (https) as long as elixir dependencies aren't packaged
+# said dependencies have their checksum verified via `mix.lock`
+RESTRICT="mirror network-sandbox"
+
+BDEPEND="
+ >=dev-lang/erlang-25:=
+ >=dev-lang/elixir-1.14:=
+ dev-build/cmake
+ >=dev-util/rebar-3.20.0-r1
+ dev-elixir/hex
+"
+DEPEND="
+ sys-libs/ncurses:=
+ sys-apps/file
+"
+RDEPEND="
+ ${DEPEND}
+ acct-user/akkoma
+ acct-group/akkoma
+ dev-db/postgresql[uuid]
+"
+
+src_unpack() {
+ default
+ git-r3_src_unpack
+
+ cd "${S}" || die
+ emix deps.get --only prod
+}
+
+src_prepare() {
+ default
+
+ sed -i -e '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die
+
+ sed -i \
+ -e '/update \[OPTIONS\]/,/--tmp-dir/d' \
+ -e 's;update "$@";echo "Unsupported, check the '"${CATEGORY}/${PN}"' package instead.";' \
+ rel/files/bin/pleroma_ctl || die
+
+ # Default ends up being inside /opt/akkoma which should be kept read-only to akkoma
+ echo 'config :tzdata, :data_dir, "/var/lib/akkoma/tzdata"' >> config/prod.exs || die
+
+ echo "import Config" > config/prod.secret.exs || die
+}
+
+src_compile() {
+ mkdir -p akkoma || die
+ emix release --overwrite --path akkoma
+}
+
+src_install() {
+ # doins doesn't seems to preserve permissions
+ mkdir -p "${ED}/opt" || die
+ cp -pr ./akkoma "${ED}/opt/akkoma" || die
+ fperms 0750 /opt/akkoma
+ fowners 0:akkoma /opt/akkoma
+
+ doinitd ./akkoma/installation/init.d/akkoma
+
+ dosym /opt/akkoma/bin/pleroma /usr/bin/pleroma
+ dosym /opt/akkoma/bin/pleroma_ctl /usr/bin/pleroma_ctl
+
+ # This file controls console access
+ fperms 0750 /opt/akkoma/releases/COOKIE
+ fowners 0:akkoma /opt/akkoma/releases/COOKIE
+
+ keepdir /etc/akkoma
+ fperms 0750 /etc/akkoma
+ fowners 0:akkoma /etc/akkoma
+
+ keepdir /var/lib/akkoma
+ fperms 0750 /var/lib/akkoma
+ fowners akkoma:akkoma /var/lib/akkoma
+}
+
+pkg_postinst() {
+ optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} & images in previews" media-gfx/imagemagick
+ optfeature "For video support in Media Preview Proxy" media-video/ffmpeg
+ optfeature "For Pleroma.Upload.Filters.Exiftool.* filters" media-libs/exiftool
+}