Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-gfx/gnofract4d: version bump to 4.0.1
Added help and video USE flags. Package-Manager: Portage-2.3.47, Repoman-2.3.10
- Loading branch information
Showing
4 changed files
with
91 additions
and
1 deletion.
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,2 +1,3 @@ | ||
DIST gnofract4d-3.14.1.tar.gz 4660808 BLAKE2B f5125be0414b847f506686734e9234c3d88732be6f7cd0feb9cbe759d6e0584f8ce143d64de17a5fcca9b28d75ae922e00993140f0ccb793d10faadb3221b990 SHA512 bcec1d12c589cdee2f0da5555a075db511debd21d4536db66793f6a28be35656258daffd8cbaaff4b5af041b18ca77c94d910ec4d0c7e14960412c580fd56725 | ||
DIST gnofract4d-3.14.tar.gz 862499 BLAKE2B dcca058b6a625b4d2f0153f896ed029b27b8e6135a310942c4b58bf5a6396977f5ca065061918e99034b6303a5634c5288cac90c887a8dfa87286d24f9f1d04f SHA512 cf3614f60a43f7ab20208fb1a62d3823495c84060d177d2926bad20a475e661d7ec45a7bc14e826229656027fe7c0f68aac093b6b0dc7912e84d8d8ec8ff81e5 | ||
DIST gnofract4d-4.0.1.tar.gz 7637862 BLAKE2B 26790424cb9c3d832d9bd309b19a111a0f4bdf33169985f251c7ec0f347a3ba59ea5835ffe12a2820d4cd77ac71d3243558df8d19e0db9e7229fa94c08b2cc87 SHA512 02e30819b89bc019be2b52c22ab0e6f53e41b0c011d7c73b5f8be692b8bd5bc6b0e8f15f08d036c61857a382e29fad11da9abe23921c2a4e69e0c05bee262ba1 |
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,26 @@ | ||
diff --git a/createdocs.py b/createdocs.py | ||
index f31ee8b..69c89b2 100755 | ||
--- a/createdocs.py | ||
+++ b/createdocs.py | ||
@@ -24,7 +24,7 @@ def create_stdlib_docs(): | ||
|
||
# create HTML version of docs for them as don't have yelp | ||
os.chdir("doc/gnofract4d-manual/C") | ||
- retval = os.system("xsltproc --output gnofract4d-manual.html --stringparam html.stylesheet docbook.css gnofract4d.xsl gnofract4d-manual.xml") | ||
+ retval = os.system("xsltproc --nonet --output gnofract4d-manual.html --stringparam html.stylesheet docbook.css gnofract4d.xsl gnofract4d-manual.xml") | ||
if retval != 0: | ||
raise Exception("error processing xslt") | ||
except Exception as err: | ||
diff --git a/doc/gnofract4d-manual/C/gnofract4d.xsl b/doc/gnofract4d-manual/C/gnofract4d.xsl | ||
index 4b0120d..19ad421 100644 | ||
--- a/doc/gnofract4d-manual/C/gnofract4d.xsl | ||
+++ b/doc/gnofract4d-manual/C/gnofract4d.xsl | ||
@@ -3,7 +3,7 @@ | ||
|
||
|
||
<!-- Imports the DocBook HTML chunking stylesheets. --> | ||
-<xsl:import href="/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl"/> | ||
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> | ||
<xsl:template match="guimenuitem"> | ||
<span class="guimenuitem"><xsl:call-template name="inline.charseq"/></span> | ||
</xsl:template> |
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,60 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
PYTHON_COMPAT=( python3_{6,7} ) | ||
DISTUTILS_SINGLE_IMPL=1 | ||
|
||
inherit distutils-r1 gnome2-utils xdg-utils | ||
|
||
DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals" | ||
HOMEPAGE="http://edyoung.github.io/gnofract4d/" | ||
SRC_URI="https://github.com/edyoung/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="+help video" | ||
|
||
COMMON_DEPEND=" | ||
media-libs/libpng:0= | ||
virtual/jpeg:0" | ||
RDEPEND="${COMMON_DEPEND} | ||
dev-python/pycairo[${PYTHON_USEDEP}] | ||
dev-python/pygobject[${PYTHON_USEDEP}] | ||
x11-libs/gtk+:3[introspection] | ||
video? ( media-video/ffmpeg[vpx,zlib] )" | ||
DEPEND="${COMMON_DEPEND} | ||
virtual/pkgconfig | ||
help? ( app-text/docbook-xsl-stylesheets | ||
dev-libs/libxslt )" | ||
|
||
PATCHES=( | ||
"${FILESDIR}"/${P}-xsl.patch | ||
) | ||
|
||
python_compile_all() { | ||
if use help; then | ||
ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die | ||
"${EPYTHON}" createdocs.py || die | ||
fi | ||
} | ||
|
||
python_install_all() { | ||
distutils-r1_python_install_all | ||
rm -rf "${ED%/}"/usr/share/doc/${PN} || die | ||
use help || rm -rf "${ED%/}"/usr/share/gnome/help/${PN} || die | ||
} | ||
|
||
pkg_postinst() { | ||
gnome2_icon_cache_update | ||
xdg_desktop_database_update | ||
xdg_mimeinfo_database_update | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_icon_cache_update | ||
xdg_desktop_database_update | ||
xdg_mimeinfo_database_update | ||
} |
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