summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-05-29 17:32:04 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-05-29 17:32:04 +0200
commitff2133aab5f0a5adc84d3205c51bacde7e13f953 (patch)
treef795ce9fd3000027bb1dacf9131b69035e59742b
parentecd56d13dfd94c9c6f1ecb08b2135022b5ec3964 (diff)
packager: version is the one of Eina by default
-rw-r--r--elementary_test.config.py1
-rwxr-xr-xpackage_osx.py5
2 files changed, 4 insertions, 2 deletions
diff --git a/elementary_test.config.py b/elementary_test.config.py
index 9a59cba..bb15848 100644
--- a/elementary_test.config.py
+++ b/elementary_test.config.py
@@ -1,6 +1,5 @@
1BASE_NAME="Elementary_test" 1BASE_NAME="Elementary_test"
2EXEC_NAME="elementary_test" 2EXEC_NAME="elementary_test"
3VERSION="1.13.99"
4BIN_LIST=["ethumb","ethumbd","ethumbd_client", "efreetd"] 3BIN_LIST=["ethumb","ethumbd","ethumbd_client", "efreetd"]
5MODULE_LIST=[ 4MODULE_LIST=[
6 "ecore", 5 "ecore",
diff --git a/package_osx.py b/package_osx.py
index ebe857a..1886c1c 100755
--- a/package_osx.py
+++ b/package_osx.py
@@ -28,6 +28,9 @@ def prefix_get(prog):
28 prefix = prefix + '/' + paths[p] 28 prefix = prefix + '/' + paths[p]
29 return prefix 29 return prefix
30 30
31def efl_version_get():
32 return subprocess.check_output(["pkg-config", "--modversion", "eina"]).strip()
33
31def config_prefix_get(config): 34def config_prefix_get(config):
32 return prefix_get(config["EXEC_NAME"]) 35 return prefix_get(config["EXEC_NAME"])
33 36
@@ -55,7 +58,7 @@ def setDefaultOptions(config):
55 setDefaultOpt(config, "ICON_PATH", None) 58 setDefaultOpt(config, "ICON_PATH", None)
56 setDefaultOpt(config, "ICON_NAME", "{BASE_NAME}.icns".format(**config)) 59 setDefaultOpt(config, "ICON_NAME", "{BASE_NAME}.icns".format(**config))
57 60
58 setDefaultOpt(config, "VERSION", "1.13.0") 61 setDefaultOpt(config, "VERSION", efl_version_get())
59 62
60 setDefaultOpt(config, "INST_PREFIX", prefix) 63 setDefaultOpt(config, "INST_PREFIX", prefix)
61 64