summaryrefslogtreecommitdiff
path: root/jpeg/UnpackedTarball_jpeg.mk
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2012-10-11 09:32:36 +0200
committerDavid Tardon <dtardon@redhat.com>2012-10-12 06:37:40 +0200
commitde8808f03719f793da5452e2ccdabfbf81492ac8 (patch)
tree26e106e18464ca4a7f6762dae958ff085966ef23 /jpeg/UnpackedTarball_jpeg.mk
parentb19ff316441fb2d1f0537e008ea8b6fdec307224 (diff)
gbuildification of jpeg
Change-Id: I466f13f1132103bc20b9918411a54fd3106f4553
Diffstat (limited to 'jpeg/UnpackedTarball_jpeg.mk')
-rw-r--r--jpeg/UnpackedTarball_jpeg.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/jpeg/UnpackedTarball_jpeg.mk b/jpeg/UnpackedTarball_jpeg.mk
new file mode 100644
index 000000000000..2b504f6d0213
--- /dev/null
+++ b/jpeg/UnpackedTarball_jpeg.mk
@@ -0,0 +1,33 @@
+# -*- 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,jpeg))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,jpeg,$(JPEG_TARBALL)))
+
+$(eval $(call gb_UnpackedTarball_add_file,jpeg,jconfig.h,jpeg/configs/jconfig.h))
+
+$(eval $(call gb_UnpackedTarball_add_patches,jpeg,\
+ jpeg/patches/jpeg-8c-jmorecfg.patch \
+))
+
+ifeq ($(OS)$(CPU),MACOSXP)
+$(eval $(call gb_UnpackedTarball_add_patches,jpeg,\
+ jpeg/patches/struct_alignment.patch \
+))
+endif
+
+$(eval $(call gb_UnpackedTarball_mark_output_files,jpeg,\
+ jconfig.h \
+ jerror.h \
+ jmorecfg.h \
+ jpeglib.h \
+))
+
+# vim: set noet sw=4 ts=4: