1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name libpeas |
---|
6 | version 1.8.1 |
---|
7 | license LGPL-2+ |
---|
8 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
9 | description GObject-based plugins engine. |
---|
10 | long_description \ |
---|
11 | libpeas is a gobject-based plugins engine, and is targetted at \ |
---|
12 | giving every application the chance to assume its own extensibility. \ |
---|
13 | It also has a set of features including, but not limited to: \ |
---|
14 | * multiple extension points \ |
---|
15 | * on demand (lazy) programming language support for C, Python and JS \ |
---|
16 | * simplicity of the API |
---|
17 | maintainers nomaintainer |
---|
18 | categories gnome |
---|
19 | platforms darwin |
---|
20 | homepage https://wiki.gnome.org/Libpeas |
---|
21 | master_sites gnome:sources/${name}/${branch}/ |
---|
22 | |
---|
23 | use_xz yes |
---|
24 | |
---|
25 | checksums rmd160 5ae13b20221a4c61904933664bbaf19fe830524e \ |
---|
26 | sha256 ff0e7cd1f0da5dc1289efdd4662a06188f8f0fb088eac67abe05ffa66ba7751d |
---|
27 | |
---|
28 | patchfiles patch-loaders-python-peas-plugin-loader-python.c.diff |
---|
29 | |
---|
30 | depends_build port:pkgconfig \ |
---|
31 | port:intltool |
---|
32 | |
---|
33 | depends_lib port:gobject-introspection \ |
---|
34 | port:gettext \ |
---|
35 | port:gtk3 \ |
---|
36 | port:py33-gobject3 \ |
---|
37 | port:py33-cairo \ |
---|
38 | port:glade \ |
---|
39 | port:seed \ |
---|
40 | port:gjs |
---|
41 | |
---|
42 | configure.python ${prefix}/bin/python3.3 |
---|
43 | set python_framework ${frameworks_dir}/Python.framework/Versions/3.3 |
---|
44 | configure.pkg_config_path ${python_framework}/lib/pkgconfig |
---|
45 | configure.env PATH=${python_framework}/bin:$env(PATH) |
---|
46 | configure.ldflags-append -L${python_framework}/lib |
---|
47 | |
---|
48 | configure.args --enable-python3 \ |
---|
49 | --disable-python2 \ |
---|
50 | --enable-gjs \ |
---|
51 | --enable-seed |
---|
52 | |
---|
53 | post-activate { |
---|
54 | system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" |
---|
55 | } |
---|
56 | |
---|
57 | livecheck.type gnome |
---|