Magellan Linux

Annotation of /trunk/extras/gobject-introspection/gobject-introspection-1.62.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32962 - (hide annotations) (download)
Tue Oct 8 09:22:39 2019 UTC (4 years, 7 months ago) by niro
File size: 1233 byte(s)
auto added: ver bump to 1.62.0-r1
1 niro 32962 # $Id$
2    
3     PNAME="gobject-introspection"
4     PVER="1.62.0"
5     PBUILD="r1"
6    
7     PCAT="dev-libs"
8    
9     DESCRIPTION="Introspection system for GObject-based libraries."
10     HOMEPAGE="http://live.gnome.org/GObjectInstrospection"
11    
12     # x86_64 specific dependencies
13     DEPEND_x86_64=">= sys-apps/multiarch-wrapper-1"
14     SPECIAL_VARS="DEPEND_x86_64"
15    
16     DEPEND="$(marchdepend)
17     >= dev-libs/libffi-3.2
18     >= dev-libs/glib2-2.62
19     >= dev-lang/python3-3.7
20     >= dev-python/python3-mako-1.0.7
21     >= x11-libs/cairo-1.16"
22    
23     SRCFILE="${PNAME}-${PVER}.tar.xz"
24     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25    
26     sminclude multilib python3 mbuild mtools
27    
28     SRC_URI=(
29     gnome://${PNAME}/${PVER%.*}/${SRCFILE}
30     mirror://${PNAME}/${SRCFILE}
31     )
32    
33     UP2DATE="updatecmd_gnome ${PNAME}"
34    
35     src_compile()
36     {
37     local myconf
38     [[ ${ARCH} = x86_64 ]] && myconf=--program-suffix=-$(mabi)
39     mconfigure ${myconf} --with-python=${PYTHON} || die
40     mmake || die
41     }
42    
43     src_install()
44     {
45     mmake DESTDIR=${BINDIR} install || die
46    
47     if [[ ${ARCH} = x86_64 ]]
48     then
49     # install multiarch-wrapper
50     mlink multiarch-wrapper /usr/bin/g-ir-compiler || die
51     mlink multiarch-wrapper /usr/bin/g-ir-generate || die
52     mlink multiarch-wrapper /usr/bin/g-ir-scanner || die
53     fi
54    
55     minstalldocs AUTHORS CONTRIBUTORS COPYING* ChangeLog NEWS README TODO || die
56     }