Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/libfm: libfm-1.1.0.ebuild ChangeLog
Date: Fri, 02 Nov 2012 17:29:42
Message-Id: 20121102172924.DEF9421600@flycatcher.gentoo.org
1 hwoarang 12/11/02 17:29:24
2
3 Modified: ChangeLog
4 Added: libfm-1.1.0.ebuild
5 Log:
6 Version bump. This is pretty much identical to 1.0.2
7
8 (Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
9
10 Revision Changes Path
11 1.79 x11-libs/libfm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/ChangeLog?rev=1.79&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/ChangeLog?rev=1.79&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/ChangeLog?r1=1.78&r2=1.79
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/libfm/ChangeLog,v
20 retrieving revision 1.78
21 retrieving revision 1.79
22 diff -u -r1.78 -r1.79
23 --- ChangeLog 2 Nov 2012 17:15:39 -0000 1.78
24 +++ ChangeLog 2 Nov 2012 17:29:24 -0000 1.79
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/libfm
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libfm/ChangeLog,v 1.78 2012/11/02 17:15:39 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libfm/ChangeLog,v 1.79 2012/11/02 17:29:24 hwoarang Exp $
30 +
31 +*libfm-1.1.0 (02 Nov 2012)
32 +
33 + 02 Nov 2012; Markos Chandras <hwoarang@g.o> +libfm-1.1.0.ebuild:
34 + Version bump. This is pretty much identical to 1.0.2
35
36 *libfm-1.0.2 (02 Nov 2012)
37
38
39
40
41 1.1 x11-libs/libfm/libfm-1.1.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/libfm-1.1.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm/libfm-1.1.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libfm-1.1.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libfm/libfm-1.1.0.ebuild,v 1.1 2012/11/02 17:29:24 hwoarang Exp $
51
52 EAPI=4
53
54 inherit autotools fdo-mime vala
55
56 MY_PV=${PV/_/}
57 MY_P="${PN}-${MY_PV}"
58 DESCRIPTION="A library for file management"
59 HOMEPAGE="http://pcmanfm.sourceforge.net/"
60 SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
61
62 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
63 LICENSE="GPL-2"
64 SLOT="0"
65 IUSE="debug doc examples vala"
66
67 COMMON_DEPEND=">=dev-libs/glib-2.18:2
68 >=x11-libs/gtk+-2.16:2
69 >=lxde-base/menu-cache-0.3.2"
70 RDEPEND="${COMMON_DEPEND}
71 x11-misc/shared-mime-info
72 || ( gnome-base/gvfs[udev,udisks] gnome-base/gvfs[udev,gdu] )"
73 DEPEND="${COMMON_DEPEND}
74 vala? ( $(vala_depend) )
75 dev-util/gtk-doc-am
76 >=dev-util/intltool-0.40
77 virtual/pkgconfig
78 sys-devel/gettext"
79
80 S="${WORKDIR}"/${MY_P}
81
82 src_prepare() {
83 sed -ie '/SUBDIRS=/s#docs##' "${S}"/Makefile.am || die "sed failed"
84 sed -i -e '/^[[:space:]]*docs/d' -e "s:-O0::" -e "/-DG_ENABLE_DEBUG/s: -g::" \
85 configure.ac || die "sed failed"
86 #Remove -Werror for automake-1.12. Bug #421101
87 sed -i "s:-Werror::" configure.ac || die
88 eautoreconf
89 use vala && export VALAC="$(type -p valac-$(vala_best_api_version))"
90 }
91
92 src_configure() {
93 econf \
94 --sysconfdir="${EPREFIX}/etc" \
95 --disable-dependency-tracking \
96 --disable-static \
97 --disable-udisks \
98 $(use_enable examples demo) \
99 $(use_enable debug) \
100 $(use_enable vala actions) \
101 $(use_enable doc gtk-doc)
102 --with-html-dir=/usr/share/doc/${PF}/html
103 }
104
105 src_install() {
106 default
107 find "${D}" -name '*.la' -exec rm -f '{}' +
108 # Remove broken symlink #439570
109 # Sometimes a directory is created instead of a symlink. No idea why...
110 # It is wrong anyway. We expect a libfm-1.0 directory and then a libfm
111 # symlink to it.
112 if [[ -h ${D}/usr/include/${PN} || -d ${D}/usr/include/${PN} ]]; then
113 rm -r "${D}"/usr/include/${PN}
114 fi
115 }
116
117 pkg_preinst() {
118 # Resolve the symlink mess. Bug #439570
119 [[ -d "${ROOT}"/usr/include/${PN} ]] && \
120 rm -rf "${ROOT}"/usr/include/${PN}
121 if [[ -d "${D}"/usr/include/${PN}-1.0 ]]; then
122 cd ${D}/usr/include
123 ln -s ${PN}-1.0 ${PN}
124 fi
125 }
126
127 pkg_postinst() {
128 fdo-mime_mime_database_update
129 }
130
131 pkg_postrm() {
132 fdo-mime_mime_database_update
133 }