dev-tex/mathtex: Fix up dependency and specify png
authorKristian Fiskerstrand <kf@sumptuouscapital.com>
Sun, 15 Nov 2015 14:24:10 +0000 (15:24 +0100)
committerKristian Fiskerstrand <kf@sumptuouscapital.com>
Sun, 15 Nov 2015 14:24:10 +0000 (15:24 +0100)
dev-tex/mathtex/Manifest
dev-tex/mathtex/mathtex-1.05.ebuild

index 408a3ba..3dbb9b0 100644 (file)
@@ -1,2 +1,2 @@
 DIST mathtex-1.05.zip 162484 SHA256 ad10a66d64e3fb5928866a51d2e5e67b5d4d83d44ebd65b1de5e68f2bd444c2d SHA512 2be95b8c1b3f4ceff072f1c521257e6968d3dee973c1b0581937f54e2db7ca0bb149caff11878e736ba03d66d5d9052d5384e1f80007ceb4a516e6e89d38b7d7 WHIRLPOOL c4f980d9c0cdc834db766709710d5db6f82828414f5fed67ec9d1ef520b7ddeb7f890c368f42cf79275e7236e0beb919ec69c645f111bdc62c3017ff5247f60f
-EBUILD mathtex-1.05.ebuild 994 SHA256 5ec24679c0f2ad7150996e0d3441f991013d271ec7129fc6cec8f2fdbb1eee7d SHA512 578aa9d5bfabb49d85aefe700d13b0cea276294b0ebcd7f7c605908666ed7f3f5b3ff12defa45b1ecbf574d20bbc6f1cb4b85b09347204ea3f30140c17251c38 WHIRLPOOL d90be63c7fa35627f07d2f8b26496c1bdbcad3c1517667f807936ee2a937f60f4ed23a37cf9db8e6aae65d2b2bdaf4638e6152df9c217dee079047f3b633a9d6
+EBUILD mathtex-1.05.ebuild 1021 SHA256 4fe5d5002f5b6bd4f3882336966aeb8f4a40c1e8e9d79eb1cb78a7224810da93 SHA512 cb33f8903f909a3c95ddc22e0ac247c4ee1bd23d7b678906a3fc3127fed69ef0c63cf633b803eada09b32f5b56b2e4c621a7fb9c8ee92cd3a8a65d71459190f6 WHIRLPOOL 007c17a7da5a0834902b25a9f7336d985b501bb8a668c3764ad597831be625394a3aad097ea6ff4d12dd564e6f944ec4bae1b95891d264808808c5dab07c7717
index 690cc92..b6b0a65 100644 (file)
@@ -10,12 +10,12 @@ HOMEPAGE="http://www.forkosh.com/mathtex.html"
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE=""
+IUSE="png"
 SRC_URI="https://download.sumptuouscapital.com/gentoo/releases/${CATEGORY}/${PN}/${P}.zip"
 
 KEYWORDS="~amd64 ~x86"
 
-CDEPEND="dev-texlive/texlive-latex
+CDEPEND="virtual/latex-base
        app-text/dvipng"
 
 DEPEND="${CDEPEND}"
@@ -29,6 +29,7 @@ src_compile()
        $(tc-getCC) mathtex.c   \
                –DLATEX=\"$(which latex)\"   \
                –DDVIPNG=\"$(which dvipng)\"   \
+               $(use png && echo "-DPNG") \
                –o mathtex.cgi || die
 }