summaryrefslogtreecommitdiff
path: root/app-emacs/posframe
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa+gentoo@gmail.com>2021-09-29 21:37:25 -0400
committerJohn Turner <jturner.usa+gentoo@gmail.com>2021-09-29 21:37:25 -0400
commit8c8025d9f6c93e757a94e2f75b824ff4a8706029 (patch)
treef7f501eff311d01fd371425af073e24c13f0e248 /app-emacs/posframe
downloadebuilds-8c8025d9f6c93e757a94e2f75b824ff4a8706029.tar.gz
init
Diffstat (limited to 'app-emacs/posframe')
-rw-r--r--app-emacs/posframe/Manifest2
-rw-r--r--app-emacs/posframe/files/50posframe-gentoo.el2
-rw-r--r--app-emacs/posframe/posframe-0.8.5.ebuild26
-rw-r--r--app-emacs/posframe/posframe-1.0.4.ebuild29
4 files changed, 59 insertions, 0 deletions
diff --git a/app-emacs/posframe/Manifest b/app-emacs/posframe/Manifest
new file mode 100644
index 0000000..f4bfe29
--- /dev/null
+++ b/app-emacs/posframe/Manifest
@@ -0,0 +1,2 @@
+DIST posframe-0.8.5.tar.gz 77569 BLAKE2B bf379f4641ed78f7cd92fcb443f3e01f78360113dc9eec4b1dcbba581ec0df5b11eeeda27eaea6dd28f7aa324c33aa499079afe9665da9d1d2328904117364d9 SHA512 ce9c76f8a943d206f3438b82ba637b96a9f3cf0d1078f8b940ab8a0aaa9940aa308a76be5b678d7394b25716f631ca3305e25b850fd25ffa18d79551baff0586
+DIST posframe-1.0.4.tar.gz 78614 BLAKE2B 324c44a34301e9a5a4a7e8f55981de9b74484d4725305d4904a2528fc421d5920a8c1f2098b99dcca927cfa4723cbd115d112d6dc6fd3fca3dbac5783208b206 SHA512 a3b092ba59afe7d11b9664f7ce0719d252d013240506034e2069a976315bc72c66b99f6bfd3b6fb80dae4c049da3188cc14004fd423e06fff81451c4be67e1e5
diff --git a/app-emacs/posframe/files/50posframe-gentoo.el b/app-emacs/posframe/files/50posframe-gentoo.el
new file mode 100644
index 0000000..f33edfa
--- /dev/null
+++ b/app-emacs/posframe/files/50posframe-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/posframe-autoload.el" nil t)
diff --git a/app-emacs/posframe/posframe-0.8.5.ebuild b/app-emacs/posframe/posframe-0.8.5.ebuild
new file mode 100644
index 0000000..e56af8d
--- /dev/null
+++ b/app-emacs/posframe/posframe-0.8.5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="27"
+
+inherit elisp
+
+DESCRIPTION="Pop a postframe at point."
+HOMEPAGE="https://github.com/tumashu/posframe"
+SRC_URI="https://github.com/tumashu/posframe/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=app-editors/emacs-27[gtk]"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS=( README.md )
+
+src_compile() {
+ elisp-make-autoload-file "${S}/${PN}-autoload.el" "${S}/"
+ elisp_src_compile
+}
diff --git a/app-emacs/posframe/posframe-1.0.4.ebuild b/app-emacs/posframe/posframe-1.0.4.ebuild
new file mode 100644
index 0000000..6df9d59
--- /dev/null
+++ b/app-emacs/posframe/posframe-1.0.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="27"
+
+inherit elisp
+
+DESCRIPTION="Pop a postframe at point."
+HOMEPAGE="https://github.com/tumashu/posframe"
+COMMIT="74f06b77deeb770cd0a96977b1e6bdedb682487a"
+SRC_URI="https://github.com/tumashu/posframe/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=app-editors/emacs-27[gtk]"
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_REMOVE="posframe-benchmark.el"
+DOCS=( README.org )
+
+src_compile() {
+ elisp-make-autoload-file "${S}/${PN}-autoload.el" "${S}/"
+ elisp_src_compile
+}