summaryrefslogblamecommitdiff
path: root/user/lxqt-notificationd/APKBUILD
blob: 1a2d24f3b06dde6fda47b7321c3fefaa7c165110 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                          

            
        
                                          
                             
          
                                  

                   
                                                                                  
                                                   
                                                                                                               

         









                                                                                          

                                          


         
                                                       


           
                                               

 
                                                                                                                                                                              
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=lxqt-notificationd
pkgver=1.2.0
_lxqt=0.12.0
pkgrel=0
pkgdesc="Daemon for notifications in LXQt"
url="https://lxqt.github.io/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1+"
depends=""
makedepends="cmake extra-cmake-modules qt5-qttools-dev liblxqt-dev>=${pkgver%.*}.0
	lxqt-build-tools>=$_lxqt kwindowsystem-dev"
source="https://github.com/lxqt/lxqt-notificationd/releases/download/$pkgver/lxqt-notificationd-$pkgver.tar.xz"

build() {
	if [ "$CBUILD" != "$CHOST" ]; then
		CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
	fi
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		-DCMAKE_C_FLAGS="$CFLAGS" \
		${CMAKE_CROSSOPTS} -Bbuild
	make -C build
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE make -C build test
}

package() {
	make DESTDIR="$pkgdir" -C build install
}

sha512sums="55ae52cf45942ee7992b099cbea1f81776ab7cc17401f903772458dee3e7ea1899bda13c5e6c5e117b2397dbbbe349c6e06dd389f51b03d4853b2f93c5cb000a  lxqt-notificationd-1.2.0.tar.xz"