diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2018-04-12 23:31:11 -0700 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2018-04-12 23:31:11 -0700 |
commit | 1491768ea347e52b45ec6b96086e7ad6a2753e7e (patch) | |
tree | 870aac59295e6ead4bf965daae5a3b35ccfd9cfc | |
parent | x11-base/xorg-drivers: clean up cruft input drivers and dates (diff) | |
download | arm-1491768ea347e52b45ec6b96086e7ad6a2753e7e.tar.gz arm-1491768ea347e52b45ec6b96086e7ad6a2753e7e.tar.bz2 arm-1491768ea347e52b45ec6b96086e7ad6a2753e7e.zip |
x11-drivers/xf86-video-armada: add keyworded ebuild based on tested src
Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
-rw-r--r-- | x11-drivers/xf86-video-armada/Manifest | 1 | ||||
-rw-r--r-- | x11-drivers/xf86-video-armada/xf86-video-armada-0.0.2.ebuild | 39 | ||||
-rw-r--r-- | x11-drivers/xf86-video-armada/xf86-video-armada-9999.ebuild | 14 |
3 files changed, 46 insertions, 8 deletions
diff --git a/x11-drivers/xf86-video-armada/Manifest b/x11-drivers/xf86-video-armada/Manifest new file mode 100644 index 0000000..82aae9e --- /dev/null +++ b/x11-drivers/xf86-video-armada/Manifest @@ -0,0 +1 @@ +DIST xf86-video-armada-0.0.2.tar.gz 4384949 BLAKE2B 7242e88cc62d92006f7c0a6f47e1d7d8bf61b1d2b7c1d22e33466a1d5b9bb15665cd53329881566398dd0e7645bb8110aed2e44f670e3d0ccbafd8e25ce5d530 SHA512 d4ed7c12f6fd0c1193ca675bb0c155d9ae48a2ebc5352d03c244370e0bcfe45801c5620f49facba6f716abf76cf958965cf01a43c45d3eba47732f59796128b6 diff --git a/x11-drivers/xf86-video-armada/xf86-video-armada-0.0.2.ebuild b/x11-drivers/xf86-video-armada/xf86-video-armada-0.0.2.ebuild new file mode 100644 index 0000000..1861929 --- /dev/null +++ b/x11-drivers/xf86-video-armada/xf86-video-armada-0.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +AUTOTOOLS_AUTORECONF="1" +XORG_BASE_INDIVIDUAL_URI="" +XORG_DRI="always" + +inherit autotools-utils xorg-2 + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://github.com/VCTLabs/xf86-video-armada" + EGIT_BRANCH="devel" + KEYWORDS="" + inherit git-r3 +else + SRC_URI="mirror://gentoo/${P}.tar.gz" + KEYWORDS="~arm" +fi + +DESCRIPTION="Xorg graphics driver for KMS based systems with pluggable GPU backend" + +RDEPEND=">=x11-base/xorg-server-1.18" + +DEPEND="${RDEPEND} + x11-libs/libetnaviv + x11-libs/libdrm-armada +" + +pkg_setup() { + xorg-2_pkg_setup + + # note: vivante requires libGAL + XORG_CONFIGURE_OPTIONS=( + --disable-vivante + --enable-etnaviv + ) +} diff --git a/x11-drivers/xf86-video-armada/xf86-video-armada-9999.ebuild b/x11-drivers/xf86-video-armada/xf86-video-armada-9999.ebuild index f3cee1d..e2d8f1c 100644 --- a/x11-drivers/xf86-video-armada/xf86-video-armada-9999.ebuild +++ b/x11-drivers/xf86-video-armada/xf86-video-armada-9999.ebuild @@ -5,20 +5,18 @@ EAPI="5" XORG_BASE_INDIVIDUAL_URI="" -#EGIT_REPO_URI="http://git.arm.linux.org.uk/cgit/xf86-video-armada.git" -EGIT_REPO_URI="https://github.com/VCTLabs/xf86-video-armada" XORG_DRI="always" inherit xorg-2 git-r3 if [[ ${PV} = 9999 ]]; then - #EGIT_BRANCH="unstable-devel" - EGIT_BRANCH="devel" - KEYWORDS="~arm" + EGIT_REPO_URI="http://git.arm.linux.org.uk/cgit/xf86-video-armada.git" + EGIT_BRANCH="unstable-devel" + KEYWORDS="" + DEPEND_COMMON="x11-libs/libetnaviv" else - EGIT_COMMIT="87e9fa065c8aa82715a2941ebb8d3af73b145263" + SRC_URI="https://github.com/VCTLabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~arm" - DEPEND_COMMON="x11-libs/libetnaviv" fi DESCRIPTION="Xorg graphics driver for KMS based systems with pluggable GPU backend" @@ -40,6 +38,6 @@ pkg_setup() { XORG_CONFIGURE_OPTIONS=( --disable-vivante $(use_enable etnaviv) - --with-etnaviv-source="${S}"/etna_viv +# --with-etnaviv-source="${S}"/etna_viv ) } |