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
|
|
|
|
Version: 0.94.90
|
|
|
|
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
|
2012-07-09 17:36:33 +02:00
|
|
|
Patch1: 0001-wcap-snapshot-add-return-value.patch
|
2012-07-09 17:18:36 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
#git#BuildRequires: autoconf >= 2.64, automake >= 1.11
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libjpeg62-devel
|
|
|
|
BuildRequires: libtool >= 2.2
|
|
|
|
BuildRequires: libvpx-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: rsvg-view
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
2012-07-09 17:36:33 +02:00
|
|
|
BuildRequires: pkgconfig(cairo-egl) >= 1.11.3
|
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)
|
|
|
|
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-07-09 17:18:36 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
BuildRequires: pkgconfig(xkbcommon) >= 0.0.578
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch -P 1 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --disable-setuid-install
|
|
|
|
make %{?_smp_mflags};
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR="%buildroot";
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la "%buildroot/%_libdir/weston"/*.la;
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_bindir/wcap-*
|
|
|
|
%_bindir/weston*
|
|
|
|
%_libexecdir/weston-*
|
|
|
|
%_libdir/weston
|
|
|
|
%_datadir/weston
|
|
|
|
|
|
|
|
%changelog
|