diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2007-06-03 07:29:56 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2007-06-03 07:29:56 +0000 |
commit | 256feef14dfeffec211bbd11a258fc9c983703d6 (patch) | |
tree | 54a60ed205ea99077f215dc3de8325db0746a8e9 /x11-misc/read-edid | |
parent | Works on arm too (diff) | |
download | gentoo-2-256feef14dfeffec211bbd11a258fc9c983703d6.tar.gz gentoo-2-256feef14dfeffec211bbd11a258fc9c983703d6.tar.bz2 gentoo-2-256feef14dfeffec211bbd11a258fc9c983703d6.zip |
patch to only compile the x86 bits on x86. tested on ~amd64 and ~ppc.
(Portage version: 2.1.2.9)
Diffstat (limited to 'x11-misc/read-edid')
-rw-r--r-- | x11-misc/read-edid/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/read-edid/files/digest-read-edid-1.4.1-r1 | 3 | ||||
-rw-r--r-- | x11-misc/read-edid/files/read-edid-arch.patch | 43 | ||||
-rw-r--r-- | x11-misc/read-edid/read-edid-1.4.1-r1.ebuild | 27 |
4 files changed, 80 insertions, 1 deletions
diff --git a/x11-misc/read-edid/ChangeLog b/x11-misc/read-edid/ChangeLog index 43460ce6fe09..a3a072e4fa47 100644 --- a/x11-misc/read-edid/ChangeLog +++ b/x11-misc/read-edid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/read-edid # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/read-edid/ChangeLog,v 1.6 2007/02/06 01:31:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/read-edid/ChangeLog,v 1.7 2007/06/03 07:29:56 cardoe Exp $ + +*read-edid-1.4.1-r1 (03 Jun 2007) + + 03 Jun 2007; Doug Goldstein <cardoe@gentoo.org> + +files/read-edid-arch.patch, +read-edid-1.4.1-r1.ebuild: + patch to only compile the x86 bits on x86. tested on ~amd64 and ~ppc. 06 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/x11-misc/read-edid/files/digest-read-edid-1.4.1-r1 b/x11-misc/read-edid/files/digest-read-edid-1.4.1-r1 new file mode 100644 index 000000000000..3d7fc5d0c467 --- /dev/null +++ b/x11-misc/read-edid/files/digest-read-edid-1.4.1-r1 @@ -0,0 +1,3 @@ +MD5 9faaa21c991bb48a5ba989a1413aa326 read-edid-1.4.1.tar.gz 63883 +RMD160 895a6fb216738676f1ebdf57289bc935ade596a6 read-edid-1.4.1.tar.gz 63883 +SHA256 2e39ea63f0be6fd74f43d2f5e62dd987c8ce57e02e848813d454f00beb5c5441 read-edid-1.4.1.tar.gz 63883 diff --git a/x11-misc/read-edid/files/read-edid-arch.patch b/x11-misc/read-edid/files/read-edid-arch.patch new file mode 100644 index 000000000000..71b34cddf069 --- /dev/null +++ b/x11-misc/read-edid/files/read-edid-arch.patch @@ -0,0 +1,43 @@ +diff -Nur read-edid-1.4.1/Makefile.am read-edid-1.4.1-fixes/Makefile.am +--- read-edid-1.4.1/Makefile.am 2001-06-03 17:57:51.000000000 -0400 ++++ read-edid-1.4.1-fixes/Makefile.am 2007-06-03 02:43:40.000000000 -0400 +@@ -1,4 +1,8 @@ ++if X86 + sbin_PROGRAMS = get-edid parse-edid ++else ++sbin_PROGRAMS = parse-edid ++endif + + get_edid_SOURCES = get-edid.c lrmi.c + parse_edid_SOURCES = parse-edid.c +@@ -6,6 +10,7 @@ + + EXTRA_DIST = bootstrap LRMI + ++if X86 + read-edid: all + ./get-edid | ./parse-edid + +@@ -14,6 +19,7 @@ + ./parse-edid EDID + + .PHONY: read-edid EDID ++endif + + maintainer-clean-local: + $(RM) Makefile.in aclocal.m4 config.h.in stamp-h.in configure +diff -Nur read-edid-1.4.1/configure.in read-edid-1.4.1-fixes/configure.in +--- read-edid-1.4.1/configure.in 2002-05-25 12:28:25.000000000 -0400 ++++ read-edid-1.4.1-fixes/configure.in 2007-06-03 02:55:25.000000000 -0400 +@@ -8,6 +8,9 @@ + + AC_PROG_CC + ++echo - | $CC -E -dM - | grep '__i386__' > /dev/null ++AM_CONDITIONAL(X86, test $? -eq 0 ) ++ + dnl Simple, huh? + +-AC_OUTPUT([Makefile]) +\ No newline at end of file ++AC_OUTPUT([Makefile]) diff --git a/x11-misc/read-edid/read-edid-1.4.1-r1.ebuild b/x11-misc/read-edid/read-edid-1.4.1-r1.ebuild new file mode 100644 index 000000000000..3165e17a960b --- /dev/null +++ b/x11-misc/read-edid/read-edid-1.4.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/read-edid/read-edid-1.4.1-r1.ebuild,v 1.1 2007/06/03 07:29:56 cardoe Exp $ + +inherit eutils autotools + +DESCRIPTION="program that can get information from a pnp monitor." +HOMEPAGE="http://john.fremlin.de/programs/linux/read-edid/index.html" +SRC_URI="http://john.fremlin.de/programs/linux/read-edid/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}"/${PN}-arch.patch + eautoreconf +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog LRMI NEWS README +} |