mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 12:47:13 +08:00
37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=qt5-multimedia
|
|
pkgver=5.0.1
|
|
_pkgver=5.0.1
|
|
pkgrel=1
|
|
pkgdesc=('A cross-platform application and UI framework, QtMultimedia files')
|
|
arch=('x86_64')
|
|
url='http://qt.nokia.com/'
|
|
license=('GPL3' 'LGPL')
|
|
depends=('qt5-declarative' 'openal' 'libxslt' 'libxcomposite' 'gstreamer0.10' 'gstreamer0.10-base'
|
|
'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-bad-plugins'
|
|
'gstreamer0.10-ffmpeg' 'gstreamer0.10-ugly-plugins')
|
|
options=('!libtool')
|
|
groups=('qt5')
|
|
_pkgfqn="qtmultimedia-opensource-src-${_pkgver}"
|
|
source=("http://origin.releases.qt-project.org/qt5/${_pkgver}/submodules_tar/qtmultimedia-opensource-src-${_pkgver}.tar.xz")
|
|
md5sums=('00a577bd88e682d1b4d01d41d1d699cf')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgfqn
|
|
|
|
/usr/lib/qt5/bin/qmake
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgfqn
|
|
make INSTALL_ROOT=$pkgdir install
|
|
|
|
mkdir -p ${pkgdir}/usr/bin
|
|
for i in $(ls ${pkgdir}/usr/lib/qt5/bin); do
|
|
ln -s /usr/lib/qt5/bin/${i} ${pkgdir}/usr/bin/${i}-qt5
|
|
done
|
|
}
|
|
|