diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2015-03-24 18:32:39 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2015-03-24 18:32:39 +0000 |
commit | e827d213ada0396c35d5957762790451a9a05b6b (patch) | |
tree | a3f953a3b6abbc14e037a7544be15e65db74513e | |
parent | Version bump; Adjusted for new HOMEPAGE and SRC_URI (diff) | |
download | gentoo-2-e827d213ada0396c35d5957762790451a9a05b6b.tar.gz gentoo-2-e827d213ada0396c35d5957762790451a9a05b6b.tar.bz2 gentoo-2-e827d213ada0396c35d5957762790451a9a05b6b.zip |
Version bump. Drop solaris patch and solaris prefix keywords, bug #539822.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!)
-rw-r--r-- | x11-libs/libdrm/ChangeLog | 8 | ||||
-rw-r--r-- | x11-libs/libdrm/libdrm-2.4.60.ebuild | 62 |
2 files changed, 69 insertions, 1 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog index 4edc1a9e7421..783cd6a23078 100644 --- a/x11-libs/libdrm/ChangeLog +++ b/x11-libs/libdrm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/libdrm # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.286 2015/03/20 08:12:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.287 2015/03/24 18:32:39 chithanh Exp $ + +*libdrm-2.4.60 (24 Mar 2015) + + 24 Mar 2015; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +libdrm-2.4.60.ebuild: + Version bump. Drop solaris patch and solaris prefix keywords, bug #539822. *libdrm-2.4.59-r1 (20 Mar 2015) diff --git a/x11-libs/libdrm/libdrm-2.4.60.ebuild b/x11-libs/libdrm/libdrm-2.4.60.ebuild new file mode 100644 index 000000000000..02196a3ec90e --- /dev/null +++ b/x11-libs/libdrm/libdrm-2.4.60.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.60.ebuild,v 1.1 2015/03/24 18:32:39 chithanh Exp $ + +EAPI=5 + +XORG_MULTILIB=yes +inherit xorg-2 + +DESCRIPTION="X.Org libdrm library" +HOMEPAGE="http://dri.freedesktop.org/" +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm" +else + SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2" +fi + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux" +VIDEO_CARDS="exynos freedreno intel nouveau omap radeon tegra vmware" +for card in ${VIDEO_CARDS}; do + IUSE_VIDEO_CARDS+=" video_cards_${card}" +done + +IUSE="${IUSE_VIDEO_CARDS} libkms valgrind" +RESTRICT="test" # see bug #236845 + +RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1:=[${MULTILIB_USEDEP}] + video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] ) + abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + valgrind? ( dev-util/valgrind )" + +src_prepare() { + if [[ ${PV} = 9999* ]]; then + # tests are restricted, no point in building them + sed -ie 's/tests //' "${S}"/Makefile.am + fi + xorg-2_src_prepare + + # There is no configure flag for this. + sed -i -r \ + -e "/have_valgrind=/s:=(yes|no):=$(usex valgrind):" \ + configure || die +} + +src_configure() { + XORG_CONFIGURE_OPTIONS=( + # Udev is only used by tests now. + --disable-udev + --disable-cairo-tests + $(use_enable video_cards_exynos exynos-experimental-api) + $(use_enable video_cards_freedreno freedreno) + $(use_enable video_cards_intel intel) + $(use_enable video_cards_nouveau nouveau) + $(use_enable video_cards_omap omap-experimental-api) + $(use_enable video_cards_radeon radeon) + $(use_enable video_cards_tegra tegra-experimental-api) + $(use_enable video_cards_vmware vmwgfx) + $(use_enable libkms) + ) + xorg-2_src_configure +} |