Package Details: xdg-desktop-portal-cosmic-git 1.0.0.alpha.2.r0.gdcbdd99-2

Git Clone URL: https://aur.archlinux.org/xdg-desktop-portal-cosmic-git.git (read-only, click to copy)
Package Base: xdg-desktop-portal-cosmic-git
Description: A backend implementation for xdg-desktop-portal for the COSMIC desktop environment
Upstream URL: https://github.com/pop-os/xdg-desktop-portal-cosmic
Licenses: GPL-3.0-or-later
Conflicts: xdg-desktop-portal-cosmic
Provides: xdg-desktop-portal-cosmic, xdg-desktop-portal-impl
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 3
Popularity: 0.49
First Submitted: 2024-02-21 03:47 (UTC)
Last Updated: 2024-09-26 18:44 (UTC)

Required by (12)

Sources (2)

Latest Comments

yochananmarqos commented on 2024-08-26 18:50 (UTC)

@NeroReflex: Done.

NeroReflex commented on 2024-08-26 17:42 (UTC)

Please add to provides "xdg-desktop-portal-impl"

yochananmarqos commented on 2024-08-17 15:59 (UTC)

@RuairidhWilliams: Ah, good catch. I've implemented the change.

RuairidhWilliams commented on 2024-08-16 23:30 (UTC)

The build fails for me because I have CARGO_TARGET_DIR set to a different dir in my environment. I think this is because export CARGO_TARGET_DIR=target is set in the build() but also needs to be set in the package(). make install uses $(CARGO_TARGET_DIR) to find the executable to install so should be set to the same value in both steps.

My suggestion:

 package() {
   cd "${pkgname%-git}"
+  export CARGO_TARGET_DIR=target
   make prefix='/usr' libexecdir='/usr/lib' DESTDIR="$pkgdir" install
 }

yochananmarqos commented on 2024-07-11 00:00 (UTC)

@Jomosoto: Can't reproduce. See my pinned comment here.

Jomosoto commented on 2024-07-10 22:46 (UTC)

The build fails for me on Artix Linux with the following error message:

error: failed to run custom build command for `cosmic-files v0.1.0 (https://github.com/pop-os/cosmic-files#66cef478)`

Caused by:
  process didn't exit successfully: `/home/user/.cache/yay/xdg-desktop-portal-cosmic-git/src/xdg-desktop-portal-cosmic/target/release/build/cosmic-files-729d7f483f73afdc/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=i18n
  cargo:rerun-if-env-changed=VERGEN_GIT_COMMIT_DATE
  cargo:rerun-if-env-changed=VERGEN_GIT_SHA

  --- stderr
  Error: not within a suitable 'git' worktree!