Package Details: freelib-git 6.0.53.r103.gcf3f1aa-1

Git Clone URL: https://aur.archlinux.org/freelib-git.git (read-only, click to copy)
Package Base: freelib-git
Description: Freelib is book library manager
Upstream URL: https://github.com/petrovvlad/freeLib
Licenses: GPL3
Conflicts: freelib
Provides: freelib
Submitter: feo.me
Maintainer: FabioLolix (petrov.vlad)
Last Packager: FabioLolix
Votes: 2
Popularity: 0.001545
First Submitted: 2022-02-26 22:50 (UTC)
Last Updated: 2024-03-04 23:38 (UTC)

Latest Comments

VyacheslavS commented on 2024-01-10 08:13 (UTC) (edited on 2024-01-10 08:14 (UTC) by VyacheslavS)

There is not enough dependency to build the package: qt6-httpserver.

Install it before assembly:

pacman -S qt6-httpserver

VyacheslavS commented on 2024-01-10 07:15 (UTC) (edited on 2024-01-10 07:19 (UTC) by VyacheslavS)

Error when building the package:

Could NOT find Qt6HttpServer (missing: Qt6HttpServer_DIR)
CMake Error at freeLib/src/CMakeLists.txt:16 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "HttpServer".

  Expected Config file at
  "/usr/lib/cmake/Qt6HttpServer/Qt6HttpServerConfig.cmake" does NOT exist



  Configuring with --debug-find-pkg=Qt6HttpServer might reveal details why
  the package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.



Configuring incomplete, errors occurred!
==> ОШИБКА: Произошел сбой в build().
    Прерывание...
 -> ошибка сборки: freelib-git-exit status 4

Zame commented on 2023-02-07 21:41 (UTC)

How to solve it? CMake Error at freeLib/src/quazip/quazip/CMakeLists.txt:48 (add_library): add_library cannot create ALIAS target "QuaZip::QuaZip" because another target with the same name already exists Manjaro Kde, unstabile

petrov.vlad commented on 2022-08-08 16:52 (UTC)

Please, add dependency from https://aur.archlinux.org/packages/kindlegen

DaarkWel commented on 2022-07-30 17:21 (UTC) (edited on 2022-07-30 17:21 (UTC) by DaarkWel)

It was updated upstream. Maybe use pkgver function in PKGBUILD? Smthng like this:

pkgname=freelib6-git
_pkgname=freeLib
pkgver=20220625.389
pkgrel=1
pkgdesc="Home library with librusec/flibusta support"
arch=('i686' 'x86_64')
provides=("freelib")
conflicts=("freelib" "freelib-git")
url="https://github.com/petrovvlad/freeLib"
license=('GPL')
source=("git+https://github.com/petrovvlad/freeLib.git")
depends=('qt5-base' 'qt5-xmlpatterns' 'quazip-qt5')
makedepends=('git' 'cmake')
sha1sums=('SKIP')

pkgver() {
  cd "${_pkgname}"
  printf "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count HEAD)"
}

prepare() {
  cd "$srcdir/freeLib"
  git submodule update --init --recursive
}

build() {
  cd "$srcdir/freeLib"
  mkdir build
  cd build
  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DQUAZIP_STATIC:BOOL=ON .. && cmake --build .
}

package() {
  cd "$srcdir/freeLib/build"

  make DESTDIR="$pkgdir/" install
}