diff options
author | Michael Hanselmann <hansmi@gentoo.org> | 2007-04-28 12:31:03 +0000 |
---|---|---|
committer | Michael Hanselmann <hansmi@gentoo.org> | 2007-04-28 12:31:03 +0000 |
commit | 3ab1fbb5e8c0e7852b4f235a6f399bc5ad40466d (patch) | |
tree | 55919531e8d28963e76f9bcaab70bbacd79875c5 /x11-misc/xcalib | |
parent | Use newinitd (diff) | |
download | gentoo-2-3ab1fbb5e8c0e7852b4f235a6f399bc5ad40466d.tar.gz gentoo-2-3ab1fbb5e8c0e7852b4f235a6f399bc5ad40466d.tar.bz2 gentoo-2-3ab1fbb5e8c0e7852b4f235a6f399bc5ad40466d.zip |
Add patch to respect LDFLAGS from bug #153160, install profiles and README.
(Portage version: 2.1.2.5)
Diffstat (limited to 'x11-misc/xcalib')
-rw-r--r-- | x11-misc/xcalib/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xcalib/files/0.6-Makefile-ldflags.diff | 11 | ||||
-rw-r--r-- | x11-misc/xcalib/files/digest-xcalib-0.6-r1 | 3 | ||||
-rw-r--r-- | x11-misc/xcalib/xcalib-0.6-r1.ebuild | 44 |
4 files changed, 66 insertions, 2 deletions
diff --git a/x11-misc/xcalib/ChangeLog b/x11-misc/xcalib/ChangeLog index 930a1a58cfa0..477086841064 100644 --- a/x11-misc/xcalib/ChangeLog +++ b/x11-misc/xcalib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xcalib -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalib/ChangeLog,v 1.3 2006/12/17 21:07:56 hansmi Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalib/ChangeLog,v 1.4 2007/04/28 12:31:03 hansmi Exp $ + +*xcalib-0.6-r1 (28 Apr 2007) + + 28 Apr 2007; Michael Hanselmann <hansmi@gentoo.org> + +files/0.6-Makefile-ldflags.diff, +xcalib-0.6-r1.ebuild: + Add patch to respect LDFLAGS from bug #153160, install profiles and README. 17 Dec 2006; Michael Hanselmann <hansmi@gentoo.org> xcalib-0.6.ebuild: Stable on ppc. diff --git a/x11-misc/xcalib/files/0.6-Makefile-ldflags.diff b/x11-misc/xcalib/files/0.6-Makefile-ldflags.diff new file mode 100644 index 000000000000..31076e351d63 --- /dev/null +++ b/x11-misc/xcalib/files/0.6-Makefile-ldflags.diff @@ -0,0 +1,11 @@ +--- Makefile.old 2006-10-29 15:32:22.000000000 +0100 ++++ Makefile 2006-10-29 15:36:27.000000000 +0100 +@@ -58,7 +58,7 @@ + # low overhead version (internal parser) + lo_xcalib: xcalib.c + $(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" +- $(CC) $(CFLAGS) -L$(XLIBDIR) -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext ++ $(CC) $(CFLAGS) $(LDFLAGS) -L$(XLIBDIR) -o xcalib xcalib.o -lm -lX11 -lXxf86vm -lXext + + fglrx_xcalib: xcalib.c + $(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" -I$(FGLRXINCLUDEDIR) -DFGLRX diff --git a/x11-misc/xcalib/files/digest-xcalib-0.6-r1 b/x11-misc/xcalib/files/digest-xcalib-0.6-r1 new file mode 100644 index 000000000000..eaa812f2bf41 --- /dev/null +++ b/x11-misc/xcalib/files/digest-xcalib-0.6-r1 @@ -0,0 +1,3 @@ +MD5 076f9c28c2d1766d36c424dd1609cdbf xcalib-source-0.6.tar.gz 150354 +RMD160 58f66a9d44039e6dcab588440611360788e63d08 xcalib-source-0.6.tar.gz 150354 +SHA256 f942a39021d55cde9c25ee0e80e015d1b6ca48e60868382f903085aa2d747c2d xcalib-source-0.6.tar.gz 150354 diff --git a/x11-misc/xcalib/xcalib-0.6-r1.ebuild b/x11-misc/xcalib/xcalib-0.6-r1.ebuild new file mode 100644 index 000000000000..8a4cf3b38eb5 --- /dev/null +++ b/x11-misc/xcalib/xcalib-0.6-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalib/xcalib-0.6-r1.ebuild,v 1.1 2007/04/28 12:31:03 hansmi Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="xcalib is a tiny monitor calibration loader for X.org" +HOMEPAGE="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/" +SRC_URI="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/xcalib-source-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc" +IUSE="" + +DEPEND=" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + x11-proto/xf86vidmodeproto +" +RDEPEND="" + +src_unpack() { + unpack "${A}" + cd "${S}" + + epatch "${FILESDIR}/0.6-Makefile-ldflags.diff" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + || die 'make failed' +} + +src_install() { + dobin xcalib + dodoc README + + docinto profiles + dodoc *.icm *.icc +} |