Files
gentoo-zh/dev-libs/libunity/libunity-7.1.4.ebuild
T
Peter Cai e3bcd6c601 new package: net-im/telegram-desktop
the lastest 0.8.50 dev version, with fcitx/ibus support

Signed-off-by: Peter Cai <xqsx43cxy@126.com>
2015-08-17 16:01:59 +08:00

62 lines
1.2 KiB
Bash

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
EBZR_REPO_URI="lp:~unity-team/${PN}/trunk"
EBZR_REVISION="312"
inherit autotools base eutils autotools python-r1 vala bzr
DESCRIPTION="Library for instrumenting and integrating with all aspects of the Unity shell"
HOMEPAGE="https://launchpad.net/libunity"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror"
DEPEND=">=dev-libs/dee-1.2.5:=
dev-libs/libdbusmenu:=
dev-libs/libgee:0
x11-libs/gtk+:3
${PYTHON_DEPS}
$(vala_depend)"
src_prepare() {
# Fix compile error
find . -type f -exec sed -i 's/ListStore/Gtk.ListStore/' {} \;
base_src_prepare
vala_src_prepare
export VALA_API_GEN="$VAPIGEN"
eautoreconf
}
src_configure() {
python_copy_sources
configuration() {
econf || die
}
python_foreach_impl run_in_build_dir configuration
}
src_compile() {
compilation() {
emake || die
}
python_foreach_impl run_in_build_dir compilation
}
src_install() {
installation() {
emake DESTDIR="${D}" install
}
python_foreach_impl run_in_build_dir installation
prune_libtool_files --modules
}