forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michał Górny <[email protected]>
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST catfish-1.4.10.tar.bz2 213951 BLAKE2B ff8f710d5f3b5d59e98bd6af9b1dd11499ea331b2d7c78945ebc1051d1b49d28069e47bd8aa3f12d57b646fc6764ccd4f365cda9fdfea15f5a3a4334b6e9b17e SHA512 baf9007b2ce2418fa5704e10884f509e4361505537e2ce70a7f8c8c61009094a09d7d032e0a6b4ca174f33bf76783ee2665f781cce47d2b236f2633e25192f29 | ||
DIST catfish-1.4.11.tar.bz2 220603 BLAKE2B a1ca8ee9efa5d8c8b3877562321e9bb150a82083a80cd108c6a16dbc000bcaa1f6653b4b091ab1fd50ec406dc53c470e5f985f62e3abede7cd6676786860d31a SHA512 aed919ff5824bffb7d48b715dee4bba51d74d24d523c1bb468b0cc1735bdfbeb0e50fa86d3c10e91b6ae747aea82c292c7b423fadc3abaa1f6841b38f8887cd0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
DISTUTILS_USE_SETUPTOOLS=no | ||
PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} ) | ||
|
||
inherit distutils-r1 xdg-utils | ||
|
||
DESCRIPTION="A frontend for find, (s)locate, doodle, tracker, beagle, strigi and pinot" | ||
HOMEPAGE="https://docs.xfce.org/apps/catfish/start" | ||
SRC_URI="https://archive.xfce.org/src/apps/catfish/${PV%.*}/${P}.tar.bz2" | ||
|
||
# yep, GPL-2 only | ||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~ppc ~x86" | ||
|
||
RDEPEND=" | ||
dev-libs/gobject-introspection | ||
dev-python/dbus-python[${PYTHON_USEDEP}] | ||
dev-python/pexpect[${PYTHON_USEDEP}] | ||
dev-python/pygobject:3[${PYTHON_USEDEP}] | ||
x11-libs/gdk-pixbuf[introspection] | ||
x11-libs/gtk+:3[introspection] | ||
x11-libs/pango[introspection] | ||
virtual/freedesktop-icon-theme | ||
" | ||
DEPEND=" | ||
dev-python/python-distutils-extra[${PYTHON_USEDEP}] | ||
sys-devel/gettext | ||
" | ||
|
||
python_install() { | ||
distutils-r1_python_install | ||
rm -r "${ED}"/usr/share/doc/catfish || die | ||
} | ||
|
||
pkg_postinst() { | ||
xdg_icon_cache_update | ||
xdg_desktop_database_update | ||
} | ||
|
||
pkg_postrm() { | ||
xdg_icon_cache_update | ||
xdg_desktop_database_update | ||
} |