summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b6b80f011f9..367aa128dc2 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 dd5cc078d7c..0f6cb475dc5 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