smlinux/xorg/dbus/smbuild
PktSurf 9d657e0a1d Upgraded base/perl to 5.38.0
Renamed .SMBuild files to smbuild for simplicity
Added musl-fts, musl-obstack, glslang, python-glad, libptytty, libmilter, elfutils and fuse to base section build list
Discarded fuse2 and fuse3 from base section
Temporarily discarded slapt-get, syslinux, p7zip, acpid, libelf-compat, gnu-eif, libtirpc, mozilla-nss,
lua53, qpdf, kernel-source and signify from base section build list
Disabled nls and made amends to base/e2fsprogs
Upgraded base/git to 2.46.2
Upgraded extra/gnumeric to 1.12.57
Disabled nls in base/gnutls, extra/dia
Disabled a patch and made amends in base/llvm
Fixed configure.local file in base/mandoc
Upgraded base/rust to 1.79
Fixed a ton of build files to use build prefix as /usr and miscellaneous changes
Discarded extra/bluez,blueman,scrcpy,adafruit-io
Added tomb to extra
Added new build option to extra/libass
Upgraded extra/mpv to 0.37.0
Disabled tests in gtk/gdk-pixbuf
Upgraded gtk/goffice to 0.10.57
Added gtk-doc to gtk section
Fixed build options in gtk/gtk2
Added new patches to gtk/gtk3
Added gtksourceview to gtk section
Added vulkan-headers to xorg section
Upgraded xorg/mesa to 23.1.9
Added libplacebo to xorg section
Fixed build stuff in xorg/glew
2024-10-29 20:25:20 +05:30

58 lines
1.5 KiB
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=dbus
version=1.12.20
build=1sml
homepage="https://wiki.freedesktop.org/www/Software/dbus/"
download="https://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.gz"
desc="Freedesktop.org message bus system"
requires="netbsd-curses util-linux expat python3 xmlto"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/dbus-allow-root-globally.diff
}
build() {
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-Werror \
--disable-installed-tests \
--enable-shared=yes \
--enable-static=yes \
--disable-verbose-mode \
--with-dbus-user=messagebus \
--enable-inotify \
--enable-user-session \
--with-session-socket-dir=/tmp \
--with-system-pid-file=/var/run/dbus.pid \
--disable-systemd \
--with-x \
--disable-doxygen-docs
# Fix some directory ownership
mkdir -p $pkg/var/lib/dbus
chown messagebus $pkg/var/lib/dbus
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
c288a333102b6fd9d9606c667f6ccb624f7aeaeadb88b4c2aec062738e0e46c56b38d0c426299bda7f6bac1eb2d534f6c0342413ffa8a48bb0033c042e44b3fc dbus-1.12.20.tar.lz
c631e89a11c00eb3977aa3c28dc55d3feb4db785c039429c7cc6c1f53e146ca198afb064b61fc4abaaa7fdc6722a5d6393e1294e39aeee3728472e0950d3df20 dbus-allow-root-globally.diff
"