From 5d38fa04903db38fa320a978da4d5fa0e07e60b0 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 7 Oct 2018 01:35:29 +1000 Subject: [PATCH] sci-electronics/qelectrotech: version bump 0.61 Closes: https://bugs.gentoo.org/660996 Signed-off-by: Michael Palimaka Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- sci-electronics/qelectrotech/Manifest | 1 + .../qelectrotech/qelectrotech-0.61.ebuild | 64 +++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 sci-electronics/qelectrotech/qelectrotech-0.61.ebuild diff --git a/sci-electronics/qelectrotech/Manifest b/sci-electronics/qelectrotech/Manifest index 4a1157ea910a..15e38dbe4252 100644 --- a/sci-electronics/qelectrotech/Manifest +++ b/sci-electronics/qelectrotech/Manifest @@ -1 +1,2 @@ DIST qelectrotech-0.5-src.tar.gz 13814511 BLAKE2B 930498fea6023936f2c3f38134a6d3d337cedc8c557ef69aa3ed2269ba12ca95dd35e77640d03c1701e0c57f865adf5d87283999c782917c7e3058d88bc4944b SHA512 af918d77661c2aaa0f57b150512faec6337512edf6c67e22b9ce50e5a68a300ac37add28d24109732f981af8f9549003c4aaca2a3969913e94ba61404945dcfd +DIST qelectrotech-0.61-src.tar.gz 9083192 BLAKE2B 25966e70f7f297ed55b539472970698f0947985c377cd90648d03fce8bf73c1bdede97e1104163147c5e60bb8ad05c55718f182528e6131adef6efeaf76f8e82 SHA512 b07d28520bef5773f5f93595c53a839a160c5927a7534ec30eba451fd33ab090909fc1971f28aea53538ff8e20ca45eff0b6597f3ab103b00b89eaa65067f918 diff --git a/sci-electronics/qelectrotech/qelectrotech-0.61.ebuild b/sci-electronics/qelectrotech/qelectrotech-0.61.ebuild new file mode 100644 index 000000000000..65c80501b9a6 --- /dev/null +++ b/sci-electronics/qelectrotech/qelectrotech-0.61.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils qmake-utils xdg-utils + +MY_P=${PN}-${PV%0}-src + +DESCRIPTION="Qt5 application to design electric diagrams" +HOMEPAGE="https://qelectrotech.org/" +SRC_URI="https://download.tuxfamily.org/qet/tags/20180823/${MY_P}.tar.gz" + +LICENSE="CC-BY-3.0 GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) +" + +S=${WORKDIR}/${MY_P} + +DOCS=( CREDIT ChangeLog README ) +PATCHES=( "${FILESDIR}/${PN}-0.3-fix-paths.patch" ) + +src_configure() { + eqmake5 ${PN}.pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install + + einstalldocs + + if use doc; then + doxygen Doxyfile || die + dodoc -r doc/html + fi +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} -- 2.26.2