36 lines
847 B
Bash
36 lines
847 B
Bash
#!/usr/bin/env bash
|
|
name='qt6-imageformats'
|
|
release='4'
|
|
version='6.9.1'
|
|
url='https://www.qt.io/'
|
|
description='Plugins for additional image formats: TIFF, MNG, TGA, WBMP'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('GPLv3')
|
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtimageformats-everywhere-src-${version}.tar.xz")
|
|
depends=(qt6-base)
|
|
makedepends=(cmake ninja)
|
|
sha256sums=('ebe9f238daaf9bb752c7233edadf4af33fc4fa30d914936812b6410d3af1577c')
|
|
group=(dev.qt)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd "qtimageformats-everywhere-src-"${version}
|
|
export PATH=/usr/bin/qt6:$PATH
|
|
|
|
|
|
setup() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DINSTALL_PUBLICBINDIR=usr/bin \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
}
|
|
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
DESTDIR="$DESTDIR" cmake --install build
|
|
} |