Skip to content

Commit

Permalink
phonon init
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Aug 23, 2023
1 parent 1c63b59 commit 7741540
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions media/libs/phonon/ympbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env bash
name='phonon'
release='1'
version='4.11.1'
url='https://download.kde.org/stable/phonon'
description='Phonon is the multimedia API for KDE. It replaces the old aRts package.'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://download.kde.org/stable/phonon/$version/phonon-$version.tar.xz")
depends=(qt5-base)
makedepends=(extra-cmake-modules qt5-tools)
md5sums=('d3df5ba646e4b3f11623d998caa40e74')
group=(media.libs)
uses=()
arch=('x86_64')

cd $name-$version

setup () {
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
-DPHONON_BUILD_PHONON4QT5=ON \
..
}

build () {
make -C build $jobs
}

package () {
make -C build install $jobs
}

0 comments on commit 7741540

Please sign in to comment.