- upgrade paroli to recent git version - enable previously disabled modules <contacts...
[openwrt/svn-archive/feeds.git] / phone / paroli / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=paroli
11 PKG_VERSION:=20090704
12 PKG_REV:=71fd25f3613c2376b980cfdd58cfee504b891e92
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://git.paroli-project.org/paroli.git
17 PKG_SOURCE_PROTO:=git
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19 PKG_SOURCE_VERSION:=$(PKG_REV)
20
21 PKG_BUILD_DEPENDS:=python
22
23 include $(INCLUDE_DIR)/package.mk
24 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
25
26 define Package/paroli
27 SECTION:=phone
28 CATEGORY:=Phone
29 TITLE:=integrated phone application
30 DEPENDS:=+python +fso-frameworkd +python-evas +python-ecore +python-edje +python-e_dbus +python-etk +python-elementary +python-expat +dbus-launch-x +dbus-utils
31 URL:=http://paroli-project.org
32 endef
33
34 define Package/paroli/description
35 Paroli is a phone suite written in Python which uses the FSO (freesmartphone.org) DBus API
36 endef
37
38 define Build/Compile
39 $(call Build/Compile/PyMod,,build)
40 endef
41
42 define Package/paroli/install
43 $(INSTALL_DIR) \
44 $(1)$(PYTHON_PKG_DIR) \
45 $(1)/usr/bin \
46 $(1)/usr/share/applications/paroli \
47 $(1)/usr/share/paroli/services \
48 $(1)/usr/share/icons \
49 $(1)/usr/share/elementary/themes \
50 $(1)/usr/share/dbus-1/system-services \
51 $(1)/etc/dbus-1/system.d \
52 $(1)/etc/paroli \
53 $(1)/etc/xdg/autostart
54
55 # CORE
56 $(CP) \
57 $(PKG_BUILD_DIR)/paroli-core/tichy \
58 $(1)$(PYTHON_PKG_DIR)/
59 $(INSTALL_BIN) \
60 $(PKG_BUILD_DIR)/paroli-scripts/paroli \
61 $(1)/usr/bin/
62 $(CP) \
63 $(PKG_BUILD_DIR)/data/tichy \
64 $(1)/usr/share/icons/parolid.png
65 $(CP) \
66 ./files/desktop-files/parolid.desktop \
67 $(1)/etc/xdg/autostart/
68 $(CP) \
69 $(PKG_BUILD_DIR)/data/paroli.edj \
70 $(1)/usr/share/elementary/themes/
71 $(CP) \
72 ./files/paroli.cfg \
73 $(1)/etc/paroli/
74 $(CP) \
75 $(PKG_BUILD_DIR)/data/dbus/tichy.conf \
76 $(1)/etc/dbus-1/system.d/
77 $(CP) \
78 $(PKG_BUILD_DIR)/data/dbus/org.tichy.launcher.service \
79 $(1)//usr/share/dbus-1/system-services/
80
81 ## COMPONENTS
82 ## launcher (homescreen)
83 $(INSTALL_DIR) $(1)/usr/share/paroli/applications/paroli-launcher2
84 $(CP) \
85 $(PKG_BUILD_DIR)/paroli-applications/paroli-launcher2/*.{py,edj} \
86 $(1)/usr/share/paroli/applications/paroli-launcher2
87 # tele2 (dialer)
88 $(INSTALL_DIR) $(1)/usr/share/paroli/applications/tele2
89 $(CP) \
90 $(PKG_BUILD_DIR)/paroli-applications/tele2/*.{py,edj} \
91 $(1)/usr/share/paroli/applications/tele2
92 $(CP) \
93 $(PKG_BUILD_DIR)/data/tichy \
94 $(1)/usr/share/icons/tele.png
95 $(CP) \
96 ./files/desktop-files/tele.desktop \
97 $(1)/usr/share/applications/paroli/
98 # msgs2 (messages)
99 $(INSTALL_DIR) $(1)/usr/share/paroli/applications/msgs2
100 $(CP) \
101 $(PKG_BUILD_DIR)/paroli-applications/msgs2/*.{py,edj} \
102 $(1)/usr/share/paroli/applications/msgs2
103 $(CP) \
104 $(PKG_BUILD_DIR)/data/tichy \
105 $(1)/usr/share/icons/msgs.png
106 $(CP) \
107 ./files/desktop-files/msgs.desktop \
108 $(1)/usr/share/applications/paroli/
109 # people2 (contacts)
110 $(INSTALL_DIR) $(1)/usr/share/paroli/applications/people2
111 $(CP) \
112 $(PKG_BUILD_DIR)/paroli-applications/people2/*.{py,edj} \
113 $(1)/usr/share/paroli/applications/people2/
114 $(CP) \
115 $(PKG_BUILD_DIR)/data/tichy \
116 $(1)/usr/share/icons/people.png
117 $(CP) \
118 ./files/desktop-files/people.desktop \
119 $(1)/usr/share/applications/paroli/
120 # i-o2 (incoming/outgoing)
121 $(INSTALL_DIR) $(1)/usr/share/paroli/applications/i-o2
122 $(CP) \
123 $(PKG_BUILD_DIR)/paroli-applications/i-o2/*.{py,edj} \
124 $(1)/usr/share/paroli/applications/i-o2/
125 $(CP) \
126 $(PKG_BUILD_DIR)/data/tichy \
127 $(1)/usr/share/icons/i-o.png
128 $(CP) \
129 ./files/desktop-files/i-o.desktop \
130 $(1)/usr/share/applications/paroli/
131
132 # SERVICES
133 $(CP) \
134 $(PKG_BUILD_DIR)/paroli-services/{dialog,hardware,phone,gprs,prefs,system} \
135 $(1)/usr/share/paroli/services/
136 endef
137
138 $(eval $(call BuildPackage,paroli))