mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
udisks: remove systemd build option (#1736).
This commit is contained in:
parent
97bfc108a1
commit
f8f5b51fc0
2 changed files with 2 additions and 18 deletions
|
@ -1,10 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Disk Manager
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=dbus
|
|
||||||
BusName=org.freedesktop.UDisks
|
|
||||||
ExecStart=/usr/libexec/udisks-daemon
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=graphical.target
|
|
|
@ -1,10 +1,9 @@
|
||||||
# Template file for 'udisks'
|
# Template file for 'udisks'
|
||||||
pkgname=udisks
|
pkgname=udisks
|
||||||
version=1.0.5
|
version=1.0.5
|
||||||
revision=3
|
revision=4
|
||||||
build_options="systemd"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin --disable-static --enable-lvm2"
|
configure_args="--disable-static --enable-lvm2"
|
||||||
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel dbus-glib-devel"
|
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel dbus-glib-devel"
|
||||||
makedepends="libglib-devel device-mapper-devel
|
makedepends="libglib-devel device-mapper-devel
|
||||||
liblvm2app-devel libparted-devel libatasmart-devel polkit-devel
|
liblvm2app-devel libparted-devel libatasmart-devel polkit-devel
|
||||||
|
@ -24,11 +23,6 @@ pre_configure() {
|
||||||
-e "s|\(slashsbindir\)=.*|\1=/usr/bin|g" configure
|
-e "s|\(slashsbindir\)=.*|\1=/usr/bin|g" configure
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall ${FILESDIR}/udisks.service 644 usr/lib/systemd/system
|
|
||||||
echo "SystemdService=udisks.service" \
|
|
||||||
>> ${DESTDIR}/usr/share/dbus-1/system-services/org.freedesktop.UDisks.service
|
|
||||||
fi
|
|
||||||
vmkdir usr/share/bash-completion/completions
|
vmkdir usr/share/bash-completion/completions
|
||||||
mv ${DESTDIR}/etc/profile.d/udisks-bash-completion.sh \
|
mv ${DESTDIR}/etc/profile.d/udisks-bash-completion.sh \
|
||||||
${DESTDIR}/usr/share/bash-completion/completions/udisks
|
${DESTDIR}/usr/share/bash-completion/completions/udisks
|
||||||
|
|
Loading…
Add table
Reference in a new issue