From dfce0eb6b0635630dd514bed08d5aa9fa507b111 Mon Sep 17 00:00:00 2001 From: David Roman Date: Tue, 24 Mar 2026 16:22:04 +0100 Subject: [PATCH] www-apps/pleroma: drop 2.10.0 Signed-off-by: David Roman --- www-apps/pleroma/pleroma-2.10.0.ebuild | 139 ------------------------- 1 file changed, 139 deletions(-) delete mode 100644 www-apps/pleroma/pleroma-2.10.0.ebuild diff --git a/www-apps/pleroma/pleroma-2.10.0.ebuild b/www-apps/pleroma/pleroma-2.10.0.ebuild deleted file mode 100644 index 04f258a1ec..0000000000 --- a/www-apps/pleroma/pleroma-2.10.0.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 2022-2024 Haelwenn (lanodan) Monnier -# Distributed under the terms of the GNU General Public License v2 - -# Note: pleroma-2.10.0 should be kept as long as ~pleroma-2.10.0-r1 -# is as while eapply in src_unpack technically still works it is -# outside policy and so not guaranteed to work. - -EAPI=7 - -inherit mix optfeature flag-o-matic - -DESCRIPTION="ActivityPub social networking software compatible with other Fediverse software" -HOMEPAGE="https://pleroma.social/" -if [[ "${PV}" == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma" -else - SRC_URI="https://git.pleroma.social/pleroma/pleroma/archive/v${PV}.tar.gz -> pleroma-${PV}.tar.gz" - S="${WORKDIR}/${PN}" - KEYWORDS="~amd64" -fi -LICENSE="AGPL-3 CC-BY-SA-4.0 CC-BY-4.0" -SLOT="otp" - -IUSE="+system-lexbor +system-vips" - -# Requires network access (https) as long as elixir dependencies aren't packaged -# said dependencies have their checksum verified via `mix.lock` -RESTRICT="network-sandbox" - -BDEPEND=" - =dev-lang/elixir-1.14:= - =dev-util/rebar-3.20.0-r1 - dev-elixir/hex - dev-vcs/git -" -DEPEND=" - dev-libs/glib - sys-apps/file - sys-libs/ncurses:= - system-lexbor? ( dev-libs/lexbor ) - system-vips? ( > config/prod.exs || die - - echo "import Config" > config/prod.secret.exs || die - - # Needs -fPIC under glibc for exile library - # https://bugs.gentoo.org/937130 - append-flags -fPIC -} - -src_compile() { - mkdir -p pleroma || die - - use system-vips && export VIX_COMPILATION_MODE="PLATFORM_PROVIDED_LIBVIPS" - - use system-lexbor && export WITH_SYSTEM_LEXBOR=1 - - emix release --overwrite --path pleroma -} - -src_install() { - # doins doesn't seems to preserve permissions - mkdir -p "${ED}/opt" || die - cp -pr ./pleroma "${ED}/opt/pleroma" || die - fperms 0750 /opt/pleroma - fperms -R g-w,o= /opt/pleroma - fowners -R 0:pleroma /opt/pleroma - - doinitd ./pleroma/installation/init.d/pleroma - - # Generated by Elixir, see lib/mix/lib/mix/tasks/release.init.ex - # Real executable needs to be in /opt/pleroma/bin due to usage of readlink to guess install path - dosym /opt/pleroma/bin/pleroma /usr/bin/pleroma - - # Technically could be with regular binaries via dobin, - # but useless without the pleroma command, which has restricted access - dosym /opt/pleroma/bin/pleroma_ctl /usr/bin/pleroma_ctl - - # This file controls console access - fperms 0750 /opt/pleroma/releases/COOKIE - fowners 0:pleroma /opt/pleroma/releases/COOKIE - - keepdir /etc/pleroma - fperms 0750 /etc/pleroma - fowners 0:pleroma /etc/pleroma - - keepdir /var/lib/pleroma - fperms 0750 /var/lib/pleroma - fowners pleroma:pleroma /var/lib/pleroma - - # So that www-apps/pleroma-fe (optional) doesn't ends up creating namespace conflicts - 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 -}