mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 07:00:08 +01:00
Add autotools installation files
Currently installs unstable protocols under an unstable/ subdirectory in $prefix/share/wayland-protocols/. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
a24f0ff63e
commit
f548e99266
6 changed files with 96 additions and 0 deletions
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
configure
|
||||||
|
config.log
|
||||||
|
config.status
|
||||||
|
compile
|
||||||
|
install-sh
|
||||||
|
missing
|
||||||
|
*.pc
|
||||||
|
autom4te.cache
|
||||||
|
aclocal.m4
|
||||||
29
COPYING
Normal file
29
COPYING
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
Copyright © 2008-2012 Kristian Høgsberg
|
||||||
|
Copyright © 2010-2012 Intel Corporation
|
||||||
|
Copyright © 2011 Benjamin Franzke
|
||||||
|
Copyright © 2012 Collabora, Ltd.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and associated documentation files (the "Software"),
|
||||||
|
to deal in the Software without restriction, including without limitation
|
||||||
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice (including the next
|
||||||
|
paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
The above is the version of the MIT "Expat" License used by X.org:
|
||||||
|
|
||||||
|
http://cgit.freedesktop.org/xorg/xserver/tree/COPYING
|
||||||
6
Makefile.am
Normal file
6
Makefile.am
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
nobase_dist_pkgdata_DATA = \
|
||||||
|
unstable/pointer-gestures/pointer-gestures-unstable-v1.xml \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = wayland-protocols.pc
|
||||||
9
autogen.sh
Executable file
9
autogen.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
||||||
|
test -n "$srcdir" || srcdir=.
|
||||||
|
(
|
||||||
|
cd "$srcdir" &&
|
||||||
|
autoreconf --force -v --install
|
||||||
|
) || exit
|
||||||
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||||
34
configure.ac
Normal file
34
configure.ac
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
AC_PREREQ([2.64])
|
||||||
|
|
||||||
|
m4_define([wayland_protocols_major_version], [0])
|
||||||
|
m4_define([wayland_protocols_minor_version], [1])
|
||||||
|
m4_define([wayland_protocols_micro_version], [0])
|
||||||
|
m4_define([wayland_protocols_version],
|
||||||
|
[wayland_protocols_major_version.wayland_protocols_minor_version.wayland_protocols_micro_version])
|
||||||
|
|
||||||
|
AC_INIT([wayland-protocols],
|
||||||
|
[wayland_protocols_version],
|
||||||
|
[https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=protocols&version=wayland-protocols_version],
|
||||||
|
[wayland-protocols],
|
||||||
|
[http://wayland.freedesktop.org/])
|
||||||
|
|
||||||
|
AC_SUBST([WAYLAND_PROTOCOLS_VERSION_MAJOR], [wayland_protocols_major_version])
|
||||||
|
AC_SUBST([WAYLAND_PROTOCOLS_VERSION_MINOR], [wayland_protocols_minor_version])
|
||||||
|
AC_SUBST([WAYLAND_PROTOCOLS_VERSION_MICRO], [wayland_protocols_micro_version])
|
||||||
|
AC_SUBST([WAYLAND_PROTOCOLS_VERSION], [wayland_protocols_version])
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
|
||||||
|
|
||||||
|
AM_SILENT_RULES([yes])
|
||||||
|
|
||||||
|
PKG_PROG_PKG_CONFIG()
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([
|
||||||
|
Makefile
|
||||||
|
wayland-protocols.pc
|
||||||
|
])
|
||||||
|
AC_OUTPUT
|
||||||
|
|
||||||
|
AC_MSG_RESULT([
|
||||||
|
Prefix ${prefix}
|
||||||
|
])
|
||||||
7
wayland-protocols.pc.in
Normal file
7
wayland-protocols.pc.in
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
datarootdir=@datarootdir@
|
||||||
|
pkgdatadir=@datadir@/@PACKAGE@
|
||||||
|
|
||||||
|
Name: Wayland Protocols
|
||||||
|
Description: Wayland protocol files
|
||||||
|
Version: @WAYLAND_PROTOCOLS_VERSION@
|
||||||
Loading…
Add table
Reference in a new issue