diff options
author | Rustmilian | 2023-02-23 01:39:01 +0000 |
---|---|---|
committer | Rustmilian | 2023-02-23 01:39:01 +0000 |
commit | 3c1351e2af8b5c5fc6e5d113bbf08ddb34fff3fe (patch) | |
tree | 91f9a25cce245cfb5c85dddaa7a8a9060ee54aa3 | |
parent | 92765d543cbfbfff6ecff74c032351129b977547 (diff) | |
download | aur-3c1351e2af8b5c5fc6e5d113bbf08ddb34fff3fe.tar.gz |
fix
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 24 insertions, 19 deletions
@@ -1,20 +1,19 @@ pkgbase = kcodecs-git pkgdesc = Plugins allowing Qt applications to access further types of images - pkgver = v5.71.0.rc1.r6.g982b8e6 + pkgver = 5.240.0_r481.gb52a6dc pkgrel = 1 - url = https://projects.kde.org/projects/frameworks/kcodecs + url = https://community.kde.org/Frameworks arch = x86_64 - groups = kf5 + groups = kf6-git license = LGPL makedepends = extra-cmake-modules makedepends = gperf makedepends = git - makedepends = qt5-tools - depends = qt5-base + makedepends = qt6-tools + depends = qt6-base provides = kcodecs conflicts = kcodecs - source = git+https://invent.kde.org/frameworks/kcodecs.git + source = git+https://github.com/KDE/kcodecs.git md5sums = SKIP pkgname = kcodecs-git - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..29de6d897df8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg/ +src/ +kcodecs
\ No newline at end of file @@ -2,28 +2,31 @@ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=kcodecs-git -_name=${pkgname%-git} -pkgver=v5.71.0.rc1.r6.g982b8e6 +pkgver=5.240.0_r481.gb52a6dc pkgrel=1 pkgdesc='Plugins allowing Qt applications to access further types of images' arch=(x86_64) -url='https://projects.kde.org/projects/frameworks/kcodecs' +url='https://community.kde.org/Frameworks' license=(LGPL) -depends=(qt5-base) -makedepends=(extra-cmake-modules gperf git qt5-tools) -groups=(kf5) -conflicts=(kcodecs) -provides=(kcodecs) -source=("git+https://invent.kde.org/frameworks/$_name.git") +depends=(qt6-base) +makedepends=(extra-cmake-modules gperf git qt6-tools) +groups=(kf6-git) +conflicts=(${pkgname%-git}) +provides=(${pkgname%-git}) +source=("git+https://github.com/KDE/${pkgname%-git}.git") md5sums=('SKIP') pkgver() { - cd $_name - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd ${pkgname%-git} + _ver="$(grep -m1 'set(KF_VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)" + echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" } build() { - cmake -B build -S $_name + cmake -B build -S ${pkgname%-git} \ + -DQT_MAJOR_VERSION=6 \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON cmake --build build } |