2012-07-09 17:18:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package weston
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: weston
|
|
|
|
%define lname libweston0
|
2012-12-19 10:14:03 +01:00
|
|
|
Version: 1.0.3
|
2012-07-09 17:18:36 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Wayland Compositor Infrastructure
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://weston.freedesktop.org/
|
|
|
|
|
|
|
|
#Git-Clone: git://anongit.freedesktop.org/wayland/weston
|
|
|
|
#Git-Web: http://cgit.freedesktop.org/wayland/weston/
|
|
|
|
Source: %name-%version.tar.xz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-10-23 14:45:34 +02:00
|
|
|
#git#BuildRequires: autoconf >= 2.64, automake >= 1.11
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libexpat-devel
|
2012-09-04 00:30:09 +02:00
|
|
|
BuildRequires: libjpeg-devel
|
2012-10-23 14:45:34 +02:00
|
|
|
#git#BuildRequires: libtool >= 2.2
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRequires: libvpx-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: rsvg-view
|
2012-12-19 10:14:03 +01:00
|
|
|
BuildRequires: xkeyboard-config
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
2012-07-09 17:36:33 +02:00
|
|
|
BuildRequires: pkgconfig(cairo-egl) >= 1.11.3
|
2012-09-04 00:30:09 +02:00
|
|
|
BuildRequires: pkgconfig(cairo-xcb)
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRequires: pkgconfig(egl) >= 7.10
|
|
|
|
BuildRequires: pkgconfig(gbm)
|
2012-07-09 17:36:33 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRequires: pkgconfig(glesv2)
|
2012-07-09 17:36:33 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2012-10-23 14:45:34 +02:00
|
|
|
BuildRequires: pkgconfig(glu)
|
2012-07-09 17:36:33 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.30
|
|
|
|
BuildRequires: pkgconfig(libffi)
|
2012-07-09 17:36:33 +02:00
|
|
|
BuildRequires: pkgconfig(libsystemd-login)
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRequires: pkgconfig(libudev) >= 136
|
|
|
|
BuildRequires: pkgconfig(mtdev) >= 1.1.0
|
|
|
|
BuildRequires: pkgconfig(pixman-1)
|
2012-07-09 17:36:33 +02:00
|
|
|
BuildRequires: pkgconfig(poppler-glib)
|
2012-10-23 14:45:34 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.0.0
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
BuildRequires: pkgconfig(xkbcommon) >= 0.0.578
|
2012-09-04 00:30:09 +02:00
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-xfixes)
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
2012-12-19 10:14:03 +01:00
|
|
|
Requires: xkeyboard-config
|
2012-07-09 17:18:36 +02:00
|
|
|
|
|
|
|
%description
|
2012-09-04 00:30:09 +02:00
|
|
|
Weston is the reference implementation of a Wayland compositor, and a
|
|
|
|
useful compositor in its own right. Weston has various backends that
|
|
|
|
lets it run on Linux kernel modesetting and evdev input as well as
|
|
|
|
under X11. Weston ships with a few example clients, from simple
|
|
|
|
clients that demonstrate certain aspects of the protocol to more
|
|
|
|
complete clients and a simplistic toolkit. There is also a quite
|
|
|
|
capable terminal emulator (weston-terminal) and an toy/example
|
|
|
|
desktop shell. Finally, weston also provides integration with the
|
|
|
|
Xorg server and can pull X clients into the Wayland desktop and act
|
|
|
|
as a X window manager.
|
2012-07-09 17:18:36 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2012-10-20 23:18:53 +02:00
|
|
|
if [ ! -e configure ]; then
|
|
|
|
NOCONFIGURE=1 ./autogen.sh;
|
|
|
|
fi;
|
2012-07-09 17:18:36 +02:00
|
|
|
%configure --disable-static --disable-setuid-install
|
|
|
|
make %{?_smp_mflags};
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR="%buildroot";
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la "%buildroot/%_libdir/weston"/*.la;
|
|
|
|
|
2012-12-19 10:14:03 +01:00
|
|
|
%check
|
|
|
|
mkdir -pm go-rwx xdg;
|
|
|
|
# Ignore exit code, because """the headless backend is not even in the 1.0
|
|
|
|
# stable series. It means it will be an option starting from 1.2 of stable
|
|
|
|
# series."""
|
|
|
|
XDG_RUNTIME_DIR="$PWD/xdg" make check || :;
|
|
|
|
|
2012-07-09 17:18:36 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_bindir/wcap-*
|
|
|
|
%_bindir/weston*
|
|
|
|
%_libexecdir/weston-*
|
|
|
|
%_libdir/weston
|
|
|
|
%_datadir/weston
|
2012-10-23 14:45:34 +02:00
|
|
|
%_mandir/man1/weston.1*
|
2012-12-01 07:38:17 +01:00
|
|
|
%_mandir/man7/weston*7*
|
2012-07-09 17:18:36 +02:00
|
|
|
|
|
|
|
%changelog
|