summaryrefslogtreecommitdiff
path: root/external/redland/UnpackedTarball_redland.mk
blob: 440be1f8ffa50cf9d54c7bced54f7e95cf9678ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_UnpackedTarball_UnpackedTarball,redland))

$(eval $(call gb_UnpackedTarball_set_tarball,redland,$(REDLAND_TARBALL),,redland))

# configure generated files for MSVC
$(eval $(call gb_UnpackedTarball_add_file,redland,src/librdf.h,external/redland/redland/librdf.h))

# redland-format.patch.0 sent upstream as
#  <https://github.com/dajobe/librdf/pull/6>
$(eval $(call gb_UnpackedTarball_add_patches,redland,\
	external/redland/redland/redland-query-rasqal-avoid-assert.patch.1 \
	external/redland/redland/redland-pkgconfig.patch.1 \
	external/redland/redland/redland-freebsd.patch.1 \
	external/redland/redland/redland-msvc.patch.1 \
	$(if $(filter-out WNT,$(OS)),external/redland/redland/redland-bundled-soname.patch.1) \
	$(if $(filter ANDROID,$(OS)),external/redland/redland/redland-android.patch.1) \
	$(if $(filter WNTGCC,$(OS)$(COM)),external/redland/redland/redland-mingw.patch.1) \
	$(if $(CROSS_COMPILING),external/redland/redland/redland-xcompile.patch.1) \
	external/redland/redland/redland-format.patch.0 \
))

# vim: set noet sw=4 ts=4: