14 |
14 |
PYTHON_COMPAT=( python3_{10..12} )
|
15 |
15 |
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
|
16 |
16 |
|
17 |
|
inherit distutils-r1 libtool flag-o-matic qmake-utils toolchain-funcs verify-sig
|
|
17 |
# in-source builds are not supported:
|
|
18 |
# * https://dev.gnupg.org/T6313#166339
|
|
19 |
# * https://dev.gnupg.org/T6673#174545
|
|
20 |
inherit distutils-r1 libtool flag-o-matic out-of-source qmake-utils toolchain-funcs verify-sig
|
18 |
21 |
|
19 |
22 |
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
|
20 |
23 |
HOMEPAGE="https://www.gnupg.org/related_software/gpgme"
|
... | ... | |
30 |
33 |
# Bump FUDGE if a release is made which breaks ABI without changing SONAME.
|
31 |
34 |
# (Reset to 0 if FUDGE != 0 if libgpgme/libgpgmepp/libqpggme change.)
|
32 |
35 |
SLOT="1/11.6.15.2"
|
33 |
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
36 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
34 |
37 |
IUSE="common-lisp static-libs +cxx python qt5 test"
|
35 |
38 |
RESTRICT="!test? ( test )"
|
36 |
39 |
REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
|
... | ... | |
80 |
83 |
S="${WORKDIR}/b"
|
81 |
84 |
}
|
82 |
85 |
|
83 |
|
src_configure() {
|
|
86 |
my_src_configure() {
|
84 |
87 |
local languages=()
|
85 |
88 |
|
86 |
89 |
# bug #847955
|
... | ... | |
115 |
118 |
emake -C lang/python prepare
|
116 |
119 |
|
117 |
120 |
pushd lang/python > /dev/null || die
|
118 |
|
top_builddir="../.." srcdir="." CPP="$(tc-getCPP)" distutils-r1_src_configure
|
|
121 |
top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_configure
|
119 |
122 |
popd > /dev/null || die
|
120 |
123 |
fi
|
121 |
124 |
}
|
122 |
125 |
|
123 |
|
src_compile() {
|
|
126 |
my_src_compile() {
|
124 |
127 |
default
|
125 |
128 |
|
126 |
129 |
if use python ; then
|
127 |
130 |
pushd lang/python > /dev/null || die
|
128 |
|
top_builddir="../.." srcdir="." CPP="$(tc-getCPP)" distutils-r1_src_compile
|
|
131 |
top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_compile
|
129 |
132 |
popd > /dev/null || die
|
130 |
133 |
fi
|
131 |
134 |
}
|
132 |
135 |
|
133 |
|
src_test() {
|
|
136 |
my_src_test() {
|
134 |
137 |
default
|
135 |
138 |
|
136 |
139 |
if use python ; then
|
... | ... | |
145 |
148 |
TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
|
146 |
149 |
}
|
147 |
150 |
|
148 |
|
src_install() {
|
|
151 |
my_src_install() {
|
149 |
152 |
default
|
150 |
153 |
|
151 |
154 |
if use python ; then
|
152 |
155 |
pushd lang/python > /dev/null || die
|
153 |
|
top_builddir="../.." srcdir="." CPP="$(tc-getCPP)" distutils-r1_src_install
|
|
156 |
top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_install
|
154 |
157 |
popd > /dev/null || die
|
155 |
158 |
fi
|
156 |
159 |
|