Package Details: directfb2-git r148.0fdf5df39-3

Git Clone URL: https://aur.archlinux.org/directfb2-git.git (read-only, click to copy)
Package Base: directfb2-git
Description: a fork of DirectFB whose purpose is to preserve and maintain the DirectFB graphics backend, particularly for use on embedded systems.
Upstream URL: https://directfb2.github.io/
Licenses: LGPL
Conflicts: directfb
Provides: directfb
Submitter: Popolon
Maintainer: Popolon
Last Packager: Popolon
Votes: 0
Popularity: 0.000000
First Submitted: 2022-08-20 18:40 (UTC)
Last Updated: 2022-12-13 22:04 (UTC)

Dependencies (4)

Required by (10)

Sources (1)

Latest Comments

Popolon commented on 2024-03-26 23:39 (UTC)

It looks like makepkg beavhiour changed after recent libalpm release. ${name} and ${pkgname} are see both as the value of ${pkgname}. I just renamed ${name} ${_name}, and it works fine now.

aperez commented on 2024-03-25 08:25 (UTC)

I needed to apply the following changes to be able to build in a clean chroot:

diff --git a/PKGBUILD b/PKGBUILD
index 25c5211..e18cf71 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,4 @@
 # Maintainer: Popolon <popolon@popolon.org>
-name=directfb2
 pkgname=directfb2-git
 pkgver=r148.0fdf5df39
 pkgrel=3
@@ -11,21 +10,21 @@ makedepends=('git' 'meson' 'ninja' 'flux-git')
 conflicts=('directfb')
 provides=('directfb')
 provides=('directfb')
-source=("directfb2::git+https://github.com/directfb2/DirectFB2.git")
+source=("${pkgname}::git+https://github.com/directfb2/DirectFB2.git")
 sha256sums=('SKIP')

 pkgver() {
-  cd "${srcdir}/${name}"
+  cd "${pkgname}"
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

 build() {
-  cd "${srcdir}/${name}"
+  cd "${pkgname}"
   meson setup -Dmulti=true -Dprefix=/usr build/
   ninja -C build/
 }

 package() {
-  cd "${srcdir}/${name}"
+  cd "${pkgname}"
   DESTDIR=${pkgdir} ninja -C build/ install
 }

Popolon commented on 2022-12-13 19:40 (UTC)

Files conflicts between directfb and directfb2, this only mean that package is an alternative to directfb that can be used by other pacakges that depend on directfb. It doesn't mean that it definitively replace it.

FabioLolix commented on 2022-12-12 22:23 (UTC)

Please don't use replaces=(directfb) until directfb is removed from the AUR

Popolon commented on 2022-11-29 22:34 (UTC)

Thanks, looks like behavior changed, updated the git source URL, works again.

RAMChYLD commented on 2022-11-29 15:41 (UTC)

Just a note that the PKGBUILD is broken.

The URL in pkgbuild is pointing to the website which causes a not found error during the download phase.

If you must keep URL pointed to the homepage instead of the repo, you must change the source to read "directfb2::git+https://github.com/directfb2/directfb2.git" instead of "directfb2::git+${url}". This is because URL points to the homepage instead of the git repo, and when makepkg is run it expected to find git repo files in the location.

Popolon commented on 2022-08-24 22:28 (UTC)

Thank you, fixed.

dreieck commented on 2022-08-24 13:00 (UTC)

Upstream $url should be https://directfb2.github.io/.

https://github.com/directfb2/DirectFB2 is for the source code, but at https://directfb2.github.io/ there is a dedicated website of the project.

Thanks for maintaining!