Section: libs
Priority: optional
Maintainer: Maemo-EFL Team <maemo-efl-devel@garage.maemo.org>
-Build-Depends: cdbs, debhelper (>= 4), libeet1-dev (>= 1.0.0), libevas0-dev (>= 0.9.9.042-maemo3), libssl-dev, libcurl3-dev, libxcursor-dev, x-dev | libx11-dev, libxrender-dev, libxrandr-dev, libxext-dev, libfreetype6-dev, libjpeg62-dev
+Build-Depends: cdbs, debhelper (>= 4), libeet1-dev (>= 1.0.0-maemo2), libevas0-dev (>= 0.9.9.042-maemo4), libssl-dev, libcurl3-dev, libxcursor-dev, x-dev | libx11-dev, libxrender-dev, libxrandr-dev, libxext-dev, libfreetype6-dev, libjpeg62-dev
Standards-Version: 3.7.2
Package: libecore0
Package: libecore0-con
Architecture: any
Section: libs
-Depends: ${shlibs:Depends}, libecore0 (= ${Source-Version}), libssl0.9.7
+Depends: ${shlibs:Depends}, libecore0 (= ${Source-Version}), libssl0.9.7|libssl0.9.8
Provides: libecore-con
Description: Ecore Connection Library
This is the core event abstraction layer and X abstraction layer that makes
#Package: libecore0-config
#Architecture: any
#Section: libs
-#Depends: ${shlibs:Depends}, libecore0 (= ${Source-Version}), libevas0 (>= 0.9.9.042-maemo3), libeet1 (>= 1.0.0)
+#Depends: ${shlibs:Depends}, libecore0 (= ${Source-Version}), libevas0 (>= 0.9.9.042-maemo4), libeet1 (>= 1.0.0-maemo2)
#Provides: libecore-config
#Description: Ecore Enlightened Property Library
# This is the core event abstraction layer and X abstraction layer that makes
Package: libecore0-evas
Architecture: any
Section: libs
-Depends: ${shlibs:Depends}, libecore0 (= ${Source-Version}), libecore0-x (= ${Source-Version}), libecore0-txt (= ${Source-Version}), libecore0-job (= ${Source-Version}), libevas0 (>= 0.9.9.042-maemo3), libx11-6, libxext6, libevas0-engine-software-x11 (>= 0.9.9.042-maemo3), libevas0-engine-software-x11-16 (>= 0.9.9.042-maemo3)
+Depends: ${shlibs:Depends}, libecore0 (= ${Source-Version}), libecore0-x (= ${Source-Version}), libecore0-txt (= ${Source-Version}), libecore0-job (= ${Source-Version}), libevas0 (>= 0.9.9.042-maemo4), libx11-6, libxext6, libevas0-engine-software-x11 (>= 0.9.9.042-maemo4), libevas0-engine-software-x11-16 (>= 0.9.9.042-maemo4)
Provides: libecore-evas
Description: Ecore Evas Wrapper Library
This is the core event abstraction layer and X abstraction layer that makes
Architecture: any
Section: libdevel
Architecture: any
-Depends: libecore0 (= ${Source-Version}), libevas0-dev (>= 0.9.9.042-maemo3), libecore0-all (= ${Source-Version})
+Depends: libecore0 (= ${Source-Version}), libevas0-dev (>= 0.9.9.042-maemo4), libecore0-all (= ${Source-Version})
Provides: libecore-dev
Description: Ecore headers, static libraries and documentation
This is the core event abstraction layer and X abstraction layer that makes
DEB_CONFIGURE_SCRIPT_ENV += CURL_LIBS="-lcurl"
-DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-
CFLAGS += -I/usr/X11R6/include
-ifneq (,$(findstring armel,$(DEB_BUILD_ARCH)))
- CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
- ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s
- endif
- ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -mcpu=arm926ej-s
+DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+ifeq ($(DEB_BUILD_ARCH),armel)
+ COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
+ N770_CFLAGS=-mcpu=arm926ej-s
+ N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s
+ ifneq ($(DEB_BUILD_OPTIONS),)
+ ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS)))
+ SPECIFIC_CFLAGS=$(N8x0_CFLAGS)
+ else
+ ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS)))
+ SPECIFIC_CFLAGS=$(N770_CFLAGS)
+ endif
+ endif
endif
+ ifeq ($(SPECIFIC_CFLAGS),)
+ ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?))
+ SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2)
+ ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO))
+ SPECIFIC_CFLAGS=$(N8x0_CFLAGS)
+ endif
+ endif
+ ifeq ($(SPECIFIC_CFLAGS),)
+ # Our last hope is to look at the value returned by `sb-conf current`
+ SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1)
+ ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO))
+ ifeq ($(SB_CURRENT),GREGALE)
+ SPECIFIC_CFLAGS=$(N770_CFLAGS)
+ else
+ SPECIFIC_CFLAGS=$(N8x0_CFLAGS)
+ endif
+ else
+ COMMON_CFLAGS=
+ endif
+ endif
+ endif
endif
+CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS)
+