diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-05-02 16:23:49 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-04 20:20:15 +0000 |
commit | fdb59ba80de4b51c111ff16d9d5d5648dbc6af81 (patch) | |
tree | 7d8b89db64d0ac3c22b488a21a6995bf16a935ef /testing/mellowplayer | |
parent | 8e8a60e7b898c468c0f249776ab5467e85b133a2 (diff) | |
download | aports-fdb59ba80de4b51c111ff16d9d5d5648dbc6af81.tar.bz2 aports-fdb59ba80de4b51c111ff16d9d5d5648dbc6af81.tar.xz |
testing/mellowplayer: new aport
Diffstat (limited to 'testing/mellowplayer')
-rw-r--r-- | testing/mellowplayer/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/mellowplayer/APKBUILD b/testing/mellowplayer/APKBUILD new file mode 100644 index 0000000000..360b468dd8 --- /dev/null +++ b/testing/mellowplayer/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=mellowplayer +pkgver=3.5.3 +pkgrel=0 +pkgdesc="QT based cloud music integration for your desktop" +url="https://colinduquesnoy.gitlab.io/MellowPlayer/" +arch="all" +license="GPL-2.0-or-later" +depends="qt5-qtgraphicaleffects qt5-qtquickcontrols qt5-qtsvg qt5-qtwayland" +makedepends="cmake qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtbase-mysql + qt5-qtbase-sqlite qt5-qtbase-postgresql qt5-qtbase-tds qt5-qtbase-odbc + qt5-qtsvg-dev qt5-qttools-dev qt5-qtlocation-dev qt5-qtwebengine-dev + qt5-qtwebchannel-dev libnotify-dev" +options="!check" # Need DISPLAY +source="https://gitlab.com/ColinDuquesnoy/MellowPlayer/-/archive/${pkgver}/MellowPlayer-${pkgver}.tar.gz" +builddir="$srcdir/MellowPlayer-$pkgver" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="9753af37812c050d9547d318e16259e40be3c793d69cad6f16519661fdb75ee48b18e1f324e286505c813af2942eed999fc9df9c5e62ca986374611bdfe26362 MellowPlayer-3.5.3.tar.gz" |