summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-04-06 13:04:35 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-06 13:04:35 +0300
commitf83c13db0571c4068d28bb21fff397208118b13b (patch)
treea03d0ad65f32e3e82f8a95e78c1a260703302f78
parentdev-python/scikit-image: fix DependencyMoved (diff)
downloadgentoo-f83c13db0571c4068d28bb21fff397208118b13b.tar.gz
gentoo-f83c13db0571c4068d28bb21fff397208118b13b.tar.bz2
gentoo-f83c13db0571c4068d28bb21fff397208118b13b.zip
app-text/qtikz: new package, add 0.13.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--app-text/qtikz/Manifest1
-rw-r--r--app-text/qtikz/metadata.xml13
-rw-r--r--app-text/qtikz/qtikz-0.13.2.ebuild55
3 files changed, 69 insertions, 0 deletions
diff --git a/app-text/qtikz/Manifest b/app-text/qtikz/Manifest
new file mode 100644
index 000000000000..02c04a4cbe9d
--- /dev/null
+++ b/app-text/qtikz/Manifest
@@ -0,0 +1 @@
+DIST ktikz-0.13.2.tar.gz 2043961 BLAKE2B 57c53b70e4d526e8dcec5a1414d76c1d0d7c3412af908e85b56b03605a9c1d097892b7195e7d1e43dcdecd92411e1961276a9f51989797660e3dfd5bdca91acc SHA512 23399a1b70bc6f93683b502160b02fb10e767e51c82b9bf0b4ce985800d8278dec7451442c762919cf37de29d3620cff42661e6c22c63ab1823d087cecb0d847
diff --git a/app-text/qtikz/metadata.xml b/app-text/qtikz/metadata.xml
new file mode 100644
index 000000000000..1c5b023661aa
--- /dev/null
+++ b/app-text/qtikz/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arthurzam@gentoo.org</email>
+ <name>Arthur Zamarin</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">fhackenberger/ktikz</remote-id>
+ <bugs-to>https://github.com/fhackenberger/ktikz/issues</bugs-to>
+ <changelog>https://github.com/fhackenberger/ktikz/blob/master/Changelog</changelog>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/qtikz/qtikz-0.13.2.ebuild b/app-text/qtikz/qtikz-0.13.2.ebuild
new file mode 100644
index 000000000000..b7f3b0979bc2
--- /dev/null
+++ b/app-text/qtikz/qtikz-0.13.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils xdg optfeature
+
+DESCRIPTION="editor for the TikZ drawing language"
+HOMEPAGE="https://github.com/fhackenberger/ktikz"
+SRC_URI="
+ https://github.com/fhackenberger/ktikz/archive/${PV}.tar.gz -> ktikz-${PV}.tar.gz
+"
+S="${WORKDIR}/ktikz-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ app-text/poppler[qt5]
+"
+RDEPEND="${DEPEND}
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-pictures
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ dev-qt/qthelp:5
+"
+
+src_configure() {
+ local myqmakeargs=(
+ PREFIX=/usr
+ QMAKECOMMAND="$(qt5_get_bindir)/qmake"
+ LRELEASECOMMAND="$(qt5_get_bindir)/lrelease"
+ QCOLLECTIONGENERATORCOMMAND="$(qt5_get_bindir)/qcollectiongenerator"
+ )
+ eqmake5 ${PN}.pro "${myqmakeargs[@]}"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ local DOCS=( README.md )
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ optfeature "viewing documentation" dev-qt/assistant:5
+}