|
|
| Line 260: |
Line 260: |
|
| |
|
| * ''LANG'' current language while building per language implementation | | * ''LANG'' current language while building per language implementation |
|
| |
| == Examples ==
| |
|
| |
| === Python activity ===
| |
|
| |
| Python-based activity with standard Sugar Platform dependencies.
| |
|
| |
| [Activity]
| |
| implement = cartoon-builder
| |
| name = Cartoon Builder
| |
| summary = Create your own cell-animation sequences
| |
| license = GPLv2+
| |
| homepage = http://wiki.sugarlabs.org/go/Activities/Cartoon_Builder
| |
|
| |
| version = 11.4.9-pre3
| |
| stability = testing
| |
|
| |
| icon = activity-cartoonbuilder
| |
| exec = sugar-activity activity.CartoonBuilderActivity
| |
|
| |
| # Deprecated options to run activity in non-sweets environment
| |
| bundle_id = com.ywwg.CartoonBuilderActivity
| |
| activity_version = %(version)s
| |
|
| |
| === Python library ===
| |
|
| |
| A python-based library that could be used as is, or as an activity dependency.
| |
|
| |
| [Library]
| |
| implement = libjournal
| |
| name = libjournal
| |
| summary = Hight level library to create your own Journal-like activity
| |
| license = GPLv3+
| |
| homepage = http://wiki.sugarlabs.org/go/Activity_Team/Services/Journal
| |
| version = 1
| |
| stability = testing
| |
| requires = toolkit
| |
| binding = PYTHONPATH
| |
|
| |
| === C-based library ===
| |
|
| |
| [DEFAULT]
| |
| depends = glib; gconf; libgee >= 0.5; gtk+ >= 2.12; pango >= 1.20; librsvg
| |
|
| |
| [Library]
| |
| implement = polyol
| |
| name = polyol
| |
| summary = Intermediate level GObject based libraries for Sugar
| |
| description = Polyol is a set of libraries that are written in Vala.
| |
| Libraries are intended to provide high-level C API to basic Sugar
| |
| features including Gtk based user interface. Applications that are
| |
| linked against Polyol, interact with sugar processes
| |
| (like shell, datastore, etc.) via DBus.
| |
| license = LGPLv3+
| |
| homepage = http://wiki.sugarlabs.org/go/Activity_Team/Polyol
| |
|
| |
| version = 1
| |
| stability = testing
| |
|
| |
| binding = LD_LIBRARY_PATH lib
| |
| PKG_CONFIG_PATH lib/pkgconfig
| |
| VAPIDIR share/vala/vapi
| |
| requires = %(depends)s
| |
|
| |
| [Archive]
| |
| arch = any
| |
|
| |
| [Build]
| |
| requires = %(depends)s; pkg-config; cmake; make; gcc-c
| |
| configure = cmake -D CMAKE_INSTALL_PREFIX=%(PREFIX)s
| |
| -D PYTHON_SITEDIR=%(PREFIX)s/python
| |
| -D COMPONENTS="collab;ds;env;gui;shell;toolkit"
| |
| -D BINDING=python
| |
| -D CMAKE_C_FLAGS:STRING="%(CFLAGS)s"
| |
| .
| |
| make = make
| |
| install = make DESTDIR=%(DESTDIR)s install
| |