From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-apps/mesa-progs/
Date: Sun, 18 Sep 2011 07:50:25 +0000 (UTC) [thread overview]
Message-ID: <0f1a15ea72103b2f33f91040cd00f852c41ab395.mgorny@gentoo> (raw)
commit: 0f1a15ea72103b2f33f91040cd00f852c41ab395
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 18 07:51:55 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 18 07:52:21 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=0f1a15ea
x11-apps/mesa-progs: Bump to git-2, use pkg-config.
(Portage version: 2.2.0_alpha55_p39/git/Linux x86_64, signed Manifest commit with key 42B9401D)
---
x11-apps/mesa-progs/mesa-progs-9999.ebuild | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/x11-apps/mesa-progs/mesa-progs-9999.ebuild b/x11-apps/mesa-progs/mesa-progs-9999.ebuild
index 993b32b..551e45d 100644
--- a/x11-apps/mesa-progs/mesa-progs-9999.ebuild
+++ b/x11-apps/mesa-progs/mesa-progs-9999.ebuild
@@ -6,8 +6,9 @@ EAPI=4
MY_PN=${PN/progs/demos}
MY_P=${MY_PN}-${PV}
-EGIT_REPO_URI="git://anongit.freedesktop.org/${MY_PN/-//}"
-[[ ${PV} = 9999* ]] && GIT_ECLASS="git"
+EGIT_REPO_URI="git://anongit.freedesktop.org/${MY_PN/-//}
+ http://anongit.freedesktop.org/${MY_PN/-//}"
+[[ ${PV} = 9999* ]] && GIT_ECLASS="git-2"
inherit toolchain-funcs ${GIT_ECLASS}
DESCRIPTION="Mesa's OpenGL utility and demo programs (glxgears and glxinfo)"
@@ -20,7 +21,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-
IUSE=""
RDEPEND="virtual/opengl"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
S=${WORKDIR}/${MY_P}
@@ -31,8 +33,11 @@ src_configure() {
}
src_compile() {
+ local pkgs='gl x11'
tc-export CC
- emake CPPFLAGS='-Isrc/util' LDLIBS='-lX11 -lGL -lm' src/xdemos/{glxgears,glxinfo}
+ emake \
+ CPPFLAGS="$(pkg-config --cflags ${pkgs}) -Isrc/util" \
+ LDLIBS="$(pkg-config --libs ${pkgs}) -lm" src/xdemos/{glxgears,glxinfo}
}
src_install() {
next reply other threads:[~2011-09-18 7:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-18 7:50 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-06-01 4:38 [gentoo-commits] proj/x11:master commit in: x11-apps/mesa-progs/ Chi-Thanh Christopher Nguyen
2013-03-28 22:10 Chi-Thanh Christopher Nguyen
2012-09-17 18:10 Matt Turner
2012-09-17 18:08 Matt Turner
2012-08-29 6:10 Matt Turner
2012-08-29 5:54 Matt Turner
2012-08-29 5:38 Matt Turner
2011-05-16 6:36 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0f1a15ea72103b2f33f91040cd00f852c41ab395.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox