Lines 5-11
EAPI=7
Link Here
|
5 |
|
5 |
|
6 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
6 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
7 |
VALA_USE_DEPEND="vapigen" |
7 |
VALA_USE_DEPEND="vapigen" |
8 |
inherit cmake python-any-r1 vala |
8 |
inherit cmake python-any-r1 toolchain-funcs vala |
9 |
|
9 |
|
10 |
DESCRIPTION="An implementation of basic iCAL protocols" |
10 |
DESCRIPTION="An implementation of basic iCAL protocols" |
11 |
HOMEPAGE="https://github.com/libical/libical" |
11 |
HOMEPAGE="https://github.com/libical/libical" |
Lines 24-29
BDEPEND="
Link Here
|
24 |
dev-lang/perl |
24 |
dev-lang/perl |
25 |
virtual/pkgconfig |
25 |
virtual/pkgconfig |
26 |
doc? ( app-doc/doxygen ) |
26 |
doc? ( app-doc/doxygen ) |
|
|
27 |
glib? ( |
28 |
dev-libs/glib:2 |
29 |
dev-libs/libxml2:2 |
30 |
) |
27 |
introspection? ( dev-libs/gobject-introspection ) |
31 |
introspection? ( dev-libs/gobject-introspection ) |
28 |
test? ( ${PYTHON_DEPS} ) |
32 |
test? ( ${PYTHON_DEPS} ) |
29 |
vala? ( $(vala_depend) ) |
33 |
vala? ( $(vala_depend) ) |
Lines 81-86
src_configure() {
Link Here
|
81 |
} |
85 |
} |
82 |
|
86 |
|
83 |
src_compile() { |
87 |
src_compile() { |
|
|
88 |
if tc-is-cross-compiler; then |
89 |
cmake_src_compile bin/src-generator |
90 |
$(tc-getBUILD_CC) \ |
91 |
${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \ |
92 |
$($(tc-getBUILD_PKG_CONFIG) --cflags --libs glib-2.0) \ |
93 |
$($(tc-getBUILD_PKG_CONFIG) --cflags --libs libxml-2.0) \ |
94 |
-o "${BUILD_DIR}/bin/src-generator" \ |
95 |
src/libical-glib/tools/generator.c \ |
96 |
src/libical-glib/tools/xml-parser.c |
97 |
fi |
84 |
cmake_src_compile |
98 |
cmake_src_compile |
85 |
use doc && cmake_src_compile docs |
99 |
use doc && cmake_src_compile docs |
86 |
} |
100 |
} |
87 |
- |
|
|