summaryrefslogtreecommitdiff
path: root/app-emacs/pdf-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-30 07:22:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-30 07:22:57 +0000
commit3059f20995d5ac642b7b4a38d538fdf1cc45d90d (patch)
tree8d4c6b1c09f03338eef1359de3dfeec28ea11644 /app-emacs/pdf-tools
parentf616ce4660c92a3fcb4f05663c2ab47c9defa0c3 (diff)
gentoo auto-resync : 30:11:2022 - 07:22:56
Diffstat (limited to 'app-emacs/pdf-tools')
-rw-r--r--app-emacs/pdf-tools/Manifest2
-rw-r--r--app-emacs/pdf-tools/pdf-tools-1.0.0.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/app-emacs/pdf-tools/Manifest b/app-emacs/pdf-tools/Manifest
index ece83e217537..6d87a71ae812 100644
--- a/app-emacs/pdf-tools/Manifest
+++ b/app-emacs/pdf-tools/Manifest
@@ -1,4 +1,6 @@
AUX 50pdf-tools-gentoo.el 84 BLAKE2B d37daa46d1ac2591d7720d6a2d1d2eed5d2a90c5215edf00ad70b18c6c7c9c0fe465901a1363e2a35202c35a144f9999421e6723e38707c7e86cdd0bbfb945f8 SHA512 f5839fdee6f6fc4017ecff986b0460584a9497c13e33fcd09c100c8d0bda50b3408c20b80bee6d5254891e999b984aef6d7730aacf273b8b8a0e7d22565bca29
+DIST pdf-tools-1.0.0.tar.gz 459584 BLAKE2B 54e6f48e593552135c9264baa8040aed6a543e361f5ee951f925ef72d8c62db9e15f97de52eaa4b6013a17dce6170f73e16f1e9d25c9cde33ac8eba1f71ebb7a SHA512 dcf44a45865061c191dcfc03504c707f2170224167d3ec493465c789d8c1433f17c706c5f15dac4fab65e3da45ca3c194aad9b7c599209a7a10b72c17dbbeb77
DIST pdf-tools-1.0.0_pre20220619.tar.gz 459416 BLAKE2B 79a7c7a59faf9c11047bfb6218a8055cb9c757b928e52ff59ffb910e5aedb95ca7efe1dda1ae821d98a687fc6e700d8194311fc850f534f425534a1572bd34b5 SHA512 74ca8c05ad238c07ca1b6d6a594889d048220bb984b78b83e7af4c59eedfa7a35a03e153aa4d1296781f910eb0b3a68a5148876a30ad0f6e9fdecf831ff58f8e
+EBUILD pdf-tools-1.0.0.ebuild 1162 BLAKE2B 6cc20f0209212161f05e1ea6ad62037dfbfe11a138cc594c97fec9033612af96668be813100e94f4b35c430c01dd1cae2451ba3d487576036c8022eb1dd38a90 SHA512 a57fd986ac6101d97374fd8be163382336a994634c8f8d02df600cf399022d0fe58c401b629780bf395f6dd422ae1a3120a5ebe86bd8d535f5f667f805ba951a
EBUILD pdf-tools-1.0.0_pre20220619.ebuild 1288 BLAKE2B 7d3e3269c11f51a47e9fe47b6d99c58ee11878ab0e1ead4efd6097f2cb68197f6c7a3d809366ea19a9f9d0d7fd0b2272e21022c5544e158520e765effec2dc4d SHA512 73e72d528a5d87e75b6874efaea682f397658e2ebc7acbd1c9a6c1598b9014440603415b0d38b2da22c7020bc561cf5665a3ed3ccb7eea4fd486fd290ffae7ae
MISC metadata.xml 1213 BLAKE2B 8dc34b000f1f156f94630ac4e073af8b42e5cf331cfb0b7c83a094885db2ebdac1f4b376dc195bf14ab371812be25bb256850569e107d4e25dee2cd0427f1d3a SHA512 2044f0015d111d63fb3405adb20d763ea6d8b5bed7d444117e38b4f5fb24e012eb9e665e233aeeebd65da2973125bf1d2e69ee5377d50e0d7ff7d8f21b666b4b
diff --git a/app-emacs/pdf-tools/pdf-tools-1.0.0.ebuild b/app-emacs/pdf-tools/pdf-tools-1.0.0.ebuild
new file mode 100644
index 000000000000..e2a64f5d79f4
--- /dev/null
+++ b/app-emacs/pdf-tools/pdf-tools-1.0.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=26.3
+
+inherit autotools elisp
+
+DESCRIPTION="Emacs Lisp support library for PDF documents"
+HOMEPAGE="https://github.com/vedang/pdf-tools/"
+SRC_URI="https://github.com/vedang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+# Cask is a hard dependency for tests; it is ran by helper functions too.
+RESTRICT="test"
+
+BDEPEND="app-emacs/tablist"
+DEPEND="
+ app-text/poppler:=[cairo,png]
+ dev-libs/glib:2=
+ media-libs/freetype:2=
+ media-libs/harfbuzz:=
+ media-libs/libpng:=
+ x11-libs/cairo:=
+"
+RDEPEND="
+ ${DEPEND}
+ ${BDEPEND}
+"
+
+DOCS=( NEWS README.org )
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ elisp_src_prepare
+
+ cd server || die
+ eautoreconf
+}
+
+src_configure() {
+ cd server || die
+ econf
+}
+
+src_compile() {
+ BYTECOMPFLAGS="-L lisp" elisp-compile lisp/*.el
+ elisp-make-autoload-file lisp/${PN}-autoloads.el lisp
+
+ emake -C server
+}
+
+src_install() {
+ elisp-install ${PN} lisp/*.el*
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+ emake -C server DESTDIR="${D}" install
+
+ einstalldocs
+}