x11-libs/libdrm: allow amdgpu to be configured individually
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Wed, 2 Sep 2015 00:54:52 +0000 (02:54 +0200)
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Wed, 2 Sep 2015 00:54:52 +0000 (02:54 +0200)
Package-Manager: portage-2.2.20.1

x11-libs/libdrm/libdrm-2.4.64.ebuild
x11-libs/libdrm/libdrm-9999.ebuild

index 85915f9e5f40bd440c5c18cb42710bd39153fe03..8ec9f11f5ef89dbbca658173424d794cb924e587 100644 (file)
@@ -16,7 +16,7 @@ else
 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"
+VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vmware"
 for card in ${VIDEO_CARDS}; do
        IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -43,13 +43,13 @@ src_configure() {
                # Udev is only used by tests now.
                --disable-udev
                --disable-cairo-tests
+               $(use_enable video_cards_amdgpu amdgpu)
                $(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_radeon amdgpu)
                $(use_enable video_cards_tegra tegra-experimental-api)
                $(use_enable video_cards_vmware vmwgfx)
                $(use_enable libkms)
index ce2fa6d0c5bc818b0ae383beb8a67e00b6407acc..a4d630bb0b587066ad8096af4c4fa52c11308082 100644 (file)
@@ -17,7 +17,7 @@ else
        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"
 fi
 
-VIDEO_CARDS="exynos freedreno intel nouveau omap radeon tegra vmware"
+VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vmware"
 for card in ${VIDEO_CARDS}; do
        IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -44,13 +44,13 @@ src_configure() {
                # Udev is only used by tests now.
                --disable-udev
                --disable-cairo-tests
+               $(use_enable video_cards_amdgpu amdgpu)
                $(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_radeon amdgpu)
                $(use_enable video_cards_tegra tegra-experimental-api)
                $(use_enable video_cards_vmware vmwgfx)
                $(use_enable libkms)