74 lines
1.6 KiB
Plaintext
74 lines
1.6 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = glib2
|
|
ver_major = 2.74
|
|
ver_minor = 2
|
|
version = %{ver_major}.%{ver_minor}
|
|
release = 2
|
|
thisapp = glib-%{version}
|
|
|
|
groups = System/Libraries
|
|
url = http://www.gtk.org
|
|
license = LGPLv2+
|
|
summary = A library of handy utility functions.
|
|
|
|
description
|
|
GLib is the low-level core library that forms the basis
|
|
for projects such as GTK+ and GNOME. It provides data structure
|
|
handling for C, portability wrappers, and interfaces for such runtime
|
|
functionality as an event loop, threads, dynamic loading, and an
|
|
object system.
|
|
end
|
|
|
|
source_dl = https://ftp.gnome.org/pub/gnome/sources/glib/%{ver_major}/
|
|
sources = %{thisapp}.tar.xz
|
|
|
|
build
|
|
requires
|
|
docbook-xsl
|
|
elfutils-devel
|
|
gettext
|
|
libffi-devel
|
|
libmount-devel >= 2.34-2
|
|
meson >= 0.50.1
|
|
pcre2-devel
|
|
pkg-config
|
|
zlib-devel
|
|
end
|
|
|
|
build
|
|
%{meson} \
|
|
--default-library=both \
|
|
-Dselinux=disabled \
|
|
-Dman=true \
|
|
-Ddtrace=false \
|
|
-Dsystemtap=false \
|
|
-Dgtk_doc=false \
|
|
-Dinstalled_tests=false
|
|
|
|
%{meson_build}
|
|
end
|
|
|
|
install
|
|
%{meson_install}
|
|
|
|
mkdir -pv %{BUILDROOT}/etc/profile.d/
|
|
cp -vf %{DIR_SOURCE}/glib2-locale.sh %{BUILDROOT}/etc/profile.d/
|
|
end
|
|
end
|
|
|
|
packages
|
|
package %{name}
|
|
|
|
package %{name}-devel
|
|
template DEVEL
|
|
end
|
|
|
|
package %{name}-debuginfo
|
|
template DEBUGINFO
|
|
end
|
|
end
|