diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-09-05 01:11:17 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-09-05 01:12:26 +0200 |
commit | 7bd0a8e8d63d1a69fb0116c8b3cc3f3e88e77a0b (patch) | |
tree | 74b75fea4b6a08d436f476ad6e7b16d126992b21 /x11-libs/amd-adl-sdk | |
parent | dev-libs/nspr: remove unused patches (diff) | |
download | gentoo-7bd0a8e8d63d1a69fb0116c8b3cc3f3e88e77a0b.tar.gz gentoo-7bd0a8e8d63d1a69fb0116c8b3cc3f3e88e77a0b.tar.bz2 gentoo-7bd0a8e8d63d1a69fb0116c8b3cc3f3e88e77a0b.zip |
x11-libs/amd-adl-sdk: Version bump to 10.1
Package-Manager: portage-2.3.0
Diffstat (limited to 'x11-libs/amd-adl-sdk')
-rw-r--r-- | x11-libs/amd-adl-sdk/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/amd-adl-sdk/amd-adl-sdk-10.1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/x11-libs/amd-adl-sdk/Manifest b/x11-libs/amd-adl-sdk/Manifest index c34566bdcc12..f9b5a9622a1c 100644 --- a/x11-libs/amd-adl-sdk/Manifest +++ b/x11-libs/amd-adl-sdk/Manifest @@ -1,3 +1,4 @@ +DIST ADL_SDK-V10.1.zip 2857764 SHA256 d20a66f520fef000c2b5fc81951d5d1ee910ce665f720e8a9485a9f1ffd119e8 SHA512 c33d39564e7d9da713042286920542d98fc7e96eaf76120ec177f9facd31e92f37f5f6a02234f601e7c268d3c69c565eaf5ab3dfcb388e7b016214805cc3c3a9 WHIRLPOOL f8f9ec273c3c61a80188fe3944209c4f452c7b4c48819e5389474df8d538024a6639c42f594d0c07d2fc6279cea1f2637abc649023f60af2c94a54b139cc2e68 DIST ADL_SDK8.zip 2466339 SHA256 a3db98b44099d0747e45b64a250b818eb6a46ee7ddf0addc9335b2826809db83 SHA512 f3d2ca4d1825a67e2ccc296fcc79bb85012e532eec392f9bce07c73250c79e0a09debdc1a0278719a37285e26c99b622eb02c51c5735e335fb89aae82404544d WHIRLPOOL f6762d8be4c2899a34f766af4f09444ade84414d4c278a7f1ddfe250c0b3f73609099ba366304320964da93d2d49c6f09a0cf0bb9a2314eea186fc11f9602bf1 DIST ADL_SDK_6.0.zip 2324420 SHA256 429f4fd1edebb030d6366f4e0a877cf105e4383f7dd2ccf54e5aef8f2e4242c9 SHA512 4af430f0a0eac347b0e3df39999abbf7a4281a1b01398845fd8e826b69c28b67fc062092eac0ef207ace943006ed4ccd8c6017049c2dfd3945914ea6153026f3 WHIRLPOOL acbdee1acba6520d467b4e7b0525c18dc9c1866611ac5fc52bec86c1ad1bf5b16570b032386bc8c2e83cb3926ff8bad25663f4c718d00af9fd55e9648de05c53 DIST ADL_SDK_7.0.zip 1863572 SHA256 15ef583240167cfb01e5f8188d3fbc2885043ae28a9dd25231bcd879dc989275 SHA512 b3d42a95e034e0d94895cd0470780c38b42f268c14fdea3c4ff4c9ddbdef04db11ebe005f519ec16fb6997c98d7bcdbc2de9baedee726777af80067aed0f304b WHIRLPOOL 361735c0d6f91d869b7eb1b0a56f09754d054a95dd41e2f738f8e38cc676d42918da9110bb4684329ba42d9bf94161e6e6e93c8d52675a0f54364734b992858c diff --git a/x11-libs/amd-adl-sdk/amd-adl-sdk-10.1.ebuild b/x11-libs/amd-adl-sdk/amd-adl-sdk-10.1.ebuild new file mode 100644 index 000000000000..43ef96fe4e65 --- /dev/null +++ b/x11-libs/amd-adl-sdk/amd-adl-sdk-10.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="API to access display driver functionality for ATI graphics cards" +HOMEPAGE="http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/" +SRC_URI="ADL_SDK-V${PV}.zip" + +LICENSE="AMD-ADL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND="x11-drivers/ati-drivers" +DEPEND="app-arch/unzip" + +RESTRICT="fetch" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please visit the download page [1], download ${A} and save it in ${DISTDIR}" + einfo "[1] http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/" +} + +src_prepare() { + sed -i -e '/include/a \#include <wchar.h> \ +#include <stdbool.h>' include/adl_structures.h || die +} + +src_compile() { + pushd adlutil + $(tc-getCC) main.c ${CFLAGS} -I ../include/ -DLINUX ${LDFLAGS} -o adlutil -ldl || die + popd +} + +src_install() { + use doc && dodoc -r "Public-Documents"/* "adlutil/ADLUTIL User Guide.doc" + use examples && dodoc -r "Sample" "Sample-Managed" + + dobin adlutil/adlutil + insinto "/usr/include/ADL" + doins include/* +} |