aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2023-11-09 07:23:43 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2023-11-09 07:43:13 +0100
commit64ad33a963e2bf0cfcc64104e489dee2aeafe067 (patch)
treee2ed4f4f29bea586194c0e5bcc8cb05e61746e3d /www-apps
parentwww-apps/pleroma-fe: new package, add 2.6.0, 9999 (diff)
downloadguru-64ad33a963e2bf0cfcc64104e489dee2aeafe067.tar.gz
guru-64ad33a963e2bf0cfcc64104e489dee2aeafe067.tar.bz2
guru-64ad33a963e2bf0cfcc64104e489dee2aeafe067.zip
www-apps/pleroma: Support for www-apps/pleroma-fe
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/pleroma/pleroma-2.6.0.ebuild3
-rw-r--r--www-apps/pleroma/pleroma-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/www-apps/pleroma/pleroma-2.6.0.ebuild b/www-apps/pleroma/pleroma-2.6.0.ebuild
index 6cff0375c..57a9e770e 100644
--- a/www-apps/pleroma/pleroma-2.6.0.ebuild
+++ b/www-apps/pleroma/pleroma-2.6.0.ebuild
@@ -100,10 +100,13 @@ src_install() {
keepdir /var/lib/pleroma
fperms 0750 /var/lib/pleroma
fowners pleroma:pleroma /var/lib/pleroma
+
+ dosym /opt/pleroma-fe/dist /var/lib/pleroma/static/frontends/pleroma-fe/gentoo
}
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
+ optfeature "Allows to pick system-managed frontend instead of bundled" www-apps/pleroma-fe
}
diff --git a/www-apps/pleroma/pleroma-9999.ebuild b/www-apps/pleroma/pleroma-9999.ebuild
index 40b401f54..e6b47058c 100644
--- a/www-apps/pleroma/pleroma-9999.ebuild
+++ b/www-apps/pleroma/pleroma-9999.ebuild
@@ -101,10 +101,13 @@ src_install() {
keepdir /var/lib/pleroma
fperms 0750 /var/lib/pleroma
fowners pleroma:pleroma /var/lib/pleroma
+
+ dosym /opt/pleroma-fe/dist /var/lib/pleroma/static/frontends/pleroma-fe/gentoo
}
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
+ optfeature "Allows to pick system-managed frontend instead of bundled" www-apps/pleroma-fe
}