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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Nov 9 11:12:26 2009 UTC (10 years, 3 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove USE kde wrt #257590, thanks to Jakob Dettner for reporting.
(Portage version: 2.2_rc48/cvs/Linux x86_64)

1 bicatali 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-calculators/tiemu/tiemu-3.02.ebuild,v 1.1 2009/02/03 15:49:54 bicatali Exp $
4 bicatali 1.1
5     EAPI=2
6     inherit eutils kde-functions
7    
8     DESCRIPTION="Texas Instruments hand-helds emulator"
9     HOMEPAGE="http://lpg.ticalc.org/prj_tiemu/"
10     SRC_URI="mirror://sourceforge/gtktiemu/${P}.tar.bz2"
11     LICENSE="GPL-2"
12    
13     SLOT="0"
14     KEYWORDS="~amd64 ~x86"
15     IUSE="dbus kde 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.4.0
22     >=x11-libs/gtk+-2.6.0
23     dbus? ( >=dev-libs/dbus-glib-0.60 )
24     kde? ( kde-base/kdelibs:3.5 )
25     nls? ( virtual/libintl )
26     sdl? ( media-libs/libsdl )
27     xinerama? ( x11-libs/libXinerama )"
28    
29     DEPEND="${RDEPEND}
30     dev-util/pkgconfig
31     nls? ( sys-devel/gettext )
32     xinerama? ( x11-proto/xineramaproto )"
33    
34     src_prepare() {
35     epatch "${FILESDIR}"/${P}-gcc43.patch
36     }
37    
38     src_configure() {
39     use kde && set-kdedir 3
40     econf \
41     --disable-rpath \
42     --disable-debugger \
43     --disable-gdb \
44     $(use_enable nls) \
45     $(use_enable sdl sound) \
46     $(use_enable threads) \
47     $(use_enable threads threading) \
48     $(use_with dbus) \
49     $(use_with kde) \
50     $(use_with xinerama)
51     }
52    
53     src_install() {
54     emake DESTDIR="${D}" install || die "emake install failed"
55     rm -f "${D}"usr/share/tiemu/{Manpage.txt,COPYING,RELEASE,AUTHORS,LICENSES}
56     dodoc AUTHORS NEWS README README.linux RELEASE THANKS TODO *.txt
57     make_desktop_entry tiemu "TiEmu Calculator" \
58     /usr/share/tiemu/pixmaps/icon.xpm
59     }

  ViewVC Help
Powered by ViewVC 1.1.20