Mercurial > vanilla
diff lib/gvfs/gvfs.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 297b5eef115e |
children | 337f950c30f5 |
line wrap: on
line diff
--- a/lib/gvfs/gvfs.sh Wed Jul 28 15:24:46 2021 +0200 +++ b/lib/gvfs/gvfs.sh Wed Sep 29 13:49:32 2021 +0200 @@ -129,49 +129,46 @@ with_udev="-D gudev=false" fi -build() -{ - rm -rf $PKGNAME-$PKGVERSION - tar xvf $PKGNAME-$PKGVERSION.tar.xz - cd $PKGNAME-$PKGVERSION +rm -rf $PKGNAME-$PKGVERSION +tar xvf $PKGNAME-$PKGVERSION.tar.xz +cd $PKGNAME-$PKGVERSION - CC="$CC" \ - CFLAGS="$CFLAGS" \ - CXX="$CXX" \ - CXXFLAGS="$CXXFLAGS" \ - LDFLAGS="$LDFLAGS" \ - meson . build \ - --prefix / \ - --buildtype release \ - --default-library shared \ - -D afc=false \ - -D cdda=false \ - -D dnssd=false \ - -D goa=false \ - -D google=false \ - -D gphoto2=false \ - -D logind=false \ - -D mtp=false \ - -D nfs=false \ - -D smb=false \ - -D systemduserunitdir=no \ - -D tmpfilesdir=no \ - -D udisks2=false \ - -D libusb=false \ - $with_admin \ - $with_afp \ - $with_bluray \ - $with_crypto \ - $with_fuse \ - $with_gcr \ - $with_http \ - $with_keyring \ - $with_libarchive \ - $with_ssh \ - $with_udev - ninja -C build - DESTDIR=$DESTDIR ninja -C build install +CC="$CC" \ +CFLAGS="$CFLAGS" \ +CXX="$CXX" \ +CXXFLAGS="$CXXFLAGS" \ +LDFLAGS="$LDFLAGS" \ +meson . build \ + --prefix / \ + --buildtype release \ + --default-library shared \ + -D afc=false \ + -D cdda=false \ + -D dnssd=false \ + -D goa=false \ + -D google=false \ + -D gphoto2=false \ + -D logind=false \ + -D mtp=false \ + -D nfs=false \ + -D smb=false \ + -D systemduserunitdir=no \ + -D tmpfilesdir=no \ + -D udisks2=false \ + -D libusb=false \ + $with_admin \ + $with_afp \ + $with_bluray \ + $with_crypto \ + $with_fuse \ + $with_gcr \ + $with_http \ + $with_keyring \ + $with_libarchive \ + $with_ssh \ + $with_udev +ninja -C build +DESTDIR=$DESTDIR ninja -C build install - cd .. - rm -rf $PKGNAME-$PKGVERSION -} +cd .. +rm -rf $PKGNAME-$PKGVERSION