Skip to content

Commit

Permalink
app-mobilephone/gammu: [QA] Add cmake-utils_src_prepare
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
SoapGentoo committed Oct 16, 2017
1 parent d9f4f0b commit e5a27c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions app-mobilephone/gammu/gammu-1.33.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions app-mobilephone/gammu/gammu-1.36.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5a27c0

Please sign in to comment.