diff options
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | plank-player-git.install | 3 |
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0965f06fea0e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = plank-player-git + pkgdesc = Multimedia Player for playing local files on Plasma Bigscreen + pkgver = r01.3ba5ba8 + pkgrel = 1 + url = https://invent.kde.org/Plasma-Bigscreen/plank-player/ + install = plank-player-git.install + arch = x86_64 + arch = i686 + arch = armv7h + arch = aarch64 + license = GPL + makedepends = git + makedepends = cmake + makedepends = extra-cmake-modules + depends = qt5-base + depends = qt5-quickcontrols2 + depends = qt5-multimedia + depends = qt5-declarative + depends = kirigami2 + depends = gst-plugins-base + depends = gst-plugins-good + depends = gst-plugins-bad + depends = gst-libav + provides = plank-player + conflicts = plank-player + source = git+https://invent.kde.org/Plasma-Bigscreen/plank-player + sha512sums = SKIP + +pkgname = plank-player-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..25ff03275b53 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Aditya Mehra <aix (dot) m (at) outlook (dot) com> + +_pkgname=plank-player +pkgname=plank-player-git +pkgver=r01.3ba5ba8 +pkgrel=1 +pkgdesc="Multimedia Player for playing local files on Plasma Bigscreen" +arch=("x86_64" "i686" "armv7h" "aarch64") +url="https://invent.kde.org/Plasma-Bigscreen/plank-player/" +license=('GPL') +depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-multimedia' 'qt5-declarative' 'kirigami2' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'gst-libav') +makedepends=('git' 'cmake' 'extra-cmake-modules') +provides=("plank-player") +conflicts=("plank-player") +install=$pkgname.install +source=('git+https://invent.kde.org/Plasma-Bigscreen/plank-player') +sha512sums=('SKIP') + +pkgver() { + cd $srcdir/$_pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd $srcdir/$_pkgname + mkdir -p build && cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + make +} + +package() { + cd $srcdir/$_pkgname/build + make DESTDIR="$pkgdir/" install +} diff --git a/plank-player-git.install b/plank-player-git.install new file mode 100644 index 000000000000..c5c7176be872 --- /dev/null +++ b/plank-player-git.install @@ -0,0 +1,3 @@ +post_install() { + echo " " +} |