Skip to content

Commit

Permalink
Add lingmo-videoplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
chun-awa committed Sep 21, 2024
1 parent 51aa0c1 commit 5e6d65e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lingmo-videoplayer/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
pkgbase = lingmo-videoplayer
pkgdesc = Open source video player built using Qt/QML and libmpv.
pkgver = 2.0.0
pkgrel = 1
url = https://lingmo.org
arch = x86_64
license = GPL
makedepends = extra-cmake-modules
depends = mpv
depends = qt5-base
depends = qt5-quickcontrols2
depends = qt5-tools
source = https://github.com/LingmoOS/lingmo-videoplayer/archive/refs/tags/2.0.0.tar.gz
sha256sums = 2afd37a4b35d834e7b0749009e65cb639e9f163219ee742e63f2cac3b5d590e9

pkgname = lingmo-videoplayer
28 changes: 28 additions & 0 deletions lingmo-videoplayer/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Maintainer: chun-awa <[email protected]>
# Maintainer: Intro <[email protected]>
pkgname=lingmo-videoplayer
arch=("x86_64")
depends=("mpv" "qt5-base" "qt5-quickcontrols2" "qt5-tools")
makedepends=("extra-cmake-modules")
pkgdesc="Open source video player built using Qt/QML and libmpv."
pkgrel=1
pkgver=2.0.0
url="https://lingmo.org"
license=("GPL")
source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('2afd37a4b35d834e7b0749009e65cb639e9f163219ee742e63f2cac3b5d590e9')

prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p build
}

build() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd ${pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
}

0 comments on commit 5e6d65e

Please sign in to comment.