source: feeds/phone/paroli/Makefile @ 16671

Last change on this file since 16671 was 16671, checked in by mirko, 7 years ago

add dbus-utils as dependency which is used by *.desktop-files

File size: 3.9 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=paroli
11PKG_VERSION:=20090605
12PKG_REV:=120c1aca795fd28b50e361eb908786ed25f98253
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=http://git.paroli-project.org/paroli.git
17PKG_SOURCE_PROTO:=git
18PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19PKG_SOURCE_VERSION:=$(PKG_REV)
20
21PKG_BUILD_DEPENDS:=python
22
23include $(INCLUDE_DIR)/package.mk
24-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
25
26define 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
32endef
33
34define Package/paroli/description
35  Paroli is a phone suite written in Python which uses the FSO (freesmartphone.org) DBus API
36endef
37
38define Build/Compile
39        $(call Build/Compile/PyMod,,build)
40endef
41
42define 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/paroli \
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/paroli/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/paroli/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/paroli/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/paroli/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/paroli/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/
136endef
137
138$(eval $(call BuildPackage,paroli))
Note: See TracBrowser for help on using the repository browser.