Package Details: ftl-sdk 0.10.1-5

Git Clone URL: https://aur.archlinux.org/ftl-sdk.git (read-only, click to copy)
Package Base: ftl-sdk
Description: Software Development Kit for Mixer's FTL Protocol
Upstream URL: https://github.com/Scrumplex/ftl-sdk
Keywords: ftl
Licenses: MIT
Provides: libftl.so
Submitter: Scrumplex
Maintainer: HurricanePootis
Last Packager: HurricanePootis
Votes: 13
Popularity: 0.79
First Submitted: 2021-01-05 13:40 (UTC)
Last Updated: 2024-05-13 13:44 (UTC)

Latest Comments

Sharparam commented on 2024-04-04 13:46 (UTC) (edited on 2024-04-04 13:47 (UTC) by Sharparam)

Currently this doesn't build properly if the CMake generator default is set to anything other than "Unix Makefiles" (such as Ninja).

Please consider updating the build() and package() functions to follow the CMake package guidelines template: https://wiki.archlinux.org/title/CMake_package_guidelines#Template

(Using CMake's commands instead of hardcoding it to use make)

Currently, building this package requires manually overriding the generator before running makepkg, by setting CMAKE_GENERATOR="Unix Makefiles".

micwoj92 commented on 2022-09-12 09:08 (UTC)

No need to include make in makedepends, also I think homepage should be set to upstream repo, https://github.com/microsoft/ftl-sdk.

cobaltspace commented on 2021-07-31 22:27 (UTC) (edited on 2021-07-31 22:35 (UTC) by cobaltspace)

git is a makedependency, or $pkgname-${_commit}::https://github.com/microsoft/ftl-sdk/archive/${_commit}.tar.gz should be the source

esposm03 commented on 2021-04-13 15:03 (UTC)

I had already installed jansson manually, that's why I didn't include -s. Anyway, it still fails to compile, what could be done about that?

Scrumplex commented on 2021-04-13 08:18 (UTC)

I will change the repo back to the upstream one and add patches instead to improve trust and not make you rely on my repository.

Scrumplex commented on 2021-04-13 08:14 (UTC)

esposm03: You need to run makepkg with the --syncdeps / -s flag. The package requires the jansson package, which won't be installed if you don't add -s

esposm03 commented on 2021-04-13 07:59 (UTC)

This package fails to build to me:

git clone https://aur.archlinux.org/ftl-sdk.git --recursive
cd ftl-sdk
makepkg

gives the following:

-- The C compiler identification is Clang 7.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/samuele/.nix-profile/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is Clang 7.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/samuele/.nix-profile/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- FTL DISABLE_AUTO_INGEST: OFF
-- FTL FTL_STATIC_COMPILE: OFF
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PkgConfig: /home/samuele/.nix-profile/bin/pkg-config (found version "0.29.2")
-- Found CURL: /usr/lib/libcurl.so (found version "7.76.0")
-- Checking for module 'jansson'
--   No package 'jansson' found
CMake Error at CMakeLists.txt:51 (add_subdirectory):
  The source directory

    /home/samuele/ftl-sdk/src/ftl-sdk-0.10.1/libjansson

  does not contain a CMakeLists.txt file.


-- Configuring incomplete, errors occurred!
See also "/home/samuele/ftl-sdk/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/samuele/ftl-sdk/src/build/CMakeFiles/CMakeError.log".

```