Skip to content

Commit

Permalink
Merge pull request #563 from mariux64/update-accountsservice-from-0.6…
Browse files Browse the repository at this point in the history
….13-to-0.6.45

Update AccountsService from 0.6.13 to 0.6.45
  • Loading branch information
donald authored Jan 18, 2018
2 parents 1c32a7c + 182aff7 commit 2b1d0a3
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions accountsservice.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION accountsservice-0.6.13-1
# BEE_VERSION accountsservice-0.6.45-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand All @@ -9,13 +9,13 @@
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="http://www.freedesktop.org/software/accountsservice/accountsservice-${PKGVERSION}.tar.xz"
SRCURL[0]="https://www.freedesktop.org/software/accountsservice/accountsservice-${PKGVERSION}.tar.xz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

PATCHURL+=(/src/mariux/patches/accountsservice-disable-userload.patch)
# PATCHURL+=()

###############################################################################
## Add filename patterns to the EXCLUDE array of files that should not
Expand Down Expand Up @@ -53,9 +53,10 @@ PATCHURL+=(/src/mariux/patches/accountsservice-disable-userload.patch)
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}
mee_configure() {
bee_configure \
--disable-static
}

#mee_build() {
# bee_build
Expand All @@ -66,6 +67,27 @@ PATCHURL+=(/src/mariux/patches/accountsservice-disable-userload.patch)
#}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {
mkdir -p ${D}/lib/systemd/system/
cat > ${D}/lib/systemd/system/accounts-daemon.service <<-EOF
[Unit]
Description=Accounts Service

[Service]
Type=dbus
BusName=org.freedesktop.Accounts
ExecStart=${LIBEXECDIR}/accounts-daemon
StandardOutput=syslog

[Install]
# We pull this in by graphical.target instead of waiting for the bus
# activation, to speed things up a little: gdm uses this anyway so it is nice
# if it is already around when gdm wants to use it and doesn't have to wait for
# it.
WantedBy=graphical.target
EOF
}

###############################################################################
##
## Additional hints:
Expand Down

0 comments on commit 2b1d0a3

Please sign in to comment.