55 lines
1.4 KiB
Bash
55 lines
1.4 KiB
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-libs/elementary/elementary-1.10.1.ebuild,v 1.2 2014/08/10 21:08:25 slyfox Exp $
|
|
|
|
EAPI=5
|
|
|
|
MY_P=${P/_/-}
|
|
|
|
if [[ "${PV}" == "9999" ]] ; then
|
|
EGIT_SUB_PROJECT="core"
|
|
EGIT_URI_APPEND="${PN}"
|
|
else
|
|
SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.bz2"
|
|
EKEY_STATE="snap"
|
|
fi
|
|
|
|
inherit enlightenment
|
|
|
|
DESCRIPTION="Basic widget set, based on EFL for mobile touch-screen devices"
|
|
HOMEPAGE="http://trac.enlightenment.org/e/wiki/Elementary"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
IUSE="debug examples fbcon quicklaunch sdl wayland X static-libs"
|
|
|
|
DEPEND="
|
|
>=dev-libs/efl-1.9.2[sdl?,png,wayland?,X?]
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
src_configure() {
|
|
MY_ECONF="
|
|
$(use_enable debug)
|
|
$(use_enable doc)
|
|
--disable-ecore-cocoa
|
|
--disable-ecore-psl1ght
|
|
--disable-ecore-win32
|
|
--disable-ecore-wince
|
|
--disable-elocation
|
|
--disable-emap
|
|
--disable-eweather
|
|
$(use_enable examples install-examples)
|
|
$(use_enable fbcon ecore-fb)
|
|
$(use_enable sdl ecore-sdl)
|
|
$(use_enable wayland ecore-wayland)
|
|
$(use_enable X ecore-x)
|
|
$(use_enable quicklaunch quick-launch)
|
|
"
|
|
#broken: make[4]: *** No rule to make target 'prefs_example_01.epb', needed by 'all-am'. Stop
|
|
# $(use_enable examples build-examples)
|
|
|
|
enlightenment_src_configure
|
|
}
|