diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-01-15 02:02:57 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-01-15 02:03:12 +1100 |
commit | ea3d3cc5dbd504b2cdb0f340ba2202fc51d6433b (patch) | |
tree | b2c2a871336978dcb922e74cc1f4fbabbebd7bda /sci-electronics/qelectrotech | |
parent | app-doc/geant-docs: Update Manifests for 4.10.2 docs (diff) | |
download | gentoo-ea3d3cc5dbd504b2cdb0f340ba2202fc51d6433b.tar.gz gentoo-ea3d3cc5dbd504b2cdb0f340ba2202fc51d6433b.tar.bz2 gentoo-ea3d3cc5dbd504b2cdb0f340ba2202fc51d6433b.zip |
sci-electronics/qelectrotech: version bump
Gentoo-bug: 545392
Gentoo-bug: 571710
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-electronics/qelectrotech')
-rw-r--r-- | sci-electronics/qelectrotech/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/qelectrotech/qelectrotech-0.50.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/sci-electronics/qelectrotech/Manifest b/sci-electronics/qelectrotech/Manifest index d4f1085acbc1..5f0827119c34 100644 --- a/sci-electronics/qelectrotech/Manifest +++ b/sci-electronics/qelectrotech/Manifest @@ -1 +1,2 @@ DIST qelectrotech-0.3-src.tar.gz 4600831 SHA256 9a699c724800466ad7d0dd0e60099fe1ceea7665d93d6d0ff27daddeac251c00 SHA512 3676a17e04cffc10c82c7d3eaf65fdc7d2a4875761d99726c5cc8f5c1aa2dbd0699a95090d52e7507f4f1b5916c7301e7a931b2aea4b49812a4a0b3011f2f2a2 WHIRLPOOL f1b8acbefdbc1f87d5b9dbe78d5e0dd825841cfc90fd66b5713b41cc1147eb86b01a1f9ef3da80218bc8dc7cd474e02a21a828d526dcef22c17046163697de66 +DIST qelectrotech-0.5-src.tar.gz 13814511 SHA256 361f0f0fd282bdbd1624f7590f6be24918f8be75266f2c09a07ad9453590ce67 SHA512 af918d77661c2aaa0f57b150512faec6337512edf6c67e22b9ce50e5a68a300ac37add28d24109732f981af8f9549003c4aaca2a3969913e94ba61404945dcfd WHIRLPOOL a56aaca795bd13e4f47e00d62cb17ffd1ad33b6f5431e3b40040f090462e0299188aba2181640c74b9cf86cfb6f7ae15aa6812031ef433eff17883c7f5842502 diff --git a/sci-electronics/qelectrotech/qelectrotech-0.50.ebuild b/sci-electronics/qelectrotech/qelectrotech-0.50.ebuild new file mode 100644 index 000000000000..bc6dc5488785 --- /dev/null +++ b/sci-electronics/qelectrotech/qelectrotech-0.50.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils fdo-mime gnome2-utils qmake-utils + +MY_P=${PN}-${PV%0}-src + +DESCRIPTION="Qt4 application to design electric diagrams" +HOMEPAGE="http://qelectrotech.org/" +SRC_URI="http://download.tuxfamily.org/qet/tags/20151127/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + 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 ) + +src_prepare() { + epatch "${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_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |