/[gentoo-x86]/sys-apps/lcdtest/lcdtest-1.18.ebuild
Gentoo

Contents of /sys-apps/lcdtest/lcdtest-1.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 1 19:54:44 2014 UTC (4 months, 2 weeks ago) by maksbotan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +18 -6 lines
Drop usage of base.eclass (bug #508168), update icon cache (bug #508166), fix media-libs/libsdl dependency (bug #508170). Thanks to Nikoli.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdtest/lcdtest-1.18.ebuild,v 1.2 2013/08/24 15:40:39 maekke Exp $
4
5 EAPI=5
6
7 inherit scons-utils eutils toolchain-funcs gnome2-utils
8
9 DESCRIPTION="Displays test patterns to spot dead/hot pixels on LCD screens"
10 HOMEPAGE="http://www.brouhaha.com/~eric/software/lcdtest/"
11 SRC_URI="http://www.brouhaha.com/~eric/software/lcdtest/download/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 DEPEND="
19 >=media-libs/libsdl-1.2.7-r2[X,video]
20 >=media-libs/sdl-image-1.2.3-r1
21 >=media-libs/sdl-ttf-2.0.9
22 "
23 RDEPEND="${DEPEND}
24 media-fonts/liberation-fonts
25 "
26
27 src_prepare() {
28 epatch "${FILESDIR}/${PV}-build-system.patch"
29 epatch_user
30 sed -i -e \
31 "s|/usr/share/fonts/liberation/|/usr/share/fonts/liberation-fonts/|" \
32 src/lcdtest.c || die
33 }
34
35 src_configure() {
36 tc-export CC
37 myesconsargs=(
38 --prefix="${EPREFIX}/usr"
39 )
40 }
41
42 src_compile() {
43 escons
44 }
45
46 src_install() {
47 escons --buildroot="${D}" install
48 dodoc README
49 }
50
51 pkg_preinst() {
52 gnome2_icon_savelist
53 }
54
55 pkg_postinst() {
56 gnome2_icon_cache_update
57 }
58
59 pkg_postrm() {
60 gnome2_icon_cache_update
61 }

  ViewVC Help
Powered by ViewVC 1.1.20