/[gentoo-x86]/x11-misc/pcmanfm/pcmanfm-9999.ebuild
Gentoo

Contents of /x11-misc/pcmanfm/pcmanfm-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Sat Jul 21 10:50:13 2012 UTC (23 months, 2 weeks ago) by hwoarang
Branch: MAIN
Changes since 1.17: +2 -2 lines
Use stricter dependencies for libfm

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/pcmanfm-9999.ebuild,v 1.17 2012/06/14 18:39:18 hwoarang Exp $
4
5 EAPI=3
6
7 EGIT_REPO_URI="git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/${PN}"
8
9 inherit autotools git-2 fdo-mime
10
11 DESCRIPTION="Fast lightweight tabbed filemanager"
12 HOMEPAGE="http://pcmanfm.sourceforge.net/"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 IUSE="debug"
17 KEYWORDS=""
18
19 COMMON_DEPEND=">=dev-libs/glib-2.18:2
20 >=x11-libs/gtk+-2.22.1:2
21 >=lxde-base/menu-cache-0.3.2
22 >=x11-libs/libfm-9999"
23 RDEPEND="${COMMON_DEPEND}
24 virtual/eject
25 virtual/freedesktop-icon-theme"
26 DEPEND="${COMMON_DEPEND}
27 >=dev-util/intltool-0.40
28 virtual/pkgconfig
29 sys-devel/gettext"
30
31 RESTRICT="test"
32
33 src_prepare() {
34 intltoolize --force --copy --automake || die
35 # drop -O0 -g. Bug #382265 and #382265
36 sed -i -e "s:-O0::" -e "/-DG_ENABLE_DEBUG/s: -g::" "${S}"/configure.ac || die
37 #Remove -Werror for automake-1.12. Bug #421101
38 sed -i "s:-Werror::" configure.ac || die
39 eautoreconf
40 }
41
42 src_configure() {
43 econf \
44 --sysconfdir="${EPREFIX}/etc" \
45 $(use_enable debug)
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" install || die
50 dodoc AUTHORS
51 }
52
53 pkg_postinst() {
54 fdo-mime_desktop_database_update
55
56 elog 'PCmanFM can optionally support the menu://applications/ location.'
57 elog 'You should install lxde-base/lxmenu-data for that functionality.'
58 }
59
60 pkg_postrm() {
61 fdo-mime_desktop_database_update
62 }

  ViewVC Help
Powered by ViewVC 1.1.20