summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-12-18 15:23:38 +0100
committerUlrich Müller <ulm@gentoo.org>2023-12-18 15:23:38 +0100
commit7982cd584285e18335884b0c3dea4f507a720f4c (patch)
tree24e123697d3010d2507d552856e340e040368a51 /app-emacs/flim
parentprofiles, 23.0: add zstd to BOOTSTRAP_USE (diff)
downloadgentoo-7982cd584285e18335884b0c3dea4f507a720f4c.tar.gz
gentoo-7982cd584285e18335884b0c3dea4f507a720f4c.tar.bz2
gentoo-7982cd584285e18335884b0c3dea4f507a720f4c.zip
app-emacs/flim: add 1.14.9_p20231218
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/flim')
-rw-r--r--app-emacs/flim/Manifest1
-rw-r--r--app-emacs/flim/flim-1.14.9_p20231218.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/app-emacs/flim/Manifest b/app-emacs/flim/Manifest
index 197538022269..0dbefa09721a 100644
--- a/app-emacs/flim/Manifest
+++ b/app-emacs/flim/Manifest
@@ -1,2 +1,3 @@
DIST flim-1.14.9_p20210529.tar.gz 146081 BLAKE2B b5326cb67f4e1387fe5a9f0cc9360feca81bf61de18ae75b325e072e70a3f4b70a1bda148a2ab8ac9c3b872bc5ed96b53b61d0de427abfb21eb8e3dba1235701 SHA512 47a55606add53da7f399d87befc834dbbe4b52b1f3011d24d3dfd3ec7a7010ffebc2aa666e38f5878735b2ee43dfe46eec548dba3535521440c8bcd1bd08a17d
DIST flim-1.14.9_p20231214.tar.gz 144964 BLAKE2B afe728aee4f4b384dd69589e88cbf693fbe8d0756d8e0c35f7d828172fce81c0a8b006735aa41ec5d3e35103d1dd744b13d985d358030aeaad83cc8de65dc203 SHA512 b9f923ffbe1939b65a6e137002e40d98cdd2d3cfa9197e417ea22607fbcca40070a985d20b7224e5413e86110cc9a949fc920deb46afe49fc03980da2796c50d
+DIST flim-1.14.9_p20231218.tar.gz 144953 BLAKE2B 943479e302453139af0a8d0c656e1ef3596220a865698f6b98c59d323c284c84dad277d20b524b70eb9650b42a9bfe18ca6c04d5849df0812ed49dbbe379fffd SHA512 b4ba7ac736402a2e8290c3329801fece04540cc8a4a07ab93f71472e41704e033a7925420fc7f42d63c9d3a57abb870fbf88a4012cba8ebc6a43f93c0707751e
diff --git a/app-emacs/flim/flim-1.14.9_p20231218.ebuild b/app-emacs/flim/flim-1.14.9_p20231218.ebuild
new file mode 100644
index 000000000000..26a494f8cc6e
--- /dev/null
+++ b/app-emacs/flim/flim-1.14.9_p20231218.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="A library to provide basic features about message representation or encoding"
+HOMEPAGE="https://github.com/wanderlust/flim"
+GITHUB_SHA1="abdd2315006eb31476249223569808adb1c0f7b2"
+SRC_URI="https://github.com/wanderlust/${PN}/archive/${GITHUB_SHA1}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${GITHUB_SHA1}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="oauth2 test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=app-emacs/apel-10.8
+ oauth2? ( app-emacs/oauth2 )"
+
+BDEPEND="${RDEPEND}
+ test? ( app-emacs/oauth2 )"
+
+SITEFILE="60${PN}-gentoo.el"
+
+src_prepare() {
+ elisp_src_prepare
+ sed -i "s/(module-installed-p 'oauth2)/$(usex oauth2 t nil)/" \
+ FLIM-ELS || die
+}
+
+src_compile() {
+ emake PACKAGE_LISPDIR="NONE"
+}
+
+src_test() {
+ emake PACKAGE_LISPDIR="NONE" check
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" \
+ LISPDIR="${ED}/${SITELISP}" \
+ PACKAGE_LISPDIR="NONE" \
+ VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install
+ elisp-make-site-file "${SITEFILE}"
+ dodoc FLIM-API.en NEWS VERSION README* ChangeLog*
+}