author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Mon, 03 Oct 2016 12:09:09 -0700 | |
changeset 7038 | ec6c9e486ce6 |
child 7086 | bad5d0bc7457 |
permissions | -rw-r--r-- |
7038
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
21 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
25 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
26 |
BUILD_BITS= 32_and_64 |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
27 |
include ../../../make-rules/shared-macros.mk |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
28 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= libxklavier |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_VERSION= 5.0 |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://freedesktop.org/wiki/Software/LibXklavier/ |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
33 |
sha256:30e572d3bac0f4c8ba0098dd63527a789cb85649bd4c8d5ffd8d1f34306e36d1 |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/gswitchit/files/libxklavier/5.0/$(COMPONENT_ARCHIVE) |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_BUGDB= gnome/libraries |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
36 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
37 |
TPNO= 3429 |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
38 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
39 |
# Tests do not work in userland framework yet |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
40 |
TEST_TARGET = $(SKIP_TEST) |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
41 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/common.mk |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
43 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
44 |
COMPONENT_PREP_ACTION += (cd $(@D) ; autoreconf -fiv ) |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
45 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
46 |
# Need to ensure GNU cp is first in $PATH to avoid |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
47 |
# "cp: illegal option -- u" errors installing the docs |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
48 |
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)" |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
49 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --disable-static |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
51 |
CONFIGURE_OPTIONS += --enable-shared |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --enable-gtk-doc |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
53 |
CONFIGURE_OPTIONS += --enable-xkb-support |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
54 |
|
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
55 |
REQUIRED_PACKAGES += data/iso-codes |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
56 |
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
57 |
REQUIRED_PACKAGES += library/glib2 |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
58 |
REQUIRED_PACKAGES += library/libxml2 |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
59 |
REQUIRED_PACKAGES += x11/keyboard/data-xkb |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
60 |
REQUIRED_PACKAGES += x11/keyboard/xkbcomp |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
61 |
REQUIRED_PACKAGES += x11/library/libx11 |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
62 |
REQUIRED_PACKAGES += x11/library/libxi |
ec6c9e486ce6
23245484 Move libxklavier 5.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
63 |
REQUIRED_PACKAGES += x11/library/libxkbfile |