/[gentoo-x86]/app-admin/gam-server/gam-server-0.1.10-r1.ebuild
Gentoo

Contents of /app-admin/gam-server/gam-server-0.1.10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Sun Apr 28 13:04:13 2013 UTC (15 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +7 -2 lines
Fix automake-1.13 compability wrt #466948 by Alphat-PC

(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 ssuominen 1.10 # Copyright 1999-2013 Gentoo Foundation
2 tetromino 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.10 # $Header: /var/cvsroot/gentoo-x86/app-admin/gam-server/gam-server-0.1.10-r1.ebuild,v 1.9 2012/09/26 11:12:43 ssuominen Exp $
4 tetromino 1.1
5     EAPI="3"
6     GNOME_ORG_MODULE="gamin"
7    
8     inherit autotools eutils flag-o-matic libtool multilib python gnome.org
9    
10     DESCRIPTION="Library providing the FAM File Alteration Monitor API"
11     HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
12     SRC_URI="${SRC_URI}
13     mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2
14     http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
15    
16     LICENSE="LGPL-2"
17     SLOT="0"
18 ssuominen 1.9 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
19 tetromino 1.1 IUSE="debug kernel_linux"
20    
21     RDEPEND=">=dev-libs/glib-2:2
22     >=dev-libs/libgamin-0.1.10
23     !app-admin/fam
24     !<app-admin/gamin-0.1.10"
25    
26     DEPEND="${RDEPEND}"
27    
28     #S=${WORKDIR}/${MY_P}
29    
30     src_prepare() {
31     mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
32    
33     # Fix compile warnings; bug #188923
34     epatch "${DISTDIR}/gamin-0.1.9-freebsd.patch.bz2"
35    
36     # Fix file-collision due to shared library, upstream bug #530635
37     epatch "${FILESDIR}/${PN}-0.1.10-noinst-lib.patch"
38    
39     # Fix compilation with latest glib, bug #382783
40     epatch "${FILESDIR}/${PN}-0.1.10-G_CONST_RETURN-removal.patch"
41    
42     # Fix crosscompilation issues, bug #267604
43     epatch "${FILESDIR}/${PN}-0.1.10-crosscompile-fix.patch"
44    
45     # Enable linux specific features on armel, upstream bug #588338
46     epatch "${FILESDIR}/${P}-armel-features.patch"
47    
48     # Fix deadlocks with glib-2.32, bug #413331, upstream #667230
49     epatch "${FILESDIR}/${P}-ih_sub_cancel-deadlock.patch"
50    
51     # Drop DEPRECATED flags
52     sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die
53    
54 ssuominen 1.10 sed -i \
55     -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
56     -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
57     configure.in || die #466948
58    
59 tetromino 1.1 # autoconf is required as the user-cflags patch modifies configure.in
60     # however, elibtoolize is also required, so when the above patch is
61     # removed, replace the following call with a call to elibtoolize
62     AT_M4DIR="${WORKDIR}" eautoreconf
63     }
64    
65     src_configure() {
66     # fixes bug 225403
67     #append-flags "-D_GNU_SOURCE"
68    
69 ssuominen 1.2 if ! has_version virtual/pkgconfig; then
70 tetromino 1.1 export DAEMON_CFLAGS="-I/usr/include/glib-2.0 -I/usr/$(get_libdir)/glib-2.0/include"
71     export DAEMON_LIBS="-lglib-2.0"
72     fi
73    
74     econf \
75     --disable-debug \
76     --disable-libgamin \
77     --without-python \
78     $(use_enable kernel_linux inotify) \
79     $(use_enable debug debug-api)
80     }
81    
82     src_install() {
83     emake DESTDIR="${D}" install || die
84     }

  ViewVC Help
Powered by ViewVC 1.1.20