Package Details: slint-cpp-bin 1.8.0-1

Git Clone URL: https://aur.archlinux.org/slint-cpp-bin.git (read-only, click to copy)
Package Base: slint-cpp-bin
Description: Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications
Upstream URL: https://slint-ui.com
Licenses: GPL3
Submitter: amadan
Maintainer: amadan
Last Packager: amadan
Votes: 1
Popularity: 0.000000
First Submitted: 2022-09-20 23:21 (UTC)
Last Updated: 2024-10-11 11:14 (UTC)

Latest Comments

Glucy2 commented on 2024-10-15 11:42 (UTC)

Hello you may delete line 18 and 19 in PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 41ba084..4746071 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,4 @@ package() {
   cd Slint-cpp-$pkgver-Linux-$CARCH/
   mkdir -p ${pkgdir}/usr/
   cp -r . ${pkgdir}/usr/
-  cp ${pkgdir}/usr/include/slint/* ${pkgdir}/usr/include/
-  rm -rf ${pkgdir}/usr/include/slint/
 }

to match the structure in Slint's github release and the build product from source or CMake cannot import Slint::Slint with error like this:

CMake Error in src/CMakeLists.txt:
  Imported target "Slint::Slint" includes non-existent path

    "/usr/include/slint"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

by the way you can add provides and conflicts to PKGBUILD:

provides=("slint-cpp")
conflicts=("slint-cpp")

to provide a selective option when installing slint-cpp

thanks