2 Summary: D-Bus message bus with kdbus support
5 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: expat-devel
10 BuildRequires: libtool
11 BuildRequires: openssl-devel
12 BuildRequires: pkgconfig(x11)
16 D-Bus message bus with kdbus support
19 %setup -q -n %{name}-%{version}
23 ./autogen.sh --enable-abstract-sockets --enable-x11-autolaunch --with-x
25 # When compiled using gbs with --enable-abstract-sockets param autogen.sh creates a config.h in
26 # /GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0 with # /* #undef HAVE_ABSTRACT_SOCKETS */.
27 # Code changes it to #define HAVE_ABSTRACT_SOCKETS 1.
28 if grep -q "#define HAVE_ABSTRACT_SOCKETS\s1" config.h; then
29 echo HAVE_ABSTRACT_SOCKETS found.
31 echo HAVE_ABSTRACT_SOCKETS not found. Adding it.
32 sed -i 's/\/\* #undef HAVE_ABSTRACT_SOCKETS \*\//#define HAVE_ABSTRACT_SOCKETS 1/' config.h
40 mkdir -p /opt/var/lib/dbus