diff --git a/accountsservice.be0 b/accountsservice.be0 index 6815509c8..9038625da 100755 --- a/accountsservice.be0 +++ b/accountsservice.be0 @@ -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.) @@ -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 @@ -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 @@ -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: