mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/libqtxdg to 3.3.1-1
This commit is contained in:
parent
34248af20e
commit
0ffe8dfe03
1 changed files with 32 additions and 24 deletions
|
@ -1,45 +1,53 @@
|
|||
# Maintainer: Jerome Leclanche <jerome@leclan.ch>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - patch to disable LTO
|
||||
# Co-Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
|
||||
|
||||
pkgname=libqtxdg
|
||||
pkgver=3.3.0
|
||||
pkgrel=2
|
||||
pkgver=3.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="Library providing freedesktop.org XDG specs implementations for Qt."
|
||||
arch=("x86_64")
|
||||
url="http://lxqt.org"
|
||||
license=("GPL2")
|
||||
url="https://lxqt.org"
|
||||
license=("LGPL" "custom")
|
||||
depends=("libsm" "libxkbcommon-x11" "qt5-base" "qt5-svg")
|
||||
makedepends=("cmake")
|
||||
makedepends=("cmake" "lxqt-build-tools")
|
||||
checkdepends=("xorg-server-xvfb")
|
||||
source=(
|
||||
"https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
|
||||
"https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
|
||||
'0001-disable-LTO.patch'
|
||||
"https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
|
||||
"https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
|
||||
'0001-disable-LTO.patch'
|
||||
)
|
||||
sha256sums=('14202ba8539adcac13ec1b9a74e61a1965b49c61a7a8e35c8a2924c902371287'
|
||||
sha256sums=('1061fa6a4783df5e33ea2876f03f88b9ffef8157d37da97ea6b217b736c2d6d6'
|
||||
'SKIP'
|
||||
'8d6d7370b40bd54bd7582138926fc258a055e30afeb8de1c3385de333542b54a')
|
||||
validpgpkeys=(
|
||||
"169704C6FB490C6892C7F23C37E0AF1FDA48F373" # Jerome Leclanche <jerome@leclan.ch>
|
||||
"7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3" # Alf Gaida <agaida@siduction.org>
|
||||
"169704C6FB490C6892C7F23C37E0AF1FDA48F373" # Jerome Leclanche <jerome@leclan.ch>
|
||||
"7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3" # Alf Gaida <agaida@siduction.org>
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 -i ../0001-disable-LTO.patch
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 -i ../0001-disable-LTO.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake "$srcdir/$pkgname-$pkgver" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
make
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake "$srcdir/$pkgname-$pkgver" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_TESTS=ON
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd build
|
||||
|
||||
xvfb-run make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 "$srcdir/$pkgname-$pkgver"/{AUTHORS,COPYING,Digia-Qt-LGPL-Exception-1.1} \
|
||||
-t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue