2008-11-16 19:31:42 +00:00
#
2008-11-27 22:24:56 +00:00
# Copyright (C) 2006-2008 OpenWrt.org
2008-11-16 19:31:42 +00:00
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := evas
2008-11-27 22:24:56 +00:00
PKG_REV := 37637
PKG_VERSION := r$( PKG_REV)
2008-11-16 19:31:42 +00:00
PKG_RELEASE := 1
PKG_SOURCE_PROTO := svn
2008-11-27 22:24:56 +00:00
PKG_SOURCE_VERSION := $( PKG_REV)
2008-11-16 19:31:42 +00:00
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
2008-11-27 22:24:56 +00:00
PKG_SOURCE_URL := http://svn.enlightenment.org/svn/e/trunk/$( PKG_NAME)
2008-11-16 19:31:42 +00:00
PKG_BUILD_DIR = $( BUILD_DIR) /Xorg/$( _CATEGORY) /$( PKG_NAME) -$( PKG_VERSION) /
PKG_FIXUP = libtool
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / e v a s
SECTION:= xorg-lib
CATEGORY:= Xorg
2009-01-09 17:10:38 +00:00
SUBMENU:= libraries
2008-11-16 19:31:42 +00:00
TITLE:= Evas is a hardware-accelerated canvas API for X-Windows
URL:= http://wiki.enlightenment.org/index.php/Evas
DEPENDS:= +eet +libfreetype +libjpeg +libpng +libX11 +libXext +libXrender +fontconfig
e n d e f
d e f i n e P a c k a g e / e v a s / d e s c r i p t i o n
Evas is a hardware-accelerated canvas API for X-Windows that can draw anti-aliased text, smooth super and sub-sampled images, alpha-blend, as well as drop down to using normal X11 primitives such as pixmaps, lines and rectangles for speed if your CPU or graphics hardware are too slow.
e n d e f
d e f i n e B u i l d / C o n f i g u r e
( cd $( PKG_BUILD_DIR) ; NOCONFIGURE = YES ./autogen.sh ) ;
$( call Build/Configure/Default, \
--disable-pthreads \
--enable-fb \
--disable-directfb \
--disable-sdl \
--enable-buffer \
--disable-software-ddraw \
--disable-software-qtopia \
--enable-simple-x11 \
--enable-software-x11 \
--enable-software-16-x11 \
--disable-software-xcb \
--disable-gl-x11 \
--enable-xrender-x11 \
--disable-xrender-xcb \
--disable-glitz-x11 \
--enable-image-loader-eet \
--disable-image-loader-edb \
--disable-image-loader-gif \
--enable-image-loader-png \
--enable-image-loader-jpeg \
--enable-image-loader-tiff \
--enable-image-loader-xpm \
--enable-image-loader-svg \
--enable-cpu-c \
--enable-fontconfig \
--enable-font-loader-eet \
--enable-scale-sample \
--enable-scale-smooth \
--enable-convert-yuv \
--enable-small-dither-mask \
--enable-no-dither-mask \
--enable-convert-8-rgb-332 \
--enable-convert-8-rgb-666 \
--enable-convert-8-rgb-232 \
--enable-convert-8-rgb-222 \
--enable-convert-8-rgb-221 \
--enable-convert-8-rgb-121 \
--enable-convert-8-rgb-111 \
--enable-convert-16-rgb-565 \
--enable-convert-16-rgb-555 \
--enable-convert-16-rgb-444 \
--enable-convert-16-rgb-ipq \
--enable-convert-16-rgb-rot-0 \
--enable-convert-16-rgb-rot-90 \
--enable-convert-16-rgb-rot-180\
--enable-convert-16-rgb-rot-270 \
--enable-convert-24-rgb-888 \
--enable-convert-24-bgr-888 \
--enable-convert-32-rgb-8888 \
--enable-convert-32-rgbx-8888 \
--enable-convert-32-bgr-8888 \
--enable-convert-32-bgrx-8888 \
--enable-convert-32-rgb-rot-0 \
--enable-convert-32-rgb-rot-90 \
--enable-convert-32-rgb-rot-180 \
--enable-convert-32-rgb-rot-270 \
)
e n d e f
d e f i n e B u i l d / C o m p i l e
DESTDIR = " $( PKG_INSTALL_DIR) " $( MAKE) -C $( PKG_BUILD_DIR) all install
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/include/* $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/* $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / e v a s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libevas.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/evas $( 1) /usr/lib/
find $( 1) /usr/lib/evas -name *.la | xargs rm -rf
find $( 1) /usr/lib/evas -name *.a | xargs rm -rf
e n d e f
$( eval $ ( call BuildPackage ,evas ) )