summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-05-15 17:18:19 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-05-15 17:18:49 +0200
commit2d0d63d785f9694010cca9571608e10a04f2a389 (patch)
tree3f56745e2489af3afbd059f05d0b58632e5057a6 /dev-tex/latex-beamer
parentdev-python/fields: Initial version (diff)
downloadgentoo-2d0d63d785f9694010cca9571608e10a04f2a389.tar.gz
gentoo-2d0d63d785f9694010cca9571608e10a04f2a389.tar.bz2
gentoo-2d0d63d785f9694010cca9571608e10a04f2a389.zip
dev-tex/latex-beamer: Bump to 3.41, switch to github and build & install properly documentation, bug #616912
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-tex/latex-beamer')
-rw-r--r--dev-tex/latex-beamer/Manifest1
-rw-r--r--dev-tex/latex-beamer/latex-beamer-3.41.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-tex/latex-beamer/Manifest b/dev-tex/latex-beamer/Manifest
index 02cd01600a7b..3eaae6f73894 100644
--- a/dev-tex/latex-beamer/Manifest
+++ b/dev-tex/latex-beamer/Manifest
@@ -1 +1,2 @@
DIST latex-beamer-3.36.zip 4364333 SHA256 5bd5366da9942cec067dcf8a492d713ff45a73a4a48ff56151fd5ce01488bc63 SHA512 b93d91c2eb523d7e30ecee8fa1af625730bb465124da4f856f7708da32d31fc3bc68e5b57e120b8e39b8ed3b74fef0aeb208b92f4bbdf741c8bf377227fa84cf WHIRLPOOL 22df7b9fd3681b7ea0ada51ce1b71c16b3152e85fc52dfb3c096a1771232c3de7d1c0c2baa935b1d0814ce220208f49094a8a6c295a64d4ebcbe3b234eb11100
+DIST latex-beamer-3.41.tar.gz 1007759 SHA256 e6e989e34347c15de875ddb1dc2423b1608777eb85f88118551229deb38789c8 SHA512 4fcf49c03cb572b85f97d847d491571d1d400ed39fc3d82b8f01f893838215d4d1b045510ce9c59968974ae2132d29cfbdb288e1fc773a59827ab50641cd9fd6 WHIRLPOOL 479b6d06214ea3b282e3ab99c33283f08ab69545c232986b91c92c5c6d1017a3fb96e68c859d8dbefb495c4cc20f11c7dd9dd5eb690ae5166c7534e81058b38b
diff --git a/dev-tex/latex-beamer/latex-beamer-3.41.ebuild b/dev-tex/latex-beamer/latex-beamer-3.41.ebuild
new file mode 100644
index 000000000000..1eb4e9848b9e
--- /dev/null
+++ b/dev-tex/latex-beamer/latex-beamer-3.41.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit latex-package
+
+DESCRIPTION="LaTeX class for creating presentations using a video projector"
+HOMEPAGE="https://github.com/josephwright/beamer"
+SRC_URI="https://github.com/josephwright/beamer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 FDL-1.2 LPPL-1.3c"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc examples"
+
+DEPEND="dev-texlive/texlive-latex"
+RDEPEND=">=dev-tex/pgf-1.10
+ dev-tex/xcolor
+ !dev-tex/translator"
+
+S=${WORKDIR}/beamer-${PV}
+
+src_compile() {
+ if use doc; then
+ cd doc
+ emake -j1
+ fi
+}
+
+src_install() {
+ insinto /usr/share/texmf-site/tex/latex/beamer
+ doins -r base
+
+ dodoc AUTHORS README.md
+
+ if use doc ; then
+ docinto doc
+ dodoc -r doc/*
+ dosym "/usr/share/doc/${PF}/doc/" "${TEXMF}/doc/latex/beamer"
+ fi
+
+ use examples && dodoc -r examples solutions
+}