1 |
commit: 56880fb50d33dc2aa7d25bd2bfd2b7c466c253ce |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 4 21:07:09 2019 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 4 21:07:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56880fb5 |
7 |
|
8 |
dev-libs/roct-thunk-interface: Set CPACK_PACKAGING_INSTALL_PREFIX |
9 |
|
10 |
See: https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/40 |
11 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
12 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
13 |
|
14 |
...rface-2.9.0.ebuild => roct-thunk-interface-2.9.0-r1.ebuild} | 10 +++++++--- |
15 |
.../roct-thunk-interface/roct-thunk-interface-2.9.0.ebuild | 10 +++++++--- |
16 |
dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild | 10 +++++++--- |
17 |
3 files changed, 21 insertions(+), 9 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0-r1.ebuild |
20 |
similarity index 85% |
21 |
copy from dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0.ebuild |
22 |
copy to dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0-r1.ebuild |
23 |
index c69a7ea8330..84d01d8e830 100644 |
24 |
--- a/dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0.ebuild |
25 |
+++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0-r1.ebuild |
26 |
@@ -13,9 +13,6 @@ else |
27 |
S="${WORKDIR}/ROCT-Thunk-Interface-roc-${PV}" |
28 |
KEYWORDS="~amd64" |
29 |
fi |
30 |
-PATCHES=( |
31 |
- "${FILESDIR}/${PN}-2.6.0-pc-prefix.patch" |
32 |
-) |
33 |
|
34 |
DESCRIPTION="Radeon Open Compute Thunk Interface" |
35 |
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface" |
36 |
@@ -31,6 +28,13 @@ src_prepare() { |
37 |
sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die |
38 |
cmake-utils_src_prepare |
39 |
} |
40 |
+src_configure() { |
41 |
+ local mycmakeargs=( |
42 |
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" |
43 |
+ -DCPACK_PACKAGING_INSTALL_PREFIX="${EPREFIX}/usr" |
44 |
+ ) |
45 |
+ cmake-utils_src_configure |
46 |
+} |
47 |
src_compile() { |
48 |
cmake-utils_src_compile build-dev |
49 |
} |
50 |
|
51 |
diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0.ebuild |
52 |
index c69a7ea8330..759da3dcd08 100644 |
53 |
--- a/dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0.ebuild |
54 |
+++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-2.9.0.ebuild |
55 |
@@ -13,9 +13,6 @@ else |
56 |
S="${WORKDIR}/ROCT-Thunk-Interface-roc-${PV}" |
57 |
KEYWORDS="~amd64" |
58 |
fi |
59 |
-PATCHES=( |
60 |
- "${FILESDIR}/${PN}-2.6.0-pc-prefix.patch" |
61 |
-) |
62 |
|
63 |
DESCRIPTION="Radeon Open Compute Thunk Interface" |
64 |
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface" |
65 |
@@ -31,6 +28,13 @@ src_prepare() { |
66 |
sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die |
67 |
cmake-utils_src_prepare |
68 |
} |
69 |
+src_configure() { |
70 |
+ local mycmakeargs=( |
71 |
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" |
72 |
+ -DCPACK_PACKAGING_INSTALL_PREFIX="${EPREFIX}/usr/" |
73 |
+ ) |
74 |
+ cmake-utils_src_configure |
75 |
+} |
76 |
src_compile() { |
77 |
cmake-utils_src_compile build-dev |
78 |
} |
79 |
|
80 |
diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild |
81 |
index c69a7ea8330..84d01d8e830 100644 |
82 |
--- a/dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild |
83 |
+++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild |
84 |
@@ -13,9 +13,6 @@ else |
85 |
S="${WORKDIR}/ROCT-Thunk-Interface-roc-${PV}" |
86 |
KEYWORDS="~amd64" |
87 |
fi |
88 |
-PATCHES=( |
89 |
- "${FILESDIR}/${PN}-2.6.0-pc-prefix.patch" |
90 |
-) |
91 |
|
92 |
DESCRIPTION="Radeon Open Compute Thunk Interface" |
93 |
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface" |
94 |
@@ -31,6 +28,13 @@ src_prepare() { |
95 |
sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die |
96 |
cmake-utils_src_prepare |
97 |
} |
98 |
+src_configure() { |
99 |
+ local mycmakeargs=( |
100 |
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" |
101 |
+ -DCPACK_PACKAGING_INSTALL_PREFIX="${EPREFIX}/usr" |
102 |
+ ) |
103 |
+ cmake-utils_src_configure |
104 |
+} |
105 |
src_compile() { |
106 |
cmake-utils_src_compile build-dev |
107 |
} |