From 725fc6e0d0028f5c37fa49ba560a8eda1196ebfa Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sun, 21 Oct 2018 00:03:45 +0200 Subject: games-rpg/m5figur-mv: Version bump --- games-rpg/m5figur-mv/Manifest | 2 +- games-rpg/m5figur-mv/m5figur-mv-4.1.1.ebuild | 56 ++++++++++++++++++++++++++++ games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild | 56 ---------------------------- metadata/pkg_desc_index | 3 +- profiles/use.local.desc | 5 --- 5 files changed, 58 insertions(+), 64 deletions(-) create mode 100644 games-rpg/m5figur-mv/m5figur-mv-4.1.1.ebuild delete mode 100644 games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild diff --git a/games-rpg/m5figur-mv/Manifest b/games-rpg/m5figur-mv/Manifest index 43c236d0..98c3378a 100644 --- a/games-rpg/m5figur-mv/Manifest +++ b/games-rpg/m5figur-mv/Manifest @@ -1 +1 @@ -DIST m5figur-mv-4.1.tar.gz 22361 SHA512 ae7992ed8485333807edc6c7313a27fb062086c6c4a2bf2404b01bb4c0622ad85c35b997e37b905040aca11e0a627907dc25e386765b927bdf523919cd860197 +DIST m5figur-mv-4.1.1.tar.gz 22375 SHA512 dee3808abd9e0d75a3f991ddfeeb8f8e4b974861ebc51c68d53a8e384493c036f3be17a26a75bd48a59a0ce10d3f9674db2564a513561c22b0cd8b7569dc3050 diff --git a/games-rpg/m5figur-mv/m5figur-mv-4.1.1.ebuild b/games-rpg/m5figur-mv/m5figur-mv-4.1.1.ebuild new file mode 100644 index 00000000..9b65b1dc --- /dev/null +++ b/games-rpg/m5figur-mv/m5figur-mv-4.1.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 2014-2018 Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +# Do *not* inherit latex-package: It DEPENDS unconditionally on texinfo. +# Moreover, it would attempt to compile the *.tex example with texinfo to dvi. +RESTRICT="mirror" + +DESCRIPTION="LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5)" +HOMEPAGE="https://github.com/vaeth/m5figur-mv/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LPPL-1.2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+examples" +# We need texlive-latexextra for toolbox.sty +DEPEND="virtual/latex-base" +RDEPEND="${DEPEND} + dev-texlive/texlive-latexextra" +BDEPEND="examples? ( ${DEPEND} )" + +src_compile() { + local i j + if use examples + then einfo "Compiling example character sheet as pdf" + export VARTEXFONTS="${T}/fonts" + for i in *.tex beispiele/*.tex; do + j=${i##*/} + pdflatex "${i}" && test -s "${j%.tex}.pdf" \ + || die "could not compile ${i}" + [ "${j}" = "${i}" ] || mv "${j%.tex}.pdf" "${i%.tex}.pdf" || die + done + fi +} + +src_install() { + TEXMF="/usr/share/texmf-site" + insinto "${TEXMF}/tex/latex/${PN}" + doins *.cls + insinto "${TEXMF}/doc/latex/${PN}" + doins *.tex + doins -r beispiele + if use examples + then doins *.pdf + fi + dodoc README.md +} + +pkg_postinst() { + texconfig rehash +} + +pkg_postrm() { + texconfig rehash +} diff --git a/games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild b/games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild deleted file mode 100644 index 9b65b1dc..00000000 --- a/games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2014-2018 Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -# Do *not* inherit latex-package: It DEPENDS unconditionally on texinfo. -# Moreover, it would attempt to compile the *.tex example with texinfo to dvi. -RESTRICT="mirror" - -DESCRIPTION="LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5)" -HOMEPAGE="https://github.com/vaeth/m5figur-mv/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LPPL-1.2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+examples" -# We need texlive-latexextra for toolbox.sty -DEPEND="virtual/latex-base" -RDEPEND="${DEPEND} - dev-texlive/texlive-latexextra" -BDEPEND="examples? ( ${DEPEND} )" - -src_compile() { - local i j - if use examples - then einfo "Compiling example character sheet as pdf" - export VARTEXFONTS="${T}/fonts" - for i in *.tex beispiele/*.tex; do - j=${i##*/} - pdflatex "${i}" && test -s "${j%.tex}.pdf" \ - || die "could not compile ${i}" - [ "${j}" = "${i}" ] || mv "${j%.tex}.pdf" "${i%.tex}.pdf" || die - done - fi -} - -src_install() { - TEXMF="/usr/share/texmf-site" - insinto "${TEXMF}/tex/latex/${PN}" - doins *.cls - insinto "${TEXMF}/doc/latex/${PN}" - doins *.tex - doins -r beispiele - if use examples - then doins *.pdf - fi - dodoc README.md -} - -pkg_postinst() { - texconfig rehash -} - -pkg_postrm() { - texconfig rehash -} diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 24e61cd1..ea18a486 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -73,7 +73,7 @@ games-engines/freesci 0.6.4-r1: Sierra script interpreter for your old Sierra ad games-puzzle/fish-fillets 1.0.1-r1: Underwater puzzle game - find a safe way out games-rpg/aklabeth 1.0-r1: A remake of Richard C. Garriott's Ultima prequel games-rpg/dsa-stats 1.0: calculate stat probabalities for the role playing game DSA - Das schwarze Auge -games-rpg/m5figur-mv 4.1: LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5) +games-rpg/m5figur-mv 4.1.1: LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5) mail-client/alpine 2.00-r7 2.21.1-r1: alpine is an easy to use text-based based mail and news client media-gfx/ipe 7.2.7: Drawing editor for creating figures in PDF or PS formats media-gfx/pqiv 2.10.4: powerful GTK based command-line image viewer with a minimal UI @@ -133,4 +133,3 @@ www-plugins/translate-to-me 1.1: Firefox webextension: translate the selected te www-plugins/ublock-origin 1.16.20: Firefox webextension: An efficient list-based blocker x11-libs/gtk+ 2.24.32-r1 3.24.1: Gimp ToolKit + x11-libs/motif 2.3.8-r1: The Motif user interface component toolkit -x11-wm/fvwm 2.6.8: An extremely powerful ICCCM-compliant multiple virtual desktop window manager diff --git a/profiles/use.local.desc b/profiles/use.local.desc index b9298bcc..a288a4d7 100644 --- a/profiles/use.local.desc +++ b/profiles/use.local.desc @@ -319,8 +319,3 @@ x11-libs/gtk+:broadway - Enable the GDK Broadway backend. x11-libs/gtk+:cloudprint - Enable printing via Google Cloud Print. x11-libs/gtk+:colord - Use x11-misc/colord for color management in printing x11-libs/motif:motif22-compatibility - Compatibility with Open Motif 2.2 -x11-wm/fvwm:gtk2-perl - Enable GTK2 Perl bindings -x11-wm/fvwm:lock - Enable screen locking -x11-wm/fvwm:netpbm - Enable NetPBM support (used by FvwmScript-ScreenDump) -x11-wm/fvwm:rplay - Enable rplay support -x11-wm/fvwm:stroke - Mouse Gesture support -- cgit v1.2.3-65-gdbad