diff options
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/ktikz/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/ktikz/ktikz-9999.ebuild | 75 |
2 files changed, 76 insertions, 1 deletions
diff --git a/media-gfx/ktikz/Manifest b/media-gfx/ktikz/Manifest index 12b4a85..35753c3 100644 --- a/media-gfx/ktikz/Manifest +++ b/media-gfx/ktikz/Manifest @@ -1,3 +1,3 @@ AUX ktikz-0.10-currenthighlight.patch 1109 SHA256 7e52843ff0ecfbd6bef6d6c15be5e88882a2c248d4ef971bc0fe72771d224881 SHA512 24e691e9841254171c7d790e39896b7f383ce5c7fe58fe581348e865ca151cb59d7ca6d800ccfcc45efe606c24a16f91f61f95baf88579f716a058a5ba61561c WHIRLPOOL 7361f6420cd17553ed7ae8b54713b9ae768ec144d71041e3622c49e59ceb530189273d064a4b26ca5438784f2c780220f2e7008f38b0d27cd80445401b32cae5 EBUILD ktikz-0.10_p1.ebuild 1520 SHA256 a33d8172540c983ca3962e2b0c73ec1e33025d399886f6b476a96cb476764977 SHA512 bfc962d221c1d93563736a5ab43162f9e26c1c0300f181f70494b0f99e355a99bc3e115bd16b41a69db86689b8890284a007160e70d9e940fac4f93cd85868c1 WHIRLPOOL dba288f1844097325c5d6dd2c6e2d67fb6a68d912aab64eff686e8a5f424d75aea213d023f775d767f854e2c315483f172ddc12b1632b908aef9d16b3da006c6 -EBUILD ktikz-9999.ebuild 1594 SHA256 fa8a4fc6fc03dfc1204e7c9b48ec7bc30446d1ae706bea34bbcaa160b34ce11b SHA512 26f22cc774f96b4be6f53fb9c91a309ef64f68a98138a8c9de990afa4fd543d4544554bb3fbde35f692c15a1cf73df963c83ba4d8248d1c3d527cdc70873f032 WHIRLPOOL a5a24009660b440afe636a8e59b82a85063e34c1d777fd7a97f1dcd2ef833002caf2f3aaacfb59b7954b28e39c14c2ee793011771e0be54b06614946f4102b8b +EBUILD ktikz-9999.ebuild 1487 SHA256 5610015615555d13241ddc73c31cd17b040b7c163777c34c016a0d6c1aab83e1 SHA512 d9797c42184ab09eced987a2082303d4946c1888a3ced4cd35be92396f16adfb8eb48250dbf1c384e890f168925a9baba7253fbb19f17e741a814a2e236f2704 WHIRLPOOL 895c5194dd2e09182164fe173d3f5338fa58a93d7e54c0f53f7c5c016689accc14fb6db7f86dd135e70c28e68096f906580e02e9b854559b610bd46001a7920d diff --git a/media-gfx/ktikz/ktikz-9999.ebuild b/media-gfx/ktikz/ktikz-9999.ebuild new file mode 100644 index 0000000..bad6dde --- /dev/null +++ b/media-gfx/ktikz/ktikz-9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils cmake-utils git-2 + +DESCRIPTION="A QT5-based editor for the TikZ language" +HOMEPAGE="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language" + +EGIT_REPO_URI="https://github.com/jfmcarreira/ktikz.git" +# EGIT_COMMIT="${PV}" + +LICENSE="GPL-2" +SLOT="5" +KEYWORDS="" +IUSE="+kde -debug" + +#DEPEND="x11-libs/qt-gui:4 +DEPEND=" + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qthelp:5 + app-text/poppler[qt5] + virtual/latex-base + dev-texlive/texlive-latexextra + dev-tex/pgf +" + +RDEPEND="${DEPEND}" + +DOCS="Changelog TODO" + +S="${WORKDIR}/${PN}" + +src_unpack() { + git-2_src_unpack +} + +src_prepare() { + if ! use kde; then + # libs are not equal ldflags, make that sure: + sed -i -e 's|QMAKE_LFLAGS|LIBS|' macros.pri || die "sed failed" + + # our lrelease is not versioned + sed -i -e 's|lrelease-qt4|lrelease|' conf.pri || die "sed failed" + fi +} + +src_configure() { +# if use kde; then + local mycmakeargs=( -DCMAKE_INSTALL_PREFIX=`kde5-config --prefix` ) + cmake-utils_src_configure +# else +# KDECONFIG="CONFIG-=usekde" +# eqmake5 qtikz.pro PREFIX="${D}/usr" "CONFIG+=nostrip" "$KDECONFIG" +# fi +} + +src_compile() { +# if use kde; then + cmake-utils_src_compile +# else +# qt5_src_compile +# fi +} + +src_install() { +# if use kde; then + cmake-utils_src_install +# else +# qt5_src_install +# fi +} |