-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gamehub gamehub-git] first revision
- Loading branch information
FabioLolix
committed
Jan 29, 2019
1 parent
06aaea6
commit 54358dc
Showing
4 changed files
with
78 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
pkgbase = gamehub-git | ||
pkgdesc = All your games in one place. Games manager/downloader/library written in Vala designed for Pantheon Shell. Supports GOG, Steam and Humble Bundle | ||
pkgver = r275.a242568 | ||
pkgdesc = Games manager, downloader, library that supports GOG, Steam and Humble Bundle. Designed for Pantheon Shell | ||
pkgver = 0.13.1.1.master.r0.g1f713f3 | ||
pkgrel = 1 | ||
url = https://github.com/tkashkin/GameHub | ||
arch = i686 | ||
arch = x86_64 | ||
arch = armv6h | ||
arch = armv7h | ||
arch = aarch64 | ||
license = GPL3 | ||
makedepends = git | ||
makedepends = meson | ||
makedepends = ninja | ||
makedepends = vala | ||
depends = libgranite.so | ||
depends = gtk3 | ||
depends = vala | ||
depends = granite | ||
depends = file-roller | ||
depends = glib2 | ||
depends = libmanette | ||
depends = libgee | ||
depends = libsoup | ||
depends = libxtst | ||
depends = libxml2 | ||
depends = libx11 | ||
depends = json-glib | ||
depends = sqlite | ||
depends = webkit2gtk | ||
optdepends = lib32-json-glib | ||
depends = libmanette | ||
depends = libxtst | ||
provides = gamehub | ||
conflicts = gamehub | ||
source = git+https://github.com/tkashkin/GameHub.git#branch=dev | ||
md5sums = SKIP | ||
options = !strip | ||
options = debug | ||
source = git+https://github.com/tkashkin/GameHub.git | ||
sha256sums = SKIP | ||
|
||
pkgname = gamehub-git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,37 @@ | ||
# Maintainer: Helder Bertoldo <[email protected]> | ||
# Contributor: | ||
# Maintainer: Fabio 'Lolix' Loli <[email protected]> | ||
# Maintainer: tkashkin | ||
# Maintainer: neuromancer | ||
# Contributor: friday (github) | ||
# Contributor: Helder Bertoldo <[email protected]> | ||
|
||
_author=tkashkin | ||
_gitname=GameHub | ||
_auxname=gamehub | ||
pkgname=("${_auxname}-git") | ||
pkgver=r344.1537eed | ||
pkgname=gamehub-git | ||
pkgver=0.13.1.1.master.r0.g1f713f3 | ||
pkgrel=1 | ||
pkgdesc="All your games in one place. Games manager/downloader/library written in Vala designed for Pantheon Shell. Supports GOG, Steam and Humble Bundle" | ||
arch=('i686' 'x86_64') | ||
url="https://github.com/${_author}/${_gitname}" | ||
license=('GPL3') | ||
depends=('gtk3' 'vala' 'granite' | ||
'file-roller' 'glib2' 'libmanette' 'libgee' 'libsoup' 'libxtst' | ||
'libxml2' 'libx11' 'json-glib' 'sqlite' 'webkit2gtk') | ||
optdepends=('lib32-json-glib') | ||
makedepends=('git' 'meson' 'ninja') | ||
provides=("${_auxname}") | ||
conflicts=("${_auxname}") | ||
source=("git+${url}.git#branch=dev") | ||
md5sums=('SKIP') | ||
pkgdesc="Games manager, downloader, library that supports GOG, Steam and Humble Bundle. Designed for Pantheon Shell" | ||
arch=(i686 x86_64 armv6h armv7h aarch64) | ||
url="https://github.com/tkashkin/GameHub" | ||
license=(GPL3) | ||
depends=(libgranite.so gtk3 glib2 libgee libsoup json-glib sqlite webkit2gtk libmanette libxtst) | ||
makedepends=(git meson ninja vala) | ||
provides=(gamehub) | ||
conflicts=(gamehub) | ||
options=(!strip debug) | ||
source=("git+${url}.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "${_gitname}" | ||
( set -o pipefail | ||
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || | ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
) | ||
cd "GameHub" | ||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd "${_gitname}/" | ||
meson . _build --prefix=/usr --buildtype=debug -Ddistro=arch | ||
unset CFLAGS | ||
unset CXXFLAGS | ||
unset CPPFLAGS | ||
ninja -C _build | ||
cd "GameHub" | ||
CFLAGS="$CFLAGS -O0" meson . build --prefix=/usr -Ddistro=arch --buildtype=debug | ||
ninja -C build | ||
} | ||
|
||
package() { | ||
cd "${_gitname}/" | ||
DESTDIR="${pkgdir}" ninja -C _build install | ||
cd "GameHub" | ||
DESTDIR="${pkgdir}" ninja -C build install | ||
ln -s /usr/bin/com.github.tkashkin.gamehub "$pkgdir/usr/bin/gamehub" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
pkgbase = gamehub | ||
pkgdesc = Games manager/downloader/library written in Vala that supports GOG, Steam and Humble Bundle | ||
pkgver = 0.6.2 | ||
pkgdesc = Games manager, downloader, library that supports GOG, Steam and Humble Bundle. Designed for Pantheon Shell | ||
pkgver = 0.13.1.1.master | ||
pkgrel = 1 | ||
url = https://github.com/tkashkin/GameHub | ||
arch = any | ||
license = unknown | ||
arch = i686 | ||
arch = x86_64 | ||
arch = armv6h | ||
arch = armv7h | ||
arch = aarch64 | ||
license = GPL3 | ||
makedepends = meson | ||
makedepends = ninja | ||
makedepends = vala | ||
depends = granite | ||
depends = libgranite.so | ||
depends = gtk3 | ||
depends = glibc | ||
depends = webkit2gtk | ||
depends = json-glib | ||
depends = glib2 | ||
depends = libgee | ||
depends = libsoup | ||
depends = json-glib | ||
depends = sqlite | ||
depends = gdk-pixbuf2 | ||
depends = cairo | ||
conflicts = gamehub-git | ||
source = GameHub-0.6.2.tar.gz::https://github.com/tkashkin/GameHub/archive/0.6.2.tar.gz | ||
md5sums = 15f58636acd5946185fbca1c65a6a17c | ||
depends = webkit2gtk | ||
depends = libmanette | ||
depends = libxtst | ||
options = !strip | ||
options = debug | ||
source = GameHub-0.13.1.1.master.tar.gz::https://github.com/tkashkin/GameHub/archive/0.13.1-1-master.tar.gz | ||
sha256sums = 387412b6203b1e68bfec27ef7fab46e5dbf7e9cd5cebce6b6698a00e67d9b7e0 | ||
|
||
pkgname = gamehub | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
# Maintainer: Robert Stoffers <[email protected]> | ||
# Maintainer: Fabio 'Lolix' Loli <[email protected]> | ||
# Maintainer: tkashkin | ||
# Maintainer: neuromancer | ||
# Contributor: friday (github) | ||
# Contributor: Robert Stoffers <[email protected]> | ||
|
||
pkgname=gamehub | ||
pkgver=0.6.2 | ||
_pkgver=0.13.1-1-master | ||
pkgver=${_pkgver//-/.} | ||
pkgrel=1 | ||
pkgdesc="Games manager/downloader/library written in Vala that supports GOG, Steam and Humble Bundle" | ||
arch=('any') | ||
pkgdesc="Games manager, downloader, library that supports GOG, Steam and Humble Bundle. Designed for Pantheon Shell" | ||
arch=(i686 x86_64 armv6h armv7h aarch64) | ||
url="https://github.com/tkashkin/GameHub" | ||
license=('unknown') | ||
depends=('granite' 'gtk3' 'glibc' 'webkit2gtk' 'json-glib' 'libgee' 'libsoup' 'sqlite' 'gdk-pixbuf2' 'cairo') | ||
makedepends=('meson' 'ninja' 'vala') | ||
conflicts=('gamehub-git') | ||
source=("GameHub-$pkgver.tar.gz"::https://github.com/tkashkin/GameHub/archive/$pkgver.tar.gz) | ||
md5sums=('15f58636acd5946185fbca1c65a6a17c') | ||
license=(GPL3) | ||
depends=(libgranite.so gtk3 glib2 libgee libsoup json-glib sqlite webkit2gtk libmanette libxtst) | ||
makedepends=(meson ninja vala) | ||
options=(!strip debug) | ||
source=("GameHub-$pkgver.tar.gz::https://github.com/tkashkin/GameHub/archive/${_pkgver}.tar.gz") | ||
sha256sums=('387412b6203b1e68bfec27ef7fab46e5dbf7e9cd5cebce6b6698a00e67d9b7e0') | ||
|
||
build() { | ||
cd "GameHub-$pkgver" | ||
meson build --prefix=/usr -Ddistro=arch | ||
cd build | ||
ninja | ||
cd "GameHub-$_pkgver" | ||
CFLAGS="$CFLAGS -O0" meson . build --prefix=/usr -Ddistro=arch --buildtype=debug | ||
ninja -C build | ||
} | ||
|
||
package() { | ||
cd "GameHub-$pkgver"/build | ||
DESTDIR=$pkgdir ninja install | ||
sudo ln -s /usr/bin/com.github.tkashkin.gamehub /usr/bin/gamehub | ||
cd "GameHub-$_pkgver" | ||
DESTDIR="${pkgdir}" ninja -C build install | ||
ln -s /usr/bin/com.github.tkashkin.gamehub "$pkgdir/usr/bin/gamehub" | ||
} |