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 /dev-util/catfish |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/catfish')
-rw-r--r-- | dev-util/catfish/Manifest | 5 | ||||
-rw-r--r-- | dev-util/catfish/catfish-1.2.2.ebuild | 63 | ||||
-rw-r--r-- | dev-util/catfish/metadata.xml | 11 |
3 files changed, 79 insertions, 0 deletions
diff --git a/dev-util/catfish/Manifest b/dev-util/catfish/Manifest new file mode 100644 index 000000000000..15e7e9505aab --- /dev/null +++ b/dev-util/catfish/Manifest @@ -0,0 +1,5 @@ +DIST catfish-1.2.2.tar.bz2 98956 SHA256 0e92844e761207b3d3086c45b26fccf83f0ebced741e1af33d8590779f25eedf SHA512 dad407f1e818b8d537b73e9f832c39ca4f9527b9d636da18493a685b03d2fab56982a11872382fd457b9a1a0ffb33d29ade4aa317561c3b2ee82c96728705e75 WHIRLPOOL 42f379cfffef9c9115ca1ef1b2e25e46da8ceac60778d0fccdb626c1d61567028caf2f497a76fed2b530dd126024b26b9f3248c38bbf185a20576d4a52930484 +EBUILD catfish-1.2.2.ebuild 1500 SHA256 d34b5d69ffd9e0869d42b841404f6bc508cace28716ef9b7b9bcef00e3167196 SHA512 3166f58ed1488a8c58a60d9200160586dfeded3b3e1e19aa342330d9d7e58f9a5e094be49e82a6b1ca021614ab7e3897ea7606af33a00ee50fad3d32189ffbbd WHIRLPOOL a731779dcdd4a85f6c5445db50a6c64824c80f10ee5c242c982129ca69408da0464947d87669695ecf9decdd981c36c1b1e74ed8e815b15a7944b17f5620e733 +MISC ChangeLog 2731 SHA256 8674aee539ae64e51e919578caf907ff2c9315069ff0f97c0907a837af57f292 SHA512 10241e8d5ebd2edda2e07e37a94c239b999f6c88d9c881edc73f5274273552760ade63a46c8d5e53804fd74b790a38f5aa1092d1650d84c23db9f8c6c4139404 WHIRLPOOL b203de8e3cb25640aaca113cadcc89f5f06fcfeddda4bf6006976d669cb4791e403aeecca573f79fbe55d3df7fdebd5ecde1aee694afe9d87bab3c121ee908fb +MISC ChangeLog-2015 4264 SHA256 85b1b6fd0a436babe34ffb78cb93f21ece8b777d25ab796a352865a0318e74c7 SHA512 081279c3cf7ab5f97cf3a811a82714036e7b5081c60bebc639309cf36d8e86ed99027a132e9ed7da820195fb1254dd86ed2ce1d01a99fe393cd42d3a83d62fe4 WHIRLPOOL 002d92b26d58b89f8317cb6f7cddf846301dcb6f639debd9f42ddc1489d6c74a72700c181a009fff040871b9dc469c90a3fb22c0f0725752ff06d7defb5cd5d7 +MISC metadata.xml 358 SHA256 53314f424eac84844d991ab436d557d6e51d718f6cb6ace4cde61b15a0f258f1 SHA512 8fef7910e221beb2e0f0a83767feda119a1a3f27b36d6093d336813edfe954c4d08c99c4352ab5efec39de8b1c5185c39514bf31ebf1e6489110d8165e32b3f2 WHIRLPOOL a024d9e2429394c8f056c22a4360fbdfbe485df68ccc14c8aa866de1d63a857bb644fc04f8889d7fa83fa1b7bdc559260fc7d6cec3ef985cad4cf26d5ad55604 diff --git a/dev-util/catfish/catfish-1.2.2.ebuild b/dev-util/catfish/catfish-1.2.2.ebuild new file mode 100644 index 000000000000..5c88f81f8558 --- /dev/null +++ b/dev-util/catfish/catfish-1.2.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit eutils gnome2-utils python-single-r1 + +DESCRIPTION="A frontend for find, (s)locate, doodle, tracker, beagle, strigi and pinot" +HOMEPAGE="https://launchpad.net/catfish-search http://twotoasts.de/index.php/catfish/" +SRC_URI="https://launchpad.net/${PN}-search/${PV%.*}/${PV}/+download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] +" +RDEPEND=" + ${COMMON_DEPEND} + virtual/freedesktop-icon-theme +" +DEPEND=" + ${COMMON_DEPEND} + sys-devel/gettext +" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + strip-linguas -i po/ + if ! [[ -z "${LINGUAS}" ]]; then + local lang langs=$(find po/ -name '*.po' | sed -e 's|po/||g;s|.po||g') + for lang in $langs; do + if ! has ${lang} ${LINGUAS}; then + rm po/${lang}.po || die + fi + done + fi + + python_fix_shebang . + sed -i -e "s:share/doc/\$(APPNAME):share/doc/${PF}:" Makefile.in.in || die +} + +src_configure() { + # not autotools based + ./configure --prefix=/usr --python="${EPYTHON}" || die +} + +src_install() { + default + python_optimize "${ED}"/usr/share/${PN} +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } diff --git a/dev-util/catfish/metadata.xml b/dev-util/catfish/metadata.xml new file mode 100644 index 000000000000..0118196dd398 --- /dev/null +++ b/dev-util/catfish/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>desktop-misc@gentoo.org</email> + <name>Gentoo Desktop Miscellaneous Project</name> + </maintainer> + <upstream> + <remote-id type="launchpad">catfish-search</remote-id> + </upstream> +</pkgmetadata> |