* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/pleroma-fe/
@ 2023-11-27 16:46 Haelwenn Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Haelwenn Monnier @ 2023-11-27 16:46 UTC (permalink / raw
To: gentoo-commits
commit: 98a5929eb9df9aead4ba7eb583be6ff95ac79161
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Mon Nov 27 16:45:00 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Nov 27 16:45:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98a5929e
www-apps/pleroma-fe: add 2.6.1, drop 2.6.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
www-apps/pleroma-fe/Manifest | 2 +-
.../pleroma-fe/{pleroma-fe-2.6.0.ebuild => pleroma-fe-2.6.1.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest
index b004923313..eb9eb77cbf 100644
--- a/www-apps/pleroma-fe/Manifest
+++ b/www-apps/pleroma-fe/Manifest
@@ -1 +1 @@
-DIST pleroma-fe-2.6.0.tar.gz 4753735 BLAKE2B 21edb9d26b1c8cdc45ed9b9aa13d1b8b737112ab67f85a0c111ec0e9d29f112a4ef06312493c64bbc6be175f793e4e877f6849254de548337c470006b3779cb0 SHA512 13b17a71ab0feb7c7bb6c691f20cc8789c5589cdda642b7888cc0d16e284c32949fdda4df23ed2e610267ce898dea1b8db5620befe66cfe3c9d2a12f1e088d72
+DIST pleroma-fe-2.6.1.tar.gz 4754302 BLAKE2B e4cc8cdfb91a97e77da5c95e5a483850bf74e5de7a48c3e0625d4be233a72f373de906dadacc20b7c13170f917460a15f1b65c5f71cef4bb6bf62d523e0cf390 SHA512 2a444525e4981da4fa4c1f16cf904379169c0a7cc0e737e5b1a072bab4f1158cceb9faf8979166b84a74a35e692c5e82e4f3ea0ba2ccc34485cbb761a602fe60
diff --git a/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild b/www-apps/pleroma-fe/pleroma-fe-2.6.1.ebuild
similarity index 100%
rename from www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild
rename to www-apps/pleroma-fe/pleroma-fe-2.6.1.ebuild
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/pleroma-fe/
@ 2024-12-01 10:48 Haelwenn Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Haelwenn Monnier @ 2024-12-01 10:48 UTC (permalink / raw
To: gentoo-commits
commit: 8d911b38ea61746c655600c7392e71bbdb6698f8
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Dec 1 10:47:08 2024 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sun Dec 1 10:47:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d911b38
www-apps/pleroma-fe: add BDEPEND on npm
Closes: https://bugs.gentoo.org/945533
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
www-apps/pleroma-fe/pleroma-fe-2.7.0.ebuild | 3 ++-
www-apps/pleroma-fe/pleroma-fe-9999.ebuild | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/www-apps/pleroma-fe/pleroma-fe-2.7.0.ebuild b/www-apps/pleroma-fe/pleroma-fe-2.7.0.ebuild
index f232455bc..618e326bc 100644
--- a/www-apps/pleroma-fe/pleroma-fe-2.7.0.ebuild
+++ b/www-apps/pleroma-fe/pleroma-fe-2.7.0.ebuild
@@ -19,8 +19,9 @@ SLOT="0"
# said dependencies have their checksum verified via `yarn.lock`
RESTRICT="network-sandbox"
+# npm: https://bugs.gentoo.org/945533
BDEPEND="
- net-libs/nodejs
+ net-libs/nodejs[npm]
sys-apps/yarn
"
diff --git a/www-apps/pleroma-fe/pleroma-fe-9999.ebuild b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
index f232455bc..618e326bc 100644
--- a/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
+++ b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
@@ -19,8 +19,9 @@ SLOT="0"
# said dependencies have their checksum verified via `yarn.lock`
RESTRICT="network-sandbox"
+# npm: https://bugs.gentoo.org/945533
BDEPEND="
- net-libs/nodejs
+ net-libs/nodejs[npm]
sys-apps/yarn
"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/pleroma-fe/
@ 2024-08-02 9:36 Haelwenn Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Haelwenn Monnier @ 2024-08-02 9:36 UTC (permalink / raw
To: gentoo-commits
commit: 76f8bd3fe56920cfbe41fa0ffaa367befd5eaf10
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Aug 2 09:36:05 2024 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Aug 2 09:36:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76f8bd3f
www-apps/pleroma-fe: add 2.7.0, drop 2.6.1
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
www-apps/pleroma-fe/Manifest | 2 +-
.../pleroma-fe/{pleroma-fe-2.6.1.ebuild => pleroma-fe-2.7.0.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest
index eb9eb77cb..aefe33548 100644
--- a/www-apps/pleroma-fe/Manifest
+++ b/www-apps/pleroma-fe/Manifest
@@ -1 +1 @@
-DIST pleroma-fe-2.6.1.tar.gz 4754302 BLAKE2B e4cc8cdfb91a97e77da5c95e5a483850bf74e5de7a48c3e0625d4be233a72f373de906dadacc20b7c13170f917460a15f1b65c5f71cef4bb6bf62d523e0cf390 SHA512 2a444525e4981da4fa4c1f16cf904379169c0a7cc0e737e5b1a072bab4f1158cceb9faf8979166b84a74a35e692c5e82e4f3ea0ba2ccc34485cbb761a602fe60
+DIST pleroma-fe-2.7.0.tar.gz 4844258 BLAKE2B 39a166728df8a60d0a6844ebdb6b57b5e5cda28730e22090b045404f810775fad533102abf817bba62aa5d2848e60a99f21832bb227db0008073bb599f780a3a SHA512 9cafffaaf94e62b394511fdb671640964380f4200f7a8779fae905aa3af896ec5697a1483bdde689a1f0091a9432af39835a0381d75a0f35f9413fc806a804a3
diff --git a/www-apps/pleroma-fe/pleroma-fe-2.6.1.ebuild b/www-apps/pleroma-fe/pleroma-fe-2.7.0.ebuild
similarity index 100%
rename from www-apps/pleroma-fe/pleroma-fe-2.6.1.ebuild
rename to www-apps/pleroma-fe/pleroma-fe-2.7.0.ebuild
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/pleroma-fe/
@ 2023-11-09 6:45 Haelwenn Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Haelwenn Monnier @ 2023-11-09 6:45 UTC (permalink / raw
To: gentoo-commits
commit: 3ab24edf734372fa9de6da441060dec2003dfe04
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu Nov 9 06:20:30 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Nov 9 06:43:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ab24edf
www-apps/pleroma-fe: new package, add 2.6.0, 9999
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
www-apps/pleroma-fe/Manifest | 1 +
www-apps/pleroma-fe/metadata.xml | 8 +++++
www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild | 51 +++++++++++++++++++++++++++++
www-apps/pleroma-fe/pleroma-fe-9999.ebuild | 51 +++++++++++++++++++++++++++++
4 files changed, 111 insertions(+)
diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest
new file mode 100644
index 0000000000..b004923313
--- /dev/null
+++ b/www-apps/pleroma-fe/Manifest
@@ -0,0 +1 @@
+DIST pleroma-fe-2.6.0.tar.gz 4753735 BLAKE2B 21edb9d26b1c8cdc45ed9b9aa13d1b8b737112ab67f85a0c111ec0e9d29f112a4ef06312493c64bbc6be175f793e4e877f6849254de548337c470006b3779cb0 SHA512 13b17a71ab0feb7c7bb6c691f20cc8789c5589cdda642b7888cc0d16e284c32949fdda4df23ed2e610267ce898dea1b8db5620befe66cfe3c9d2a12f1e088d72
diff --git a/www-apps/pleroma-fe/metadata.xml b/www-apps/pleroma-fe/metadata.xml
new file mode 100644
index 0000000000..2092bcc33a
--- /dev/null
+++ b/www-apps/pleroma-fe/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild b/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild
new file mode 100644
index 0000000000..fc69ddfbc4
--- /dev/null
+++ b/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
+HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe"
+if [[ "${PV}" == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe"
+else
+ SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+LICENSE="AGPL-3 MIT ISC Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# Requires network access (https) as long as NPM dependencies aren't packaged
+# said dependencies have their checksum verified via `yarn.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+ net-libs/nodejs
+ sys-apps/yarn
+"
+
+src_unpack() {
+ default
+
+ [[ "${PV}" == *9999 ]] && git-r3_src_unpack
+
+ cd "${S}" || die
+ yarn install --no-bin-links --frozen-lockfile --non-interactive || die
+}
+
+# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance
+
+src_compile() {
+ yarn run build || die
+}
+
+src_install() {
+ insinto "/opt/pleroma-fe"
+ doins -r dist
+}
+
+pkg_postinst() {
+ elog 'You will need to add the following line in /etc/pleroma/config.exs to make use of this frontend:'
+ elog 'config :pleroma, :frontends, primary: %{"name" => "pleroma-fe", "ref" => "gentoo"}'
+}
diff --git a/www-apps/pleroma-fe/pleroma-fe-9999.ebuild b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
new file mode 100644
index 0000000000..fc69ddfbc4
--- /dev/null
+++ b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
+HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe"
+if [[ "${PV}" == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe"
+else
+ SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+LICENSE="AGPL-3 MIT ISC Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# Requires network access (https) as long as NPM dependencies aren't packaged
+# said dependencies have their checksum verified via `yarn.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+ net-libs/nodejs
+ sys-apps/yarn
+"
+
+src_unpack() {
+ default
+
+ [[ "${PV}" == *9999 ]] && git-r3_src_unpack
+
+ cd "${S}" || die
+ yarn install --no-bin-links --frozen-lockfile --non-interactive || die
+}
+
+# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance
+
+src_compile() {
+ yarn run build || die
+}
+
+src_install() {
+ insinto "/opt/pleroma-fe"
+ doins -r dist
+}
+
+pkg_postinst() {
+ elog 'You will need to add the following line in /etc/pleroma/config.exs to make use of this frontend:'
+ elog 'config :pleroma, :frontends, primary: %{"name" => "pleroma-fe", "ref" => "gentoo"}'
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/pleroma-fe/
@ 2023-09-19 6:25 Haelwenn Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Haelwenn Monnier @ 2023-09-19 6:25 UTC (permalink / raw
To: gentoo-commits
commit: 39df372732bdd4421a6bbf0f11e785dd98483b42
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Tue Sep 19 06:25:17 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Sep 19 06:25:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=39df3727
Revert "www-apps/pleroma-fe: new package, add 2.5.0, 9999"
Sorry, wasn't supposed to be pushed yet…
This reverts commit ad49e6cb1d03d8ef902b119d7aad9bfb33ba23aa.
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
www-apps/pleroma-fe/Manifest | 1 -
www-apps/pleroma-fe/metadata.xml | 8 -----
www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild | 55 -----------------------------
www-apps/pleroma-fe/pleroma-fe-9999.ebuild | 55 -----------------------------
4 files changed, 119 deletions(-)
diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest
deleted file mode 100644
index ea80b74b5f..0000000000
--- a/www-apps/pleroma-fe/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pleroma-fe-2.5.0.tar.gz 4676267 BLAKE2B 8ffd3cd219a5f232d977dfb2bbac5b0d3f7d8ba2a850cbb09ea3e240c7337d0d97ddd4a039eae16786e5fa8da47f795daa0275c391a31136bb5f86a1e1502326 SHA512 0adca3c547de1b520269974d228ea7de6a16fa1ea8798e87d121d4ea86325bae21ea889b887e4fc21de0d7d4cbcabe82f2ff8948b80249d1345c4cf3a0e81cb2
diff --git a/www-apps/pleroma-fe/metadata.xml b/www-apps/pleroma-fe/metadata.xml
deleted file mode 100644
index 2092bcc33a..0000000000
--- a/www-apps/pleroma-fe/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>contact@hacktivis.me</email>
- <name>Haelwenn (lanodan) Monnier</name>
- </maintainer>
-</pkgmetadata>
diff --git a/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild b/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild
deleted file mode 100644
index 3ef7304224..0000000000
--- a/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
-HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe"
-if [[ "${PV}" == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe"
-else
- SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-LICENSE="AGPL-3 MIT ISC Apache-2.0"
-SLOT="0"
-IUSE=""
-
-# Requires network access (https) as long as NPM dependencies aren't packaged
-# said dependencies have their checksum verified via `yarn.lock`
-RESTRICT="network-sandbox"
-
-BDEPEND="
- net-libs/nodejs
- sys-apps/yarn
-"
-
-src_unpack() {
- default
-
- [[ "${PV}" == *9999 ]] && git-r3_src_unpack
-
- cd "${S}" || die
- yarn install --no-bin-links --frozen-lockfile --non-interactive || die
-}
-
-# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance
-src_prepare() {
- default
-
- # https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1854
- sed -i \
- -e '/git rev-parse/,/^$/d' \
- -e 's|let commitHash = .*|let commitHash = "'${PV}'";\n|' \
- build/webpack.prod.conf.js || die
-}
-
-src_compile() {
- yarn run build || die
-}
-
-src_install() {
- insinto "/opt/pleroma-fe"
- doins -r dist
-}
diff --git a/www-apps/pleroma-fe/pleroma-fe-9999.ebuild b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
deleted file mode 100644
index 3ef7304224..0000000000
--- a/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
-HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe"
-if [[ "${PV}" == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe"
-else
- SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-LICENSE="AGPL-3 MIT ISC Apache-2.0"
-SLOT="0"
-IUSE=""
-
-# Requires network access (https) as long as NPM dependencies aren't packaged
-# said dependencies have their checksum verified via `yarn.lock`
-RESTRICT="network-sandbox"
-
-BDEPEND="
- net-libs/nodejs
- sys-apps/yarn
-"
-
-src_unpack() {
- default
-
- [[ "${PV}" == *9999 ]] && git-r3_src_unpack
-
- cd "${S}" || die
- yarn install --no-bin-links --frozen-lockfile --non-interactive || die
-}
-
-# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance
-src_prepare() {
- default
-
- # https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1854
- sed -i \
- -e '/git rev-parse/,/^$/d' \
- -e 's|let commitHash = .*|let commitHash = "'${PV}'";\n|' \
- build/webpack.prod.conf.js || die
-}
-
-src_compile() {
- yarn run build || die
-}
-
-src_install() {
- insinto "/opt/pleroma-fe"
- doins -r dist
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/pleroma-fe/
@ 2023-09-19 6:23 Haelwenn Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Haelwenn Monnier @ 2023-09-19 6:23 UTC (permalink / raw
To: gentoo-commits
commit: ad49e6cb1d03d8ef902b119d7aad9bfb33ba23aa
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Sep 10 07:20:26 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Sep 19 06:20:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad49e6cb
www-apps/pleroma-fe: new package, add 2.5.0, 9999
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
www-apps/pleroma-fe/Manifest | 1 +
www-apps/pleroma-fe/metadata.xml | 8 +++++
www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild | 55 +++++++++++++++++++++++++++++
www-apps/pleroma-fe/pleroma-fe-9999.ebuild | 55 +++++++++++++++++++++++++++++
4 files changed, 119 insertions(+)
diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest
new file mode 100644
index 0000000000..ea80b74b5f
--- /dev/null
+++ b/www-apps/pleroma-fe/Manifest
@@ -0,0 +1 @@
+DIST pleroma-fe-2.5.0.tar.gz 4676267 BLAKE2B 8ffd3cd219a5f232d977dfb2bbac5b0d3f7d8ba2a850cbb09ea3e240c7337d0d97ddd4a039eae16786e5fa8da47f795daa0275c391a31136bb5f86a1e1502326 SHA512 0adca3c547de1b520269974d228ea7de6a16fa1ea8798e87d121d4ea86325bae21ea889b887e4fc21de0d7d4cbcabe82f2ff8948b80249d1345c4cf3a0e81cb2
diff --git a/www-apps/pleroma-fe/metadata.xml b/www-apps/pleroma-fe/metadata.xml
new file mode 100644
index 0000000000..2092bcc33a
--- /dev/null
+++ b/www-apps/pleroma-fe/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild b/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild
new file mode 100644
index 0000000000..3ef7304224
--- /dev/null
+++ b/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
+HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe"
+if [[ "${PV}" == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe"
+else
+ SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+LICENSE="AGPL-3 MIT ISC Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# Requires network access (https) as long as NPM dependencies aren't packaged
+# said dependencies have their checksum verified via `yarn.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+ net-libs/nodejs
+ sys-apps/yarn
+"
+
+src_unpack() {
+ default
+
+ [[ "${PV}" == *9999 ]] && git-r3_src_unpack
+
+ cd "${S}" || die
+ yarn install --no-bin-links --frozen-lockfile --non-interactive || die
+}
+
+# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance
+src_prepare() {
+ default
+
+ # https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1854
+ sed -i \
+ -e '/git rev-parse/,/^$/d' \
+ -e 's|let commitHash = .*|let commitHash = "'${PV}'";\n|' \
+ build/webpack.prod.conf.js || die
+}
+
+src_compile() {
+ yarn run build || die
+}
+
+src_install() {
+ insinto "/opt/pleroma-fe"
+ doins -r dist
+}
diff --git a/www-apps/pleroma-fe/pleroma-fe-9999.ebuild b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
new file mode 100644
index 0000000000..3ef7304224
--- /dev/null
+++ b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
+HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe"
+if [[ "${PV}" == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe"
+else
+ SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+LICENSE="AGPL-3 MIT ISC Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# Requires network access (https) as long as NPM dependencies aren't packaged
+# said dependencies have their checksum verified via `yarn.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+ net-libs/nodejs
+ sys-apps/yarn
+"
+
+src_unpack() {
+ default
+
+ [[ "${PV}" == *9999 ]] && git-r3_src_unpack
+
+ cd "${S}" || die
+ yarn install --no-bin-links --frozen-lockfile --non-interactive || die
+}
+
+# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance
+src_prepare() {
+ default
+
+ # https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1854
+ sed -i \
+ -e '/git rev-parse/,/^$/d' \
+ -e 's|let commitHash = .*|let commitHash = "'${PV}'";\n|' \
+ build/webpack.prod.conf.js || die
+}
+
+src_compile() {
+ yarn run build || die
+}
+
+src_install() {
+ insinto "/opt/pleroma-fe"
+ doins -r dist
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-12-01 10:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-27 16:46 [gentoo-commits] repo/proj/guru:dev commit in: www-apps/pleroma-fe/ Haelwenn Monnier
-- strict thread matches above, loose matches on Subject: below --
2024-12-01 10:48 Haelwenn Monnier
2024-08-02 9:36 Haelwenn Monnier
2023-11-09 6:45 Haelwenn Monnier
2023-09-19 6:25 Haelwenn Monnier
2023-09-19 6:23 Haelwenn Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox