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.
48 lines
1.2 KiB
48 lines
1.2 KiB
12 years ago
|
# Copyright 1999-2013 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
11 years ago
|
# $Header: /var/cvsroot/gentoo-x86/app-text/glosung/glosung-3.6.2-r1.ebuild,v 1.2 2013/01/29 21:41:00 ago Exp $
|
||
12 years ago
|
|
||
|
EAPI=5
|
||
|
|
||
11 years ago
|
inherit eutils toolchain-funcs
|
||
12 years ago
|
DESCRIPTION="Watch word program for the GNOME2 desktop (watch word (german): losung)"
|
||
|
HOMEPAGE="http://www.godehardt.org/losung.html"
|
||
|
SRC_URI="mirror://sourceforge/glosung/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2+"
|
||
|
SLOT="0"
|
||
11 years ago
|
KEYWORDS="amd64 ~x86"
|
||
12 years ago
|
IUSE=""
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-libs/libxml2
|
||
|
>=gnome-base/gconf-2.0:2
|
||
|
>=gnome-base/libgnome-2
|
||
|
>=gnome-base/libgnomeui-2
|
||
|
net-misc/curl
|
||
|
>=x11-libs/gtk+-2.10:2
|
||
|
"
|
||
|
|
||
|
DEPEND="${RDEPEND}
|
||
|
>=dev-util/scons-0.93
|
||
|
>=dev-util/intltool-0.22
|
||
|
>=sys-devel/gettext-0.10
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
|
||
|
src_prepare() {
|
||
|
epatch "${FILESDIR}/${PN}-3.6.2-glib-includes.patch"
|
||
11 years ago
|
epatch "${FILESDIR}/${PN}-3.6.2-scons-respectflags.patch"
|
||
12 years ago
|
}
|
||
|
|
||
|
src_compile() {
|
||
11 years ago
|
tc-export CC
|
||
12 years ago
|
scons ${MAKEOPTS} || die "scons make died"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
scons install DESTDIR="${D}" || die "scons install died"
|
||
|
#Ships with an ISO-8859 encoded .desktop file, which causes validation to fail, so ship a UTF-8 version
|
||
|
cp "${FILESDIR}/glosung.desktop" "${D}/usr/share/applications"
|
||
|
}
|