2013-03-04 01:39:33 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
2012-10-20 22:53:37 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2013-07-05 10:33:49 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/x11-misc/qtfm/qtfm-5.5.ebuild,v 1.4 2013/07/04 12:18:09 ago Exp $
|
2012-10-20 22:53:37 +04:00
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
inherit fdo-mime qt4-r2
|
|
|
|
|
|
|
|
DESCRIPTION="A small, lightweight file manager for desktops based on pure Qt"
|
|
|
|
HOMEPAGE="http://www.qtfm.org/"
|
|
|
|
SRC_URI="http://www.qtfm.org/${P}.tar.gz?attredirects=0 -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2013-07-05 10:33:49 +04:00
|
|
|
KEYWORDS="amd64 x86"
|
2012-10-20 22:53:37 +04:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
# file is for LIBS += -lmagic
|
|
|
|
RDEPEND="sys-apps/file
|
2013-03-04 01:39:33 +04:00
|
|
|
dev-qt/qtgui:4"
|
2012-10-20 22:53:37 +04:00
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
sed -i \
|
|
|
|
-e "/^docs.path/s:qtfm:${PF}:" \
|
|
|
|
-e '/^docs.files/s: COPYING::' \
|
|
|
|
${PN}.desktop || die
|
|
|
|
sed -i \
|
|
|
|
-e '/MimeType=/s|$|;|' \
|
|
|
|
-e '/Categories=/s|$|;System;FileTools;|' \
|
|
|
|
${PN}.desktop || die
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() { fdo-mime_desktop_database_update; }
|
|
|
|
pkg_postrm() { fdo-mime_desktop_database_update; }
|