summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6749adcd4be9104e2c9707e98863d967727d7f17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: DDoSolitary <DDoSolitary@gmail.com>

pkgname=libvlc-qt
_pkgname=vlc-qt
pkgver=1.1.1
pkgrel=2
pkgdesc='A simple library to connect Qt application with libvlc'
arch=('i686' 'x86_64')
url='https://github.com/vlc-qt/vlc-qt'
license=('LGPL3')
depends=('vlc' 'qt5-declarative')
makedepends=('cmake')
provides=('libVLCQtCore.so' 'libVLCQtQml.so' 'libVLCQtWidgets.so')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/vlc-qt/vlc-qt/archive/$pkgver.tar.gz")
sha256sums=('bdc8adb85d2c81e2b07630042e38b894b18882f74b3dbb97b33f357b50135bce')

prepare() {
	mkdir -p build
}

build() {
	cd build
	cmake ../$_pkgname-$pkgver \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DSYSTEM_QML=ON
	make
}

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