summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 15:47:39 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 17:04:59 -0700
commit8f2ef1e9f80585a429bd971580ebc0f370411b7b (patch)
tree104cb74689e18ace78d261f28c46f79ed97cdedb /app-cdr
parentapp-arch/snappy: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-8f2ef1e9f80585a429bd971580ebc0f370411b7b.tar.gz
gentoo-8f2ef1e9f80585a429bd971580ebc0f370411b7b.tar.bz2
gentoo-8f2ef1e9f80585a429bd971580ebc0f370411b7b.zip
app-cdr/cdemu: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cdemu/cdemu-3.1.0.ebuild6
-rw-r--r--app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch4
2 files changed, 6 insertions, 4 deletions
diff --git a/app-cdr/cdemu/cdemu-3.1.0.ebuild b/app-cdr/cdemu/cdemu-3.1.0.ebuild
index 725457621cfa..aa0b79fa1f1c 100644
--- a/app-cdr/cdemu/cdemu-3.1.0.ebuild
+++ b/app-cdr/cdemu/cdemu-3.1.0.ebuild
@@ -27,10 +27,12 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/cdemu-client-${PV}
+PATCHES=( "${FILESDIR}/${PN}-3.0.0-bash-completion-dir.patch" )
+
src_prepare() {
+ cmake-utils_src_prepare
+
python_fix_shebang src/cdemu
- eapply -p2 "${FILESDIR}/${PN}-3.0.0-bash-completion-dir.patch"
- eapply_user
}
src_configure() {
diff --git a/app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch b/app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch
index 54d11dab4d1b..270ce7bb2ba8 100644
--- a/app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch
+++ b/app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch
@@ -1,7 +1,7 @@
diff --git a/cdemu-client/CMakeLists.txt b/cdemu-client/CMakeLists.txt
index 99b595e..e4f9b6e 100644
---- a/cdemu-client/CMakeLists.txt
-+++ b/cdemu-client/CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
@@ -39,7 +39,8 @@ install (
install (