diff options
author | 2011-02-21 22:17:16 +0300 | |
---|---|---|
committer | 2011-02-21 22:17:16 +0300 | |
commit | 80bfdf3d7828e683ba7cd0f2a0d547dd74c068e4 (patch) | |
tree | 92da1e24c6563a2c2aec0dd6ff95646874e044a4 /sys-apps | |
parent | virtual/jpeg: DirectFB is fixed in the portage (diff) | |
download | bircoph-80bfdf3d7828e683ba7cd0f2a0d547dd74c068e4.tar.gz bircoph-80bfdf3d7828e683ba7cd0f2a0d547dd74c068e4.tar.bz2 bircoph-80bfdf3d7828e683ba7cd0f2a0d547dd74c068e4.zip |
lcdtest: renaissance
This useful package was purged from the main tree by evil
developers, so it will live here from now on.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/lcdtest/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/lcdtest/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/lcdtest/files/lcdtest-1.18-SConscript.patch | 36 | ||||
-rw-r--r-- | sys-apps/lcdtest/lcdtest-1.18.ebuild | 36 | ||||
-rw-r--r-- | sys-apps/lcdtest/metadata.xml | 9 |
5 files changed, 96 insertions, 0 deletions
diff --git a/sys-apps/lcdtest/ChangeLog b/sys-apps/lcdtest/ChangeLog new file mode 100644 index 0000000..6cad020 --- /dev/null +++ b/sys-apps/lcdtest/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/strerror +# Copyright 2000-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*strerror-0.2.ebuild (21 Jan 2011) + + 21 Jan 2011; Andrew Savchenko <bircoph@gmail.com> + +lcdtest-1.18.ebuild, +lcdtest-1.18-SConscript.patch: + Initial ebuild for this overlay. + Based on ebuild and patch from bug 328137. diff --git a/sys-apps/lcdtest/Manifest b/sys-apps/lcdtest/Manifest new file mode 100644 index 0000000..c2265ad --- /dev/null +++ b/sys-apps/lcdtest/Manifest @@ -0,0 +1,5 @@ +AUX lcdtest-1.18-SConscript.patch 1117 RMD160 78704f3dbb8639d64e7859531b8d79d818b5af17 SHA1 1da5ee79eb54919f10a69561944d31703cbeffd0 SHA256 b505604009340f00db9f984cfe5b3e967b3d703372f3020a33cbeec2d0f8c87c +DIST lcdtest-1.18.tar.gz 26886 RMD160 6514247affd3f44df477e0d069ae5274635800f2 SHA1 e59e7a9dae96f55bedb7089676c6bbf2229ab088 SHA256 f0b3fa9c5a4bc86eb2713f85f422d328a673ca8f541a6403bfe156afd631200e +EBUILD lcdtest-1.18.ebuild 927 RMD160 5097687c66826a0188ec305607a7954e39979624 SHA1 10b5a8916e57a9a6ba97999c1c84eac886965e9d SHA256 1c84e1885de0fea4e0672efc1c0b3a3dc239e719d77b81da13a80a0c59d472d9 +MISC ChangeLog 342 RMD160 bac5004b0587523693264516621f0db084ec3c0f SHA1 ba45071d3f76bdfca21baf9823d563d9a7d91671 SHA256 cf0a62032022240a2b580b860a4bc81076ea925639be84775046d276067ce506 +MISC metadata.xml 254 RMD160 9d7fc571dc2e5b4301442a5f90cf2a217d759dd1 SHA1 b4e460e3aa39d587106b9e65fd10087ab0db4d69 SHA256 ea790720bca816b57709afaa945b0118eacc9c19954f0ba340f7e82f8faf4b99 diff --git a/sys-apps/lcdtest/files/lcdtest-1.18-SConscript.patch b/sys-apps/lcdtest/files/lcdtest-1.18-SConscript.patch new file mode 100644 index 0000000..00c2128 --- /dev/null +++ b/sys-apps/lcdtest/files/lcdtest-1.18-SConscript.patch @@ -0,0 +1,36 @@ +--- lcdtest-1.18/src/SConscript.old 2010-08-31 14:00:12.000000000 +0100 ++++ lcdtest-1.18/src/SConscript 2010-08-31 14:01:43.000000000 +0100 +@@ -17,6 +17,7 @@ + # along with this program. If not, see see <http://www.gnu.org/licenses/>. + + import os ++import SCons.Util + + Import('env') + +@@ -29,13 +30,18 @@ + + objs = [env.Object(src) for src in srcs] + +-# respect the environment CFLAGS if given +-if 'CFLAGS' in ARGUMENTS: +- env.MergeFlags (ARGUMENTS ['CFLAGS']) +-elif 'CFLAGS' in os.environ: +- env.MergeFlags (os.environ ['CFLAGS']) +-else: +- env.Append (CCFLAGS = ['-g', '-Wall', '-Wextra']) ++# respect the environments flags if given ++ ++if os.environ.has_key('CC'): ++ env['CC'] = os.environ['CC'] ++if os.environ.has_key('CFLAGS'): ++ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) ++if os.environ.has_key('CXX'): ++ env['CXX'] = os.environ['CXX'] ++if os.environ.has_key('CXXFLAGS'): ++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) ++if os.environ.has_key('LDFLAGS'): ++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) + + env.Append (LIBS = ['SDL', 'SDL_image', 'SDL_ttf']); + diff --git a/sys-apps/lcdtest/lcdtest-1.18.ebuild b/sys-apps/lcdtest/lcdtest-1.18.ebuild new file mode 100644 index 0000000..8ea9a83 --- /dev/null +++ b/sys-apps/lcdtest/lcdtest-1.18.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +inherit eutils toolchain-funcs scons-utils + +DESCRIPTION="Displays test patterns to spot dead/hot pixels on LCD screens" +HOMEPAGE="http://www.brouhaha.com/~eric/software/lcdtest/" +SRC_URI="http://www.brouhaha.com/~eric/software/lcdtest/download/${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2.7-r2 + >=media-libs/sdl-image-1.2.3-r1 + >=media-libs/sdl-ttf-2.0.9" +RDEPEND="${DEPEND} + media-fonts/liberation-fonts" + +src_prepare() { + epatch "${FILESDIR}/${P}-SConscript.patch" + sed -i -e \ + "s|/usr/share/fonts/liberation/|/usr/share/fonts/liberation-fonts/|" \ + src/lcdtest.c || die +} + +src_compile() { + CC=$(tc-getCC) escons --prefix=/usr || die +} + +src_install() { + escons install --prefix=/usr --buildroot="${D}" || die + dodoc README +} diff --git a/sys-apps/lcdtest/metadata.xml b/sys-apps/lcdtest/metadata.xml new file mode 100644 index 0000000..67e618c --- /dev/null +++ b/sys-apps/lcdtest/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>bircoph@gmail.com</email> + <name>Andrew Savchenko</name> +</maintainer> +</pkgmetadata> |