From 8f2ef1e9f80585a429bd971580ebc0f370411b7b Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 15 Oct 2017 15:47:39 -0700 Subject: app-cdr/cdemu: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- app-cdr/cdemu/cdemu-3.1.0.ebuild | 6 ++++-- app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'app-cdr/cdemu') 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 ( -- cgit v1.2.3-65-gdbad