aboutsummaryrefslogblamecommitdiffstats
path: root/community/phonon/APKBUILD
blob: 6ddef6216e303a3df7e1591eb2d0e0842b10e94c (plain) (tree)
1
2
3
4
5
6
7
8
              
                                                          
              
             
        
                                
                             
          


                                                             
                          
                                                                              
 

                                                    
         






                                                                     


           
                                      

 
                                                                                                                                                                   
# Contributor:
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=phonon
pkgver=4.10.2
pkgrel=1
pkgdesc="KDE multimedia backend"
url="https://phonon.kde.org/"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtdeclarative-dev glib-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qtbase-dev"
subpackages="$pkgname-dev"
source="http://download.kde.org/stable/phonon/${pkgver}/phonon-$pkgver.tar.xz"

options="!check" # No test configuration file found!

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
		-DPHONON_BUILD_PHONON4QT5=ON
	make
}

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

sha512sums="205c2f41691ed37a2b24aa5e900f7720ba024d2046ea4bf0a9b9c46235ffd72dfb4010287ccf753b13e395f84c2a202cbb76454806de3519faf52c3ac7001c4e  phonon-4.10.2.tar.xz"