summaryrefslogtreecommitdiff
path: root/extra/ecore/PKGBUILD
blob: aa807856f2ef463222b8f2e5efb2a617dca1fda0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# $Id: PKGBUILD 185669 2013-05-16 20:56:13Z ronald $
# Maintainer: Ronald van Haren <ronald@archlinux.org>
# Contributor: Gustavo Sverzut Barbieri <barbieri@gmail.com>

pkgname=ecore
pkgver=1.7.7
pkgrel=1
pkgdesc="OS abstraction layer for e17"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('eina' 'evas' 'glib2' 'libxp' 'curl' 'libxss' 'libxtst'
  'libxcomposite' 'libxrandr' 'libxinerama' 'libxcursor')
makedepends=('subversion')
options=('!libtool' '!emptydirs')
source=(http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz)
sha1sums=('8ee61a186f2a41477415d78af4475e8a05132920')

build() {
  cd $srcdir/$pkgname-$pkgver
  
  export CFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CFLAGS}"
  export CXXFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CXXFLAGS}"
  export LDFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed  ${LDFLAGS}"

  ./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib/ecore \
    --with-internal-maximum-log-level=3 \
    --disable-static \
    --disable-ecore-timer-dump \
    --enable-glib \
    --enable-ecore-x-composite \
    --enable-ecore-x-damage \
    --enable-ecore-x-dpms \
    --enable-ecore-x-randr \
    --enable-ecore-x-render \
    --enable-ecore-x-screensaver \
    --enable-ecore-x-shape \
    --enable-ecore-x-gesture \
    --enable-ecore-x-sync \
    --enable-ecore-x-xfixes \
    --enable-ecore-x-xinerama \
    --enable-ecore-x-xprint \
    --enable-ecore-x-xtest \
    --enable-ecore-x-cursor \
    --enable-ecore-x-input \
    --enable-ecore-x-dri \
    --enable-epoll \
    --enable-posix-threads \
    --disable-debug-threads \
    --enable-atfile-source \
    --enable-ecore-con \
    --enable-curl \
    --disable-gnutls \
    --enable-openssl \
    --enable-ecore-ipc \
    --enable-ecore-file \
    --enable-poll \
    --enable-inotify \
    --enable-ecore-imf \
    --enable-ecore-imf-evas \
    --enable-ecore-input \
    --enable-ecore-input-evas \
    --enable-ecore-imf-xim \
    --disable-ecore-imf-scim \
    --disable-ecore-imf-ibus \
    --enable-ecore-x \
    --disable-ecore-sdl \
    --enable-ecore-fb \
    --disable-ecore-directfb \
    --enable-ecore-evas \
    --enable-ecore-evas-software-buffer \
    --enable-ecore-evas-software-x11 \
    --enable-ecore-evas-opengl-x11 \
    --enable-ecore-evas-fb \
    --disable-ecore-evas-ews \
    --disable-ecore-wayland \
    --disable-tests \
    --disable-coverage \
    --disable-install-examples \
    --disable-doc

#    --enable-thread-safety # e17 starts with a non-functioning black window if enabled

  make
}

package(){
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install

# install license files
  install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \
        $pkgdir/usr/share/licenses/$pkgname/COPYING
}