You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.5 KiB
78 lines
1.5 KiB
5 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
11 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
4 years ago
|
|
||
5 years ago
|
inherit autotools desktop flag-o-matic
|
||
11 years ago
|
|
||
10 years ago
|
DESCRIPTION="Program suite to record, replay and distribute user actions"
|
||
5 years ago
|
HOMEPAGE="https://xnee.wordpress.com/"
|
||
11 years ago
|
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
4 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="gnome xosd"
|
||
11 years ago
|
|
||
|
RDEPEND="
|
||
|
x11-libs/libX11
|
||
|
x11-libs/libXau
|
||
|
x11-libs/libXdmcp
|
||
|
x11-libs/libXext
|
||
|
x11-libs/libXi
|
||
|
x11-libs/libXtst
|
||
|
x11-libs/libxcb
|
||
|
gnome? (
|
||
|
>=gnome-base/gconf-2
|
||
4 years ago
|
x11-libs/gtk+:2
|
||
11 years ago
|
)
|
||
|
"
|
||
4 years ago
|
DEPEND="${RDEPEND}
|
||
6 years ago
|
x11-base/xorg-proto
|
||
4 years ago
|
"
|
||
|
BDEPEND="
|
||
11 years ago
|
virtual/pkgconfig
|
||
|
sys-devel/gettext
|
||
8 years ago
|
gnome? ( virtual/imagemagick-tools[jpeg,png] )
|
||
11 years ago
|
"
|
||
|
|
||
|
# This needs RECORD extension from X.org server which isn't necessarily
|
||
|
# enabled. Xlib: extension "RECORD" missing on display ":0.0".
|
||
|
RESTRICT="test"
|
||
4 years ago
|
|
||
|
DOCS=( AUTHORS BUGS ChangeLog FAQ NEWS README TODO )
|
||
|
|
||
5 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-3.18-linker.patch
|
||
4 years ago
|
"${FILESDIR}"/${P}-libgnomeui-only-for-applets.patch
|
||
5 years ago
|
)
|
||
11 years ago
|
|
||
|
src_prepare() {
|
||
5 years ago
|
default
|
||
11 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
5 years ago
|
append-cflags -fcommon
|
||
11 years ago
|
econf \
|
||
|
$(use_enable gnome gui) \
|
||
|
$(use_enable xosd buffer_verbose) \
|
||
|
$(use_enable xosd verbose) \
|
||
|
$(use_enable xosd) \
|
||
|
--disable-gnome-applet \
|
||
4 years ago
|
--disable-static \
|
||
11 years ago
|
--disable-static-programs \
|
||
|
--enable-cli \
|
||
|
--enable-lib
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
4 years ago
|
virtx emake check
|
||
11 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
use gnome && make_desktop_entry gnee Gnee ${PN} "Utility;GTK"
|
||
5 years ago
|
find "${ED}" -name '*.la' -delete || die
|
||
11 years ago
|
}
|