blob: aaeb8bd978a0da267083b710fa6a11e9148d36cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
pkgname=pegasus-frontend
pkgver=12_alpha
_realver=alpha12
pkgrel=0
pkgdesc="A cross platform, customizable graphical frontend for launching emulators and managing your game collection."
url="http://pegasus-frontend.org"
arch="all !armhf"
license="GPL-1.0-or-later"
depends="qt5-qtquickcontrols mesa qt5-qtgraphicaleffects qt5-qtgamepad qt5-qtmultimedia"
makedepends="qt5-qttools-dev openssl qt5-qtsvg-dev qt5-qtquickcontrols2-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtgamepad-dev qt5-qtmultimedia-dev"
subpackages="$pkgname-doc"
options="!check" #disabled due to compilation problems
_translations_commit=b9eb734f8583e044b999d8c673dd5da0851ec8f5
_thirdparty_commit=a16b36d64ced67da31a3465ba6a7ad593378a0eb
_theme_commit=ccaf3152574992eacbda81ccf6624731e07e963e
source="$pkgname-$_realver.zip::https://github.com/mmatyas/pegasus-frontend/archive/$_realver.zip
$pkgname-$_realver-translations.zip::https://github.com/mmatyas/$pkgname-translations/archive/$_translations_commit.zip
$pkgname-$_realver-thirdparty.zip::https://github.com/mmatyas/SortFilterProxyModel/archive/$_thirdparty_commit.zip
$pkgname-$_realver-themes.zip::https://github.com/mmatyas/pegasus-theme-grid/archive/$_theme_commit.zip"
builddir="$srcdir/$pkgname-$_realver"
prepare() {
mv "$srcdir"/$pkgname-translations-$_translations_commit/* "$builddir"/lang
mv "$srcdir"/SortFilterProxyModel-$_thirdparty_commit/* "$builddir"/thirdparty/SortFilterProxyModel
mv "$srcdir"/pegasus-theme-grid-$_theme_commit/* "$builddir"/src/themes/pegasus-theme-grid
}
build() {
qmake-qt5 pegasus.pro \
INSTALL_BINDIR=/usr/bin \
INSTALL_DATADIR=/usr/share/pegasus-frontend \
INSTALL_ICONDIR=/usr/share/pixmaps \
INSTALL_DESKTOPDIR=/usr/share/applications
make
}
package() {
make INSTALL_ROOT="$pkgdir" install
install -Dm644 "README.md" "$pkgdir"/usr/share/doc/"$pkgname"/README.md
install -Dm644 "LICENSE.md" "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
sha512sums="15397c1bea8cdc52b0d5c386352cc1d28bfff9491fbf7c7e3f88baf83e98ff9e5afe6d9947ff69db65701e6837a41c40ba18865ada49521d0658cc5601c63aaf pegasus-frontend-alpha12.zip
48265568df3f83efa372d45233b0954f0e3a48e4085e0beeed01f2601e580cb1af9713d7edb48c010afa9af9e952df256718e99402fa2363c548a939682cdd8e pegasus-frontend-alpha12-translations.zip
545ace1a9641e988f3fbc91a5933ef05f5044fef672d50347dc890ca13efdf325d0c28eb0612040c2cf743fe8fbf80e1b16b236382fdb5bd7d495e95d0c02860 pegasus-frontend-alpha12-thirdparty.zip
ac6addb71483e5f45f60a5815b4f1e6695f794446bacc3323a84155c03ec95e08d084ee4879c381cef428114f34596837e088de03b55679eeed2bd5bb1126bb8 pegasus-frontend-alpha12-themes.zip"
|