forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-tex/latex-beamer: Bump to 3.41, switch to github and build & inst…
…all properly documentation, bug #616912 Package-Manager: Portage-2.3.5, Repoman-2.3.2
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |