summaryrefslogtreecommitdiff
path: root/app-emacs/libegit2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-23 18:45:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-23 18:45:51 +0000
commit3bd958e646e508a3e80f5fb28f44384eed671f5d (patch)
tree59c64eff7f35adeaabe15243171164094a9c23e1 /app-emacs/libegit2
parentc8c3804588db08dae281504dd79ef71741cd8dc3 (diff)
gentoo auto-resync : 23:03:2023 - 18:45:51
Diffstat (limited to 'app-emacs/libegit2')
-rw-r--r--app-emacs/libegit2/Manifest2
-rw-r--r--app-emacs/libegit2/libegit2-0.0.20230129.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/app-emacs/libegit2/Manifest b/app-emacs/libegit2/Manifest
index 8a3a24cca8a9..ec1b8176bda0 100644
--- a/app-emacs/libegit2/Manifest
+++ b/app-emacs/libegit2/Manifest
@@ -1,4 +1,6 @@
AUX 50libegit2-gentoo.el 199 BLAKE2B f9f7b6d2c6d8a70d37e698dd71a40b0ccb4224c1276393adfe2eb546313cc3bea29136820f98d3579f6cdeafd0559e1739150be503233de44dddefd3f97b66b6 SHA512 067030b050715f80251b28a179c0b4779efd311c4d5c1e0bb2bdd10f95442cd8f243c45c81f004ad8362740aa0139667324ef9c829abec7291ddfe801ea4c67a
DIST libegit2-0.0.20200515.tar.gz 132122 BLAKE2B 2e8e06fb833e5ea2ee0f4e1fa760d30e91235a9b9c4a465de6d8a12d6c8431bdc85204546ba36c36f206e2788d9f1cda00d578c1c40057ccfb3f2117e8302013 SHA512 f604591ba272ea1cef8c428f644c0cfcc4ba2438a55c2b7a0dd1cdcb15836c755c0c6bdc6c42bd6da05935bba7fdac30efe65f26307599b07e591f4efdd1e897
+DIST libegit2-0.0.20230129.tar.gz 132237 BLAKE2B 339c11eaa5b231d33a3b23780b625798d47ab6725fede240ae95307cc0034a61a39d84075be271fff2ae8b1ff5143fb61ef243671f8ac927b07e931824c8c55d SHA512 9384e9118b29429aaa8ee7608712bcc1c9f006a35fb46332f9b999be909ac18c4753af58cd1c91c37a6b24ca9a08f7103f22d53a242296d0dc6a509a2c5e27fb
EBUILD libegit2-0.0.20200515-r1.ebuild 1054 BLAKE2B 9ada2156b66eed269f4c42616b007666052a10ad4352373377ed63a43187cda7f21ab70612e160e8c250ce5d36b77e0550cea53dbb81a02b770dd4a526548dc8 SHA512 38afc5dc2897eca226a1673df70f5f2de14b63f2f530842dd284052857da1dbd8fab7c79020040be4dcc7d26876158fb1ff4fecbc5adde4f75f52c65c177b865
+EBUILD libegit2-0.0.20230129.ebuild 1059 BLAKE2B 3a93ca8a0a2e54bd89a88d9e991f02d7054e35d9a7b5b4e5b063eaf73464604b9902edfe2ea52c5dac66ff1c8549c35e2643d809c63cca9566241ed5daf15cd9 SHA512 369fca9d1590bfa08e94ccee1f3ac1922afccbee2a3c2c5905f342e45fbb172ec9f8548044d8e5601ccc3d48061fb81a74ed1b3d6645514925b0cc07748bc832
MISC metadata.xml 482 BLAKE2B 5217eaebb982cc094497ae980263833be6110d28c97ae7ef2324cc7bbeb400b942317973deee3617bfc607781318bd23f05904140324f064f1ccee1b9ab97f15 SHA512 13f73bd327d202c87f7e3ed27de50c3f6be1eb1941b4a753ba391f1ba3f4140eb3bcdfe1be5179ea1168ad1cedb963cb85f64b6f72ad1c112e8ea708b4a0ac9b
diff --git a/app-emacs/libegit2/libegit2-0.0.20230129.ebuild b/app-emacs/libegit2/libegit2-0.0.20230129.ebuild
new file mode 100644
index 000000000000..ede569b2406d
--- /dev/null
+++ b/app-emacs/libegit2/libegit2-0.0.20230129.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+NEED_EMACS=26
+COMMIT="ab1a53a6a0120872e42582fc980e779d47de6d0e"
+
+BUILD_DIR="."
+
+inherit cmake elisp
+
+DESCRIPTION="Emacs bindings for libgit2"
+HOMEPAGE="https://github.com/magit/libegit2"
+SRC_URI="https://github.com/magit/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# The tests seem to be written specifically for the libegit2 git repository.
+RESTRICT="test"
+
+DEPEND=">=dev-libs/libgit2-1.0.0:="
+RDEPEND="${DEPEND}
+ >=app-editors/emacs-26:*[dynamic-loading]"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md"
+
+src_prepare() {
+ # Don't build against the bundled submodule
+ sed -i -e '/subdirectory.*libgit2/ s/^/#/' CMakeLists.txt || die
+
+ rm -f test.el || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ elisp_src_compile
+}
+
+src_install() {
+ elisp_src_install
+ elisp-modules-install ${PN} libegit2.so
+}