summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 16:03:00 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 17:05:38 -0700
commite5a27c03423c128790937545b1d880cc7724d410 (patch)
tree7564be7f188f7b9f1c07162163c3f688b4255634 /app-mobilephone
parentapp-misc/task: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-e5a27c03423c128790937545b1d880cc7724d410.tar.gz
gentoo-e5a27c03423c128790937545b1d880cc7724d410.tar.bz2
gentoo-e5a27c03423c128790937545b1d880cc7724d410.zip
app-mobilephone/gammu: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/gammu/gammu-1.33.0-r1.ebuild8
-rw-r--r--app-mobilephone/gammu/gammu-1.36.8.ebuild8
2 files changed, 12 insertions, 4 deletions
diff --git a/app-mobilephone/gammu/gammu-1.33.0-r1.ebuild b/app-mobilephone/gammu/gammu-1.33.0-r1.ebuild
index b6b80f011f95..367aa128dc29 100644
--- a/app-mobilephone/gammu/gammu-1.33.0-r1.ebuild
+++ b/app-mobilephone/gammu/gammu-1.33.0-r1.ebuild
@@ -38,13 +38,17 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
MY_AVAILABLE_LINGUAS=" af ar bg ca cs da de el en_GB es et fi fr gl he hu id it ko nl pl pt_BR ru sk sv sw tr zh_CN zh_TW"
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
+PATCHES=(
+ "${FILESDIR}/${PN}-skip-locktest.patch"
+ "${FILESDIR}/${PN}-1.32.0-bashcompdir.patch"
+)
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
- epatch "${FILESDIR}/${PN}-skip-locktest.patch"
- epatch "${FILESDIR}/${PN}-1.32.0-bashcompdir.patch"
+ cmake-utils_src_prepare
local lang support_linguas=no
for lang in ${MY_AVAILABLE_LINGUAS} ; do
diff --git a/app-mobilephone/gammu/gammu-1.36.8.ebuild b/app-mobilephone/gammu/gammu-1.36.8.ebuild
index dd5cc078d7c7..0f6cb475dc5d 100644
--- a/app-mobilephone/gammu/gammu-1.36.8.ebuild
+++ b/app-mobilephone/gammu/gammu-1.36.8.ebuild
@@ -40,9 +40,13 @@ RDEPEND="
MY_AVAILABLE_LINGUAS=" af ar bg bn ca cs da de el en_GB es et fi fr gl he hu id it ko nl pl pt_BR ro ru sk sv sw tr zh_CN zh_TW"
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
+PATCHES=(
+ "${FILESDIR}/${PN}-skip-locktest.patch"
+ "${FILESDIR}/${PN}-1.36.8-bashcompdir.patch"
+)
+
src_prepare() {
- epatch "${FILESDIR}/${PN}-skip-locktest.patch" \
- "${FILESDIR}/${PN}-1.36.8-bashcompdir.patch"
+ cmake-utils_src_prepare
local lang support_linguas=no
for lang in ${MY_AVAILABLE_LINGUAS} ; do