| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/gnote/gnote-0.8.2-r10.ebuild,v 1.3 2012/07/02 18:46:26 tetromino Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GNOME2_LA_PUNT="yes"
|
| 7 |
|
| 8 |
inherit eutils gnome2
|
| 9 |
|
| 10 |
DESCRIPTION="Desktop note-taking application"
|
| 11 |
HOMEPAGE="http://live.gnome.org/Gnote"
|
| 12 |
|
| 13 |
LICENSE="GPL-3"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~x86"
|
| 16 |
IUSE="applet debug"
|
| 17 |
|
| 18 |
COMMON_DEPEND=">=x11-libs/gtk+-3.0:3
|
| 19 |
>=dev-cpp/glibmm-2.28:2
|
| 20 |
>=dev-cpp/gtkmm-3.0:3.0
|
| 21 |
>=dev-libs/libxml2-2:2
|
| 22 |
dev-libs/libxslt
|
| 23 |
>=dev-libs/libpcre-7.8:3[cxx]
|
| 24 |
>=dev-libs/boost-1.34
|
| 25 |
>=sys-apps/util-linux-2.16
|
| 26 |
applet? ( >=gnome-base/gnome-panel-3 )"
|
| 27 |
RDEPEND="${COMMON_DEPEND}
|
| 28 |
gnome-base/gsettings-desktop-schemas"
|
| 29 |
DEPEND="${COMMON_DEPEND}
|
| 30 |
virtual/pkgconfig
|
| 31 |
>=dev-util/intltool-0.35.0
|
| 32 |
app-text/gnome-doc-utils
|
| 33 |
app-text/docbook-xml-dtd:4.1.2"
|
| 34 |
|
| 35 |
pkg_setup() {
|
| 36 |
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
| 37 |
G2CONF="${G2CONF}
|
| 38 |
--disable-static
|
| 39 |
--disable-schemas-compile
|
| 40 |
$(use_enable applet)
|
| 41 |
$(use_enable debug)"
|
| 42 |
}
|
| 43 |
|
| 44 |
src_prepare() {
|
| 45 |
epatch "${FILESDIR}/${P}-signal_idle-header.patch" #424317
|
| 46 |
|
| 47 |
gnome2_src_prepare
|
| 48 |
|
| 49 |
# Do not set idiotic defines in a released tarball, bug #311979
|
| 50 |
sed 's/-DG.*_DISABLE_DEPRECATED//g' -i libtomboy/Makefile.* ||
|
| 51 |
die "sed failed"
|
| 52 |
}
|