1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A QT4-based editor for the TikZ language"
10 HOMEPAGE="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language"
11 SRC_URI="http://www.hackenberger.at/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="dev-qt/qtgui:4
20 dev-texlive/texlive-latexextra
27 # don't install desktop icon (and cause sandbox violation)
28 sed -i -e '72,79d' src/src.pro || die "sed failed"
29 # ... and libs are not equal ldflags, make that sure:
30 sed -i -e 's|QMAKE_LFLAGS|LIBS|' macros.pri || die "sed failed"
34 KDECONFIG="CONFIG-=usekde"
35 eqmake4 ${PN}.pro PREFIX="${D}/usr" "CONFIG+=nostrip" "$KDECONFIG"
40 newicon src/images/${PN}-128.png ${PN}.png || die "Cannot install icon"
41 make_desktop_entry ${PN} KtikZ ${PN} Graphics \
42 || die "Cannot create desktop entry"