forked from ports/contrib
xdg-desktop-portal-gtk: 1.14.1 -> 1.15.0
This commit is contained in:
parent
b3b5804ff5
commit
70d792d48e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF34uv9iCMoUnscCjg44jDOPJIuJJXm43P2c5rDF89YyTfNPp888gaA4lcD5/qD/LjoGFxRB/rdhRnNx55pmajHwQ=
|
||||
SHA256 (Pkgfile) = 03bd76fb8b363624c19388787bb4182c6d3692e6d7d4ee5ac034c77764564c1a
|
||||
RWSagIOpLGJF31MOa1soxI3nrtqjxzZ/7xOKnXaYvqsZyZQVLrhsiBIoaf13Xxo1N9HfnT/Er4b1quBcVxcGiszQZBfTRBSaewg=
|
||||
SHA256 (Pkgfile) = 38f8d5e3ffbd1bb2275b9ca46039dfa44480a22656f64b8746f49c99c2b7affa
|
||||
SHA256 (.footprint) = 73702410a781593cf9b1cb3587ca0f8968d7cf64af6490c1c2a29b9886d2c889
|
||||
SHA256 (xdg-desktop-portal-gtk-1.14.1.tar.gz) = 79992b308246eb9965a1589a321271def3b4bed6a2b84fffd1916f8d6ea3bc9f
|
||||
SHA256 (xdg-desktop-portal-gtk-1.15.0.tar.gz) = 55b87752f419775bd5d29bfb91ac30f26363ac67c781ad8db22668b6ba60678c
|
||||
|
@ -5,26 +5,25 @@
|
||||
# Optional: dconf gnome-desktop gnome-shell
|
||||
|
||||
name=xdg-desktop-portal-gtk
|
||||
version=1.14.1
|
||||
version=1.15.0
|
||||
release=1
|
||||
source=(https://github.com/flatpak/xdg-desktop-portal-gtk/archive/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
prt-get isinst dconf && PKGMK_XDGDPGTK+=' -D settings=enabled' || PKGMK_XDGDPGTK+=' -D settings=disabled'
|
||||
prt-get isinst gnome-desktop && PKGMK_XDGDPGTK+=' -D wallpaper=enabled' || PKGMK_XDGDPGTK+=' -D wallpaper=disabled'
|
||||
|
||||
prt-get isinst dconf && PKGMK_XDGDPGTK+=' --enable-settings' || PKGMK_XDGDPGTK+=' --disable-settings'
|
||||
prt-get isinst gnome-shell && PKGMK_XDGDPGTK+=' --enable-background' || PKGMK_XDGDPGTK+=' --disable-background'
|
||||
prt-get isinst gnome-desktop && PKGMK_XDGDPGTK+=' --enable-wallpaper' || PKGMK_XDGDPGTK+=' --disable-wallpaper'
|
||||
prt-get isinst gnome-shell && PKGMK_XDGDPGTK+=' --enable-screencast' || PKGMK_XDGDPGTK+=' --disable-screencast'
|
||||
sed -i '/subdir('\''po'\'')/d' $name-$version/meson.build
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
./configure --prefix=/usr $PKGMK_XDGDPGTK \
|
||||
meson setup $name-$version build $PKGMK_XDGDPGTK \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--enable-appchooser \
|
||||
--enable-lockdown \
|
||||
--disable-nls
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
--buildtype=plain \
|
||||
--wrap-mode nodownload \
|
||||
-D b_lto=true \
|
||||
-D b_pie=true
|
||||
meson compile -C build
|
||||
DESTDIR=$PKG meson install -C build
|
||||
|
||||
rm -fr $PKG/usr/lib/systemd
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user