/[gentoo-x86]/sci-calculators/tiemu/tiemu-3.03.ebuild
Gentoo

Contents of /sci-calculators/tiemu/tiemu-3.03.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Oct 20 06:17:21 2012 UTC (7 years, 4 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Fix typo in src_install wrt #438994 by darkbasic <darkbasic@linuxsystems.it>

(Portage version: 2.2.0_alpha135/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-calculators/tiemu/tiemu-3.03.ebuild,v 1.8 2012/08/04 22:11:04 bicatali Exp $
4
5 EAPI=4
6 inherit eutils
7
8 DESCRIPTION="Texas Instruments hand-helds emulator"
9 HOMEPAGE="http://lpg.ticalc.org/prj_tiemu/"
10 SRC_URI="http://repo.calcforge.org/debian/source/${PN}_${PV}.orig.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
15 IUSE="dbus nls sdl threads xinerama"
16
17 RDEPEND="sci-libs/libticables2
18 sci-libs/libticalcs2
19 sci-libs/libtifiles2
20 sci-libs/libticonv
21 gnome-base/libglade:2.0
22 x11-libs/gtk+:2
23 dbus? ( >=dev-libs/dbus-glib-0.60 )
24 nls? ( virtual/libintl )
25 sdl? ( media-libs/libsdl )
26 xinerama? ( x11-libs/libXinerama )"
27
28 DEPEND="${RDEPEND}
29 virtual/pkgconfig
30 nls? ( sys-devel/gettext )
31 xinerama? ( x11-proto/xineramaproto )"
32
33 src_prepare() {
34 epatch \
35 "${FILESDIR}"/${P}-remove_depreciated_gtk_calls.patch \
36 "${FILESDIR}"/${P}-r2820.patch
37
38 # Don't use GTK_DISABLE_DEPRECATED flags
39 sed 's:-DGTK_DISABLE_DEPRECATED::g' -i configure.ac configure || die
40 }
41
42 src_configure() {
43 econf \
44 --disable-rpath \
45 --disable-debugger \
46 --disable-gdb \
47 $(use_enable nls) \
48 $(use_enable sdl sound) \
49 $(use_enable threads) \
50 $(use_enable threads threading) \
51 $(use_with dbus) \
52 --without-kde \
53 $(use_with xinerama)
54 }
55
56 src_install() {
57 default
58 rm -f "${ED}"usr/share/tiemu/{Manpage.txt,COPYING,RELEASE,AUTHORS,LICENSES}
59 make_desktop_entry tiemu "TiEmu Calculator" \
60 "${EPREFIX}"/usr/share/tiemu/pixmaps/icon.xpm
61 }

  ViewVC Help
Powered by ViewVC 1.1.20