summaryrefslogtreecommitdiff
path: root/packages/office-libs/libgsf/libgsf-1.14.34.exheres-0
blob: 37769e2fb534c75f945ed44a2c26e0013d3fb0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 2008 Saleem Abdulrasool <compnerd@compnerd.org>
# Distributed under the terms of the GNU General Purpose License v2

require gnome-2 gnome.org [ suffix=tar.xz ]
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]

SUMMARY="The GNOME Structured File Library"
HOMEPAGE="http://www.gnome.org/"

LICENCES="LGPL-2.1"
SLOT="1"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
    doc
    gobject-introspection
    ( linguas: as bs ca ca@valencia cs da de el en_GB eo es eu fi fr gl he hu id it ja ko lt lv ml
               nb nn oc pa pl pt_BR pt ro ru sk sl sr sr@latin sv ta tg th tr uk zh_CN zh_HK
               zh_TW )
"

DEPENDENCIES="
    build:
        dev-util/intltool[>=0.35.0]
        virtual/pkg-config[>=0.20]
        doc? ( dev-doc/gtk-doc[>=1.12] )
    build+run:
        app-arch/bzip2
        dev-libs/glib:2[>=2.26]
        dev-libs/libxml2:2.0[>=2.4.16]
        x11-libs/gdk-pixbuf:2.0
        gobject-introspection? ( gnome-desktop/gobject-introspection:1[>=1.30.0-r1] )
"

# FIXME gconf is picked up automagically
DEFAULT_SRC_CONFIGURE_PARAMS=(
    --disable-static
    --with-bz2
    --with-gdk-pixbuf
    --with-zlib
)
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( 'doc gtk-doc' 'gobject-introspection introspection' )

src_prepare() {
    edo sed -e '/AC_PATH_PROG(PKG_CONFIG/d' -i configure.ac

    autotools_src_prepare

    # install locales to /usr/share
    edo intltoolize --force --automake
}