mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 21:54:49 +08:00
updated gluon to version 0.71.0
This commit is contained in:
parent
95c8a0d55c
commit
6d362ae43b
7
.gitignore
vendored
7
.gitignore
vendored
@ -10,9 +10,7 @@ hdr
|
||||
build.sh
|
||||
clean-builddir.sh
|
||||
clean-workdir.sh
|
||||
copy.sh
|
||||
makepkg
|
||||
move.sh
|
||||
pkgrels-decrease.sh
|
||||
pkgrels-increase.sh
|
||||
pkgrels-reset.sh
|
||||
@ -26,11 +24,6 @@ sync-complete.sh
|
||||
sync-down.sh
|
||||
sync-up-nodb.sh
|
||||
sync-up.sh
|
||||
remove.sh
|
||||
recreate-database.sh
|
||||
upload.sh
|
||||
upload-nodb.sh
|
||||
unlock-database.sh
|
||||
|
||||
*-cfg.conf
|
||||
*-makepkg.conf
|
||||
|
@ -8,7 +8,8 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=gluon
|
||||
pkgver=0.70.0
|
||||
pkgver=0.71.0
|
||||
_pkgver=0.71
|
||||
pkgrel=4
|
||||
pkgdesc="A high-level game development library for the KDE desktop enviornment."
|
||||
arch=('i686' 'x86_64')
|
||||
@ -19,17 +20,19 @@ makedepends=('git' 'eigen' 'cmake' 'automoc4')
|
||||
provides=('gluon')
|
||||
conflicts=('gluon')
|
||||
groups=("kde-uninstall" "kde-support")
|
||||
source=("http://gluon.gamingfreedom.org/sites/default/files/gluon-$pkgver.tar.gz")
|
||||
md5sums=('3f5b6eae22a5c4f41e574b5ef5c66a8e') # gluon-0.70.0.tar.gz
|
||||
source=("http://download.kde.org/download.php?url=unstable/$pkgname/$_pkgver/src/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('e4f284c0ae00e5b8a58cc3e6201857fe')
|
||||
install=gluon.install
|
||||
|
||||
|
||||
build() {
|
||||
msg "Starting make..."
|
||||
|
||||
cd "$srcdir/$pkgname-$pkgname"
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_PHYSICS_COMPONENTS=ON -DBUILD_PHYSICS_ASSETS=ON "$srcdir/$pkgname-$pkgname"
|
||||
mkdir build && cd build
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_PHYSICS_COMPONENTS=ON -DBUILD_PHYSICS_ASSETS=ON ..
|
||||
make || return 1
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
update-desktop-database -q
|
||||
xdg-icon-resource forceupdate --theme hicolor
|
||||
update-mime-database usr/share/mime > /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
@ -7,5 +9,7 @@ post_upgrade() {
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
update-desktop-database -q
|
||||
xdg-icon-resource forceupdate --theme hicolor
|
||||
update-mime-database usr/share/mime > /dev/null
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user