From 7f7be669e8569700a547f7281d12e7181410aba0 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sat, 9 Jul 2022 21:38:25 +0300 Subject: [PATCH] app-emacs/svg-lib: add 0.2.7 Signed-off-by: Alfred Wingate --- app-emacs/svg-lib/Manifest | 1 + app-emacs/svg-lib/files/50svg-lib-gentoo.el | 1 + app-emacs/svg-lib/metadata.xml | 7 ++++++ app-emacs/svg-lib/svg-lib-0.2.7.ebuild | 26 +++++++++++++++++++++ app-emacs/svg-lib/svg-lib-9999.ebuild | 26 +++++++++++++++++++++ 5 files changed, 61 insertions(+) create mode 100644 app-emacs/svg-lib/Manifest create mode 100644 app-emacs/svg-lib/files/50svg-lib-gentoo.el create mode 100644 app-emacs/svg-lib/metadata.xml create mode 100644 app-emacs/svg-lib/svg-lib-0.2.7.ebuild create mode 100644 app-emacs/svg-lib/svg-lib-9999.ebuild diff --git a/app-emacs/svg-lib/Manifest b/app-emacs/svg-lib/Manifest new file mode 100644 index 0000000..f4b41f4 --- /dev/null +++ b/app-emacs/svg-lib/Manifest @@ -0,0 +1 @@ +DIST svg-lib-0.2.7.tar 1095680 BLAKE2B c94a20a7494b12b4c3bb09527d11b68b74688d53578f505fc56b9c2c796c99ba791e564c239e1b3bb0ba4a5afa93fcecc30b2b1c6ac3d22a11408109a9eca87d SHA512 8c92469c4711c75a4553dee256f86869b17bdb5d6569309e0224998abbcaa4e7f7515ab31dcfafac4e8714beba1e794fa61d04b6cee40dabd7467df4a0982e9b diff --git a/app-emacs/svg-lib/files/50svg-lib-gentoo.el b/app-emacs/svg-lib/files/50svg-lib-gentoo.el new file mode 100644 index 0000000..431f7e9 --- /dev/null +++ b/app-emacs/svg-lib/files/50svg-lib-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/svg-lib/metadata.xml b/app-emacs/svg-lib/metadata.xml new file mode 100644 index 0000000..76de6fa --- /dev/null +++ b/app-emacs/svg-lib/metadata.xml @@ -0,0 +1,7 @@ + + + + + rougier/svg-lib + + diff --git a/app-emacs/svg-lib/svg-lib-0.2.7.ebuild b/app-emacs/svg-lib/svg-lib-0.2.7.ebuild new file mode 100644 index 0000000..19b7669 --- /dev/null +++ b/app-emacs/svg-lib/svg-lib-0.2.7.ebuild @@ -0,0 +1,26 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS="27.1" + +inherit elisp + +DESCRIPTION="Emacs SVG libraries for creatings tags, icons and bars" +HOMEPAGE="https://github.com/rougier/svg-lib" + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rougier/svg-lib" +else + SRC_URI="https://elpa.gnu.org/packages/svg-lib-${PV}.tar" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +RESTRICT="test" + +SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/svg-lib/svg-lib-9999.ebuild b/app-emacs/svg-lib/svg-lib-9999.ebuild new file mode 100644 index 0000000..e47d49d --- /dev/null +++ b/app-emacs/svg-lib/svg-lib-9999.ebuild @@ -0,0 +1,26 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS="27.1" + +inherit elisp + +DESCRIPTION="Emacs SVG libraries for creatings tags, icons and bars" +HOMEPAGE="https://github.com/rougier/svg-lib" + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rougier/svg-lib" +else + SRC_URI="https://elpa.gnu.org/packages/svg-lib-${PV}.tar -> ${P}.tar" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +RESTRICT="test" + +SITEFILE="50${PN}-gentoo.el"