Package Details: hippoplayer 0.2.1-1

Git Clone URL: https://aur.archlinux.org/hippoplayer.git (read-only, click to copy)
Package Base: hippoplayer
Description: A modern music player for your oldsk00l needs
Upstream URL: https://github.com/emoon/HippoPlayer
Licenses: MIT, Apache
Provides: hippoplayer
Submitter: ragouel
Maintainer: nipsky
Last Packager: nipsky
Votes: 0
Popularity: 0.000000
First Submitted: 2020-08-24 23:08
Last Updated: 2021-05-01 09:03

Latest Comments

nipsky commented on 2021-05-01 08:01

Here’s an updated PKGBUILD for the current 0.2 release:

# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=hippoplayer
pkgver=0.2
pkgrel=1
pkgdesc="A modern music player for your oldsk00l needs"
arch=('x86_64')
url='https://github.com/emoon/HippoPlayer'
license=('MIT' 'APACHE')
install=hippoplayer.install
provides=("${pkgname}")
depends=('alsa-lib' 'qt5-base')
makedepends=('git' 'tundra2' 'rustup' 'qt5-base' 'gendesk')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/emoon/HippoPlayer/archive/${pkgver}.tar.gz")
sha256sums=('507537c5d24867c485a3f746fdf483b53de537f52e1aee24fe444bef5c54ba5c')

prepare() {
  cd "HippoPlayer-${pkgver}"
  sed -i "153s|.*|const char* core_name = \"/usr/share/hippoplayer/libhippo_core.so\";|" src/hippo_core_loader/hippo_core_loader.c
}

build() {
  cd "HippoPlayer-${pkgver}"
  export QT5_INC=/usr/include/qt
  export QT5_BIN=/usr/bin
  export QT5_LIB=/usr/lib
  rustup install stable
  rustup default stable
  tundra2 -D linux-gcc-release
}

package() {
  cd "HippoPlayer-${pkgver}"
  echo "#!/usr/bin/env bash
  cd /usr/share/hippoplayer
  ./hippo_player" > hippoplayer.sh
  install -Dm755 hippoplayer.sh "${pkgdir}/usr/bin/hippoplayer"
  install -Dm644 data/hippo.png "${pkgdir}/usr/share/pixmaps/hippoplayer.png"
  install -Dm755 t2-output/linux-gcc-release-default/hippo_player -t "${pkgdir}/usr/share/hippoplayer/"
  install -Dm755 t2-output/linux-gcc-release-default/*.so -t "${pkgdir}/usr/share/hippoplayer/"
  chmod 757 "${pkgdir}/usr/share/hippoplayer/"
  install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
  cp -R data/ "${pkgdir}/usr/share/hippoplayer/"
  cp -R bin/ "${pkgdir}/usr/share/hippoplayer/"
  rm -rf "${pkgdir}/usr/share/hippoplayer/data/mac"
  gendesk -f -n --pkgname "${pkgname}" \
          --pkgdesc "$pkgdesc" \
          --name "HippoPlayer" \
          --comment "$pkgdesc" \
          --exec "${pkgname}" \
          --categories 'Utility;Audio;AudioVideo' \
          --icon "${pkgname}"
  install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
}

nipsky commented on 2020-09-02 05:54

It would probably be better to compile as release instead of debug, as the latter currently seems to bring some serious performance problems when playing SIDs.

nipsky commented on 2020-08-25 19:12

Works now, thanks!

ragouel commented on 2020-08-25 08:38

@nipsky Fixed.

nipsky commented on 2020-08-25 07:22

Hi, trying to build this gives me:

==> Starting prepare()...
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
==> ERROR: A failure occurred in prepare().
    Aborting...