commit: 3253df6a4b273f3e9bcb063132ad98b05b175c16
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu Dec 19 13:09:11 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Dec 19 13:21:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3253df6a
www-apps/pleroma: add 2.8.0, drop 2.7.1
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
www-apps/pleroma/Manifest | 2 +-
www-apps/pleroma/metadata.xml | 3 +++
.../pleroma/{pleroma-2.7.1.ebuild => pleroma-2.8.0.ebuild} | 10 ++++++++--
www-apps/pleroma/pleroma-9999.ebuild | 7 ++++++-
4 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest
index 78affafed..8843600a8 100644
--- a/www-apps/pleroma/Manifest
+++ b/www-apps/pleroma/Manifest
@@ -1 +1 @@
-DIST pleroma-v2.7.1.tar.gz 29180998 BLAKE2B
f19832dc5fa82d78da3061ec5b887efb407af24c7fd0503e882085903e4d7f0797b67081e40b64848ef5af09b76e429470ec94c2ecfa5e8b02ee23ee684994b7
SHA512
0a442859bc6794e6259bd2e37e1f264f2d2a6f76608fd48b99a83cdc2e48a1e44146f004d7b0ea7a11e8ae55309291632d18cd4332ea6d646a65abebf16bfd32
+DIST pleroma-v2.8.0.tar.gz 29197376 BLAKE2B
c494f79b9fc5fdc0bbc726e470756c4ef6feec1e371a1475452b3cee259d66fe03900a48f0576f4004fd5a3a2fd2eb746f517426386e83e197f921a315674fbb
SHA512
9345b97c8ef09e2f3013fceb5a6cae48b7ff08e5d0b405bc688c8d46666b7cec8d5d4e8ab2922b53a35c9ee531bde8d6c1832e89a84bf892182b3739cb4fef28
diff --git a/www-apps/pleroma/metadata.xml b/www-apps/pleroma/metadata.xml
index 2092bcc33..069675a03 100644
--- a/www-apps/pleroma/metadata.xml
+++ b/www-apps/pleroma/metadata.xml
@@ -5,4 +5,7 @@
<email>[email protected]</email>
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
+ <use>
+ <flag name="system-lexbor">Use <pkg>dev-libs/lexbor</pkg>
instead of vendored version</flag>
+ </use>
</pkgmetadata>
diff --git a/www-apps/pleroma/pleroma-2.7.1.ebuild
b/www-apps/pleroma/pleroma-2.8.0.ebuild
similarity index 93%
rename from www-apps/pleroma/pleroma-2.7.1.ebuild
rename to www-apps/pleroma/pleroma-2.8.0.ebuild
index 6c9758e23..51fd8a305 100644
--- a/www-apps/pleroma/pleroma-2.7.1.ebuild
+++ b/www-apps/pleroma/pleroma-2.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Haelwenn (lanodan) Monnier <[email protected]>
+# Copyright 2022-2024 Haelwenn (lanodan) Monnier <[email protected]>
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,13 +18,16 @@ fi
LICENSE="AGPL-3 CC-BY-SA-4.0 CC-BY-4.0"
SLOT="otp"
+IUSE="+system-lexbor"
+
# 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/erlang-27:=
- <dev-lang/elixir-1.16:=
+ >=dev-lang/elixir-1.14:=
+ <dev-lang/elixir-1.18
dev-build/cmake
>=dev-util/rebar-3.20.0-r1
dev-elixir/hex
@@ -35,6 +38,7 @@ DEPEND="
media-libs/vips:=
sys-apps/file
sys-libs/ncurses:=
+ system-lexbor? ( dev-libs/lexbor )
"
RDEPEND="
${DEPEND}
@@ -84,6 +88,8 @@ src_compile() {
export VIX_COMPILATION_MODE="PLATFORM_PROVIDED_LIBVIPS"
+ use system-lexbor && export WITH_SYSTEM_LEXBOR=1
+
emix release --overwrite --path pleroma
}
diff --git a/www-apps/pleroma/pleroma-9999.ebuild
b/www-apps/pleroma/pleroma-9999.ebuild
index 3ab74262f..51fd8a305 100644
--- a/www-apps/pleroma/pleroma-9999.ebuild
+++ b/www-apps/pleroma/pleroma-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Haelwenn (lanodan) Monnier <[email protected]>
+# Copyright 2022-2024 Haelwenn (lanodan) Monnier <[email protected]>
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,8 @@ fi
LICENSE="AGPL-3 CC-BY-SA-4.0 CC-BY-4.0"
SLOT="otp"
+IUSE="+system-lexbor"
+
# Requires network access (https) as long as elixir dependencies aren't
packaged
# said dependencies have their checksum verified via `mix.lock`
RESTRICT="network-sandbox"
@@ -36,6 +38,7 @@ DEPEND="
media-libs/vips:=
sys-apps/file
sys-libs/ncurses:=
+ system-lexbor? ( dev-libs/lexbor )
"
RDEPEND="
${DEPEND}
@@ -85,6 +88,8 @@ src_compile() {
export VIX_COMPILATION_MODE="PLATFORM_PROVIDED_LIBVIPS"
+ use system-lexbor && export WITH_SYSTEM_LEXBOR=1
+
emix release --overwrite --path pleroma
}