megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
comparison media-libs/blackmagic-desktop-video-sdk/blackmagic-desktop-video-sdk-10.7.ebuild @ 174:f80f46f8cb55
adding media-libs/blackmagic-desktop-video-sdk
author | Daniel Neugebauer <dneuge@energiequant.de> |
---|---|
date | Sun, 24 Jul 2016 18:26:44 +0200 |
parents | media-libs/blackmagic-desktop-video/blackmagic-desktop-video-10.7.ebuild@a7e9f1aabd14 |
children |
comparison
equal
deleted
inserted
replaced
173:a7e9f1aabd14 | 174:f80f46f8cb55 |
---|---|
1 # Copyright 1999-2016 Gentoo Foundation | |
2 # Distributed under the terms of the GNU General Public License v2 | |
3 | |
4 EAPI=5 | |
5 | |
6 DESCRIPTION="Desktop Video SDK - headers, examples and documentation necessary to develop/compile custom applications for products by Blackmagic Design (also known as DeckLink SDK)" | |
7 HOMEPAGE="http://www.blackmagicdesign.com/" | |
8 HOMEPAGE_DOWNLOAD_NAME="Desktop Video ${PV} SDK" | |
9 | |
10 SRC_URI="Blackmagic_DeckLink_SDK_${PV}.zip" | |
11 UNPACKED_DIR="Blackmagic DeckLink SDK ${PV}" | |
12 | |
13 LICENSE="BlackmagicDesktopVideoSDK" | |
14 SLOT="0" | |
15 KEYWORDS="~amd64" | |
16 IUSE="doc examples" | |
17 RESTRICT="fetch" | |
18 | |
19 pkg_nofetch() { | |
20 einfo "Please visit ${HOMEPAGE} and download \"${HOMEPAGE_DOWNLOAD_NAME}\"" | |
21 einfo "for your product from the support section and move it to ${DISTDIR}" | |
22 einfo "" | |
23 einfo " expected filename: ${SRC_URI}" | |
24 #einfo "" | |
25 #einfo "If your browser downloads a .tar.gz file you will need to gunzip it." | |
26 } | |
27 | |
28 src_unpack() { | |
29 unpack ${A} | |
30 | |
31 # symlink to what is supposed to have been prepared | |
32 ln -s "${UNPACKED_DIR}" "${P}" | |
33 } | |
34 | |
35 src_install() { | |
36 # do not compress documentation (only RTF) or samples (makes no sense) | |
37 docompress -x /usr/share/doc | |
38 | |
39 use doc && dodoc -r *.pdf *.rtf | |
40 use examples && dodoc -r Examples Linux/Samples | |
41 | |
42 insinto "/usr/include/blackmagic" | |
43 doins -r Linux/include/* | |
44 } |