summaryrefslogtreecommitdiff
path: root/sci-electronics/qelectrotech
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-07 11:03:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-07 11:03:14 +0100
commit957235cf19a691360c720f7913672adda4258ed0 (patch)
tree812bba7928f4293ead05a7ee9c1ac39c5ef9f12e /sci-electronics/qelectrotech
parent62f67115b5c46134c34f88f4b1cbdacc19384c0a (diff)
gentoo resync : 07.10.2018
Diffstat (limited to 'sci-electronics/qelectrotech')
-rw-r--r--sci-electronics/qelectrotech/Manifest4
-rw-r--r--sci-electronics/qelectrotech/qelectrotech-0.61.ebuild64
-rw-r--r--sci-electronics/qelectrotech/qelectrotech-9999.ebuild19
3 files changed, 75 insertions, 12 deletions
diff --git a/sci-electronics/qelectrotech/Manifest b/sci-electronics/qelectrotech/Manifest
index 94b00adaa92c..1046a5c55b47 100644
--- a/sci-electronics/qelectrotech/Manifest
+++ b/sci-electronics/qelectrotech/Manifest
@@ -1,5 +1,7 @@
AUX qelectrotech-0.3-fix-paths.patch 2304 BLAKE2B 113afe4cd025baecc3ddd4060179d3b81da32ac172eb452bb74215cc9a2e227bd7f31474452fb4055cc9d4cbda5cd0eea856929b191917a263a7e9ac20de9483 SHA512 3d57c172bf63faa3bd5ead082be1c3143330bae8ebdde580a5b5a860d5419371a05082f4b69e39054629e9f39f258b26ec65f773238b8b7b4b892176ad998c31
DIST qelectrotech-0.5-src.tar.gz 13814511 BLAKE2B 930498fea6023936f2c3f38134a6d3d337cedc8c557ef69aa3ed2269ba12ca95dd35e77640d03c1701e0c57f865adf5d87283999c782917c7e3058d88bc4944b SHA512 af918d77661c2aaa0f57b150512faec6337512edf6c67e22b9ce50e5a68a300ac37add28d24109732f981af8f9549003c4aaca2a3969913e94ba61404945dcfd
+DIST qelectrotech-0.61-src.tar.gz 9083192 BLAKE2B 25966e70f7f297ed55b539472970698f0947985c377cd90648d03fce8bf73c1bdede97e1104163147c5e60bb8ad05c55718f182528e6131adef6efeaf76f8e82 SHA512 b07d28520bef5773f5f93595c53a839a160c5927a7534ec30eba451fd33ab090909fc1971f28aea53538ff8e20ca45eff0b6597f3ab103b00b89eaa65067f918
EBUILD qelectrotech-0.50.ebuild 1132 BLAKE2B fc20f37a2c06027ab8d1b06e816a2b911c7569755e33b3b2ab29e057d5fd56ac6b0e22f017e54ae5a38a18b0ad17d0df04c470e32543a8670d001e588b754204 SHA512 075ef688f11da4d5ba56f4eecd585559acb0bfb6d57f207e422595497b746f77bf44ce8f7609610477c543dd84c3200c431979f14a3bbf5b24976960d42c8b71
-EBUILD qelectrotech-9999.ebuild 1122 BLAKE2B 508473c4ca6d8f66d6b2a547b88686ca0da5ebcc079051cf5dbc4c13c53fcd85d596a8e34711cb0c0f5cd370a97ec4e84674ad91714d7c38c7d28d94b246a6e6 SHA512 3d8fadd3b1e1bb1c1b3c55813f3dd82763a9935432a71f3c2715365d988db4b86d23c0449016541cd429aba6bae8df32d3d5e186ea1b3c52e2c8f006f83cc6d1
+EBUILD qelectrotech-0.61.ebuild 1152 BLAKE2B b4a0f8d1a24c5cc2f1fa02d2b54fc182d9cf17bfe22edc34e88617e0f179a71ce12fb07e30e7c656f665a04b5555653bc280337471c80f72b69998fbcee6e870 SHA512 9d0bb675a8efe74505fa3f2208aff72169353f4dc57371d13fb8f01ab739f5ba16acc6c18e134175364942ff2b9399bfa1df068f11dd19f139dccc37a0d4843b
+EBUILD qelectrotech-9999.ebuild 1140 BLAKE2B 6b8d5a31d843e36140c2ba4d978e4c81c93a9fc2e592c4e00f04c1a47381469415741757f6c5aea1ee4a3eaedf417d48496ad920513a47483a19a30882378aac SHA512 59201435121eb4efe6d68a194c221ac97738c6fb871ffdb9b3ae06ceb7e1ade5d62f0f34380e0145537e61b7cb0991af0abfbe24c49b5a0208596fe063f162b4
MISC metadata.xml 247 BLAKE2B 1428e575bd9b69424c4711499480493ae371840c146149819dc41c38335cbd16d7ce50ce8f6b7be1b77db73092ed6900a9a2d8032cc790058a56e533b01f562d SHA512 b43c8e84c3c753b49b203921a5aca792639a36d6efdbe16c069ff9abfbce0585718bb3824c03abdd7bd19ada13fb0a98a378c85ed369ac5fdc53ad3b3d5465d2
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
+}
diff --git a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
index 471a94431395..beb66ed5e787 100644
--- a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
+++ b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2001-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-inherit eutils gnome2-utils qmake-utils subversion xdg-utils
+inherit gnome2-utils qmake-utils subversion xdg-utils
MY_P=${PN}-${PV%0}-src
@@ -17,6 +17,7 @@ KEYWORDS=""
IUSE="doc"
RDEPEND="
+ dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
@@ -33,14 +34,12 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
DOCS=( CREDIT ChangeLog README )
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-0.3-fix-paths.patch"
-}
+PATCHES=( "${FILESDIR}/${PN}-0.3-fix-paths.patch" )
src_configure() {
eqmake5 ${PN}.pro
}
+
src_install() {
emake INSTALL_ROOT="${D}" install
@@ -52,16 +51,14 @@ src_install() {
fi
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
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
}