summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-02-21 05:39:28 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2015-02-21 05:41:14 +0200
commit2ce228be96cc1aa5b412ec36468851f70e462c59 (patch)
treeded51f17a4fb38fc0cbc256583b83390dcac89f8 /setup.py
parentd141a912e5856dcf30ff2d8a38172b8dcfcfcad3 (diff)
Elementary: Add module systray
Test/example needs more work
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 60f73ea..be653ca 100755
--- a/setup.py
+++ b/setup.py
@@ -251,7 +251,10 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
251 # === Eo === 251 # === Eo ===
252 eo_cflags, eo_libs = pkg_config('Eo', 'eo', EFL_MIN_VER) 252 eo_cflags, eo_libs = pkg_config('Eo', 'eo', EFL_MIN_VER)
253 eo_ext = Extension("eo", ["efl/eo/efl.eo" + module_suffix], 253 eo_ext = Extension("eo", ["efl/eo/efl.eo" + module_suffix],
254 define_macros=[('EFL_BETA_API_SUPPORT', None)], 254 define_macros=[
255 ('EFL_BETA_API_SUPPORT', 1),
256 ('EFL_EO_API_SUPPORT', 1)
257 ],
255 include_dirs=['include/'], 258 include_dirs=['include/'],
256 extra_compile_args=eo_cflags, 259 extra_compile_args=eo_cflags,
257 extra_link_args=eo_libs + eina_libs 260 extra_link_args=eo_libs + eina_libs
@@ -437,6 +440,7 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
437 "slideshow", 440 "slideshow",
438 "spinner", 441 "spinner",
439 #"store", 442 #"store",
443 "systray",
440 "table", 444 "table",
441 "theme", 445 "theme",
442 "thumb", 446 "thumb",
@@ -451,9 +455,13 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
451 for m in elm_mods: 455 for m in elm_mods:
452 e = Extension("elementary." + m, 456 e = Extension("elementary." + m,
453 ["efl/elementary/" + m + module_suffix], 457 ["efl/elementary/" + m + module_suffix],
458 define_macros=[
459 ('EFL_BETA_API_SUPPORT', 1),
460 ('EFL_EO_API_SUPPORT', 1)
461 ],
454 include_dirs=["include/"], 462 include_dirs=["include/"],
455 extra_compile_args=elm_cflags, 463 extra_compile_args=elm_cflags,
456 extra_link_args=elm_libs + eina_libs + evas_libs) 464 extra_link_args=elm_libs + eina_libs + eo_libs + evas_libs)
457 ext_modules.append(e) 465 ext_modules.append(e)
458 466
459 packages.append("efl.elementary") 467 packages.append("efl.elementary")