Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Archive
gnome-sdk-images
Commits
90b98e63
Commit
90b98e63
authored
Dec 11, 2014
by
Alexander Larsson
Browse files
Add clutter
parent
b192d44f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
90b98e63
...
...
@@ -43,6 +43,7 @@ PACKAGES = \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts
\
gtk2 gnome-themes-standard libproxy gsettings-desktop-schemas glib-networking libsoup
\
dconf gvfs desktop-file-utils json-glib libnotify vte mozjs24 gjs
\
cogl clutter
\
zenity
\
$(NULL)
...
...
packages/SPECS/clutter.spec
0 → 100644
View file @
90b98e63
Name: clutter
Version: 1.20.0
Release: 1%{?dist}
Summary: Open Source software library for creating rich graphical user interfaces
Group: Development/Libraries
License: LGPLv2+
URL: http://www.clutter-project.org/
Source0: http://download.gnome.org/sources/clutter/1.20/clutter-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel mesa-libGL-devel pango-devel
BuildRequires: cairo-gobject-devel gdk-pixbuf2-devel atk-devel
BuildRequires: cogl-devel
BuildRequires: gobject-introspection-devel >= 0.9.6
BuildRequires: gtk3-devel
BuildRequires: json-glib-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXi-devel
Requires: gobject-introspection
%description
Clutter is an open source software library for creating fast,
visually rich graphical user interfaces. The most obvious example
of potential usage is in media center type applications.
We hope however it can be used for a lot more.
%package devel
Summary: Clutter development environment
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Header files and libraries for building a extension library for the
clutter
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description doc
Clutter is an open source software library for creating fast,
visually rich graphical user interfaces. The most obvious example
of potential usage is in media center type applications.
We hope however it can be used for a lot more.
This package contains documentation for clutter.
%prep
%setup -q
%build
%configure \
--enable-xinput \
--enable-gdk-backend
make %{?_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot} INSTALL='install -p'
#Remove libtool archives.
find %{buildroot} -name '*.la' -delete
%find_lang clutter-1.0
%check
make check %{?_smp_mflags} V=1
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f clutter-1.0.lang
%doc COPYING NEWS README
%{_libdir}/*.so.0
%{_libdir}/*.so.0.*
%{_libdir}/girepository-1.0/*.typelib
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%files doc
%{_datadir}/gtk-doc/html/clutter
%{_datadir}/gtk-doc/html/cally
%changelog
* Thu Dec 11 2014 Alexander Larsson <alexl@redhat.com> - 1.20.0-1
- Initial version
packages/SPECS/cogl.spec
0 → 100644
View file @
90b98e63
Name: cogl
Version: 1.18.2
Release: 1%{?dist}
Summary: A library for using 3D graphics hardware to draw pretty pictures
Group: Development/Libraries
License: LGPLv2+
URL: http://www.clutter-project.org/
Source0: http://download.gnome.org/sources/cogl/1.18/cogl-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: cairo-devel
BuildRequires: gdk-pixbuf2-devel
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libXrandr-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libEGL-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: pango-devel
%description
Cogl is a small open source library for using 3D graphics hardware to draw
pretty pictures. The API departs from the flat state machine style of
OpenGL and is designed to make it easy to write orthogonal components that
can render without stepping on each others toes.
As well aiming for a nice API, we think having a single library as opposed
to an API specification like OpenGL has a few advantages too; like being
able to paper over the inconsistencies/bugs of different OpenGL
implementations in a centralized place, not to mention the myriad of OpenGL
extensions. It also means we are in a better position to provide utility
APIs that help software developers since they only need to be implemented
once and there is no risk of inconsistency between implementations.
Having other backends, besides OpenGL, such as drm, Gallium or D3D are
options we are interested in for the future.
%package devel
Summary: %{name} development environment
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Header files and libraries for building and developing apps with %{name}.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS -fPIC"
%configure \
--enable-cairo=yes \
--enable-cogl-pango=yes \
--enable-gdk-pixbuf=yes \
--enable-glx=yes \
--disable-gtk-doc \
--enable-introspection=yes \
--enable-xlib-egl-platform
make %{?_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot} INSTALL='install -p'
#Remove libtool archives.
find %{buildroot} -name '*.la' -delete
# This gets installed by mistake
rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg
%find_lang %{name}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%doc COPYING NEWS README ChangeLog
%{_libdir}/libcogl*.so.20*
%{_libdir}/girepository-1.0/Cogl*.typelib
%files devel
%{_includedir}/cogl
%{_libdir}/libcogl*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/Cogl*.gir
%changelog
* Thu Dec 11 2014 Alexander Larsson <alexl@redhat.com> - 1.18.2-1
- Initial version
packages/SPECS/gnome-platform.spec
View file @
90b98e63
...
...
@@ -35,6 +35,7 @@ Requires: mesa-libGL
Requires: mesa-libEGL
Requires: mesa-dri-drivers
Requires: libepoxy
Requires: clutter
%description
Meta package for Gnome SDK dependencies
...
...
packages/SPECS/gnome-sdk.spec
View file @
90b98e63
...
...
@@ -32,6 +32,7 @@ BuildRequires: mesa-libGL
BuildRequires: libICE-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libepoxy-devel
BuildRequires: clutter-devel
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
...
...
@@ -96,6 +97,8 @@ Requires: mesa-dri-drivers
Requires: libICE-devel
Requires: libXxf86vm-devel
Requires: libepoxy-devel
Requires: cogl-devel
Requires: clutter-devel
%description
Meta package for Gnome SDK dependencies
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment