Changeset 106122 for trunk/dports/comms


Ignore:
Timestamp:
May 15, 2013, 7:56:29 PM (6 years ago)
Author:
devans@…
Message:

telepathy-logger: correctly install gsettings schemas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/comms/telepathy-logger/Portfile

    r104792 r106122  
    66name            telepathy-logger
    77version         0.8.0
    8 revision        1
     8revision        2
    99set branch      [join [lrange [split ${version} .] 0 1] .]
    1010license         LGPL-2.1+
     
    3737configure.args  --disable-silent-rules \
    3838                --disable-coding-style-checks \
    39                 --enable-introspection
     39                --disable-schemas-compile \
     40                --enable-introspection=yes
    4041
    4142# gobject-introspection uses g-ir-scanner, which uses $CC from env
     
    6162}
    6263
     64post-destroot {
     65    set gsettingsschemadir ${prefix}/share/glib-2.0/schemas
     66    file mkdir ${destroot}${gsettingsschemadir}
     67    file copy [glob ${worksrcpath}/data/*.gschema.xml] ${destroot}${gsettingsschemadir}
     68}
     69
     70post-activate {
     71    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
     72}
     73
    6374livecheck.type  regex
    6475livecheck.url   ${master_sites}
Note: See TracChangeset for help on using the changeset viewer.