diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-process/procexp |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-process/procexp')
-rw-r--r-- | sys-process/procexp/Manifest | 5 | ||||
-rw-r--r-- | sys-process/procexp/metadata.xml | 8 | ||||
-rw-r--r-- | sys-process/procexp/procexp-1.5.277.ebuild | 71 |
3 files changed, 84 insertions, 0 deletions
diff --git a/sys-process/procexp/Manifest b/sys-process/procexp/Manifest new file mode 100644 index 000000000000..5a148348d650 --- /dev/null +++ b/sys-process/procexp/Manifest @@ -0,0 +1,5 @@ +DIST process_explorer-1.5-277.noarch.rpm 146630 SHA256 b58dd139c16295d1d89937ddd684b7298f9d5b175b6dc5ce580ec073f7cf3792 SHA512 bdf03a0cbce621791ed272d61ee230a672caa8cd2d16e52b4fc256fe7955dc93636108dffdae30375e0b497d9378a8c3fdf6fc8bbd66cf04254596507d17dbef WHIRLPOOL f7098d8744666a49abb148e683b18c990385f8dba6f9aeb94832fb3531227d635b5f8f85316237a12ddc0e2182550993275d6c882a5e70d19119c63f6b83ed42 +EBUILD procexp-1.5.277.ebuild 1706 SHA256 50ad6a975ede5f478f4988277b0863ee05880df0581ef426dd502b46ea0d4c67 SHA512 f04ee2a44d99f723f7de25dbf48e637e6698680048531f091a270fcf65c7f7c1247cb1bbfab538c24f525bbb8259f44f95e1cee0eefcea82ab45cba3da534ec6 WHIRLPOOL 25b344c0af6c6e6bade4ca18282f5cecd32f08f1f1bd6192b50c2e75c550a65cf957eb501e2283619b5290a8a06d7078edc4280cfeaade2ced6cdf4b6ba3aa5f +MISC ChangeLog 2681 SHA256 0e6be4ec055227aba3d2284b7bd3f2300f4b946242bdbd63acd93483395e0fff SHA512 9935de6ed047082eee58d6cdf077ab881de9eb48b156a759bb6ae9b9224ebfe8dc3f96762e76040f78eabd6601f88c58b9ae28588ad779646e1d1b426fe9faf8 WHIRLPOOL 771e687e53b579e3f8323f5c86c0d65ff877ebffeb38ae7e9dd77d850fb0e2474b1b2819503afe22682456d1a7b1198c4c0ee023d32625f325398df84d052164 +MISC ChangeLog-2015 549 SHA256 2773950d196f641a2190e2e90d9947d07aa9e6b07ecca8758c8cd3f3b283f49d SHA512 ca04431801ae2927d976ccaf081f2adf7509a0cc9719805e431a6639361b2dfb0397a83026cc3ed4af8e4ec1af76264e63f62e06d9a2ceed02c80500418fc2d6 WHIRLPOOL 91ddef4cdfc2c81dc1fd9e7b3ed7772580e80c5fcdf18f71ffce20edffc3835364d5619dd5cd93dbfb5f87b1fa5be277ed63ef2e53d0116004a74c45f7d7a41c +MISC metadata.xml 244 SHA256 0528ae30de755427ceef03ce2de48756d1d9b73e06fa9dc8bf880db3754f1fc8 SHA512 df7831b4f02be63e429c2fb2e1ea301250a60b9ebf35bf4aec0001aca69bbb38306b13f1a7394954214b1ce68de684178890763963fff745ad9cd7578373a2f6 WHIRLPOOL 79b6c1b02364f5c8a1e379990e3b9fd64f764b852450e5c750b2c5e807ad9fbc18f7ca511802a338138cdc9b5dab3da2a275a16b6ca4554a36d6e12a259a1bce diff --git a/sys-process/procexp/metadata.xml b/sys-process/procexp/metadata.xml new file mode 100644 index 000000000000..b921f0b919f1 --- /dev/null +++ b/sys-process/procexp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">procexp</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-process/procexp/procexp-1.5.277.ebuild b/sys-process/procexp/procexp-1.5.277.ebuild new file mode 100644 index 000000000000..36ab524ffa2b --- /dev/null +++ b/sys-process/procexp/procexp-1.5.277.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) +inherit eutils gnome2-utils multilib python-single-r1 rpm versionator + +MY_P="process_explorer-$(replace_version_separator 2 '-')" + +DESCRIPTION="Graphical process explorer" +HOMEPAGE="https://sourceforge.net/apps/mediawiki/procexp/index.php?title=Main_Page" +SRC_URI="mirror://sourceforge/project/procexp/${MY_P}.noarch.rpm" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-python/PyQt4[X,${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/pyqwt[${PYTHON_USEDEP}] + sys-auth/polkit" + +S="${WORKDIR}/opt/${MY_P}/${PN}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# No build system provided by upstream +# https://sourceforge.net/tracker/?func=detail&aid=3573774&group_id=309156&atid=1301952 + +src_prepare() { + # Removing unnecessary svn cruft + esvn_clean + + rm make_rpm.py process_explorer.spec ${PN}.desktop ${PN}.sh || die 'remove unneeded files failed' + + epatch_user + + python_fix_shebang . +} + +src_install() { + newicon -s 48 icon.png ${PN}.png + rm icon.png || die + + insinto "/usr/share/polkit-1/actions" + doins com.procexp.pkexec.policy + rm com.procexp.pkexec.policy || die + + insinto "/usr/$(get_libdir)/${PN}" + doins -r * + fperms +x "/usr/$(get_libdir)/${PN}/procexp.py" + fperms +x "/usr/$(get_libdir)/${PN}/rootproxy/procroot.py" + + dosym "/usr/$(get_libdir)/${PN}/procexp.py" /usr/bin/procexp + make_desktop_entry ${PN} "Linux Process Explorer" ${PN} "System;Utility;" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |