⬆️ Upgrade ogre pkg to 13.3.1
This commit is contained in:
43
ogre/PKGBUILD
Normal file
43
ogre/PKGBUILD
Normal file
@ -0,0 +1,43 @@
|
||||
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
|
||||
|
||||
pkgname=ogre
|
||||
pkgver=13.3.1
|
||||
pkgrel=1
|
||||
pkgdesc='Scene-oriented, flexible 3D engine written in C++'
|
||||
arch=('x86_64')
|
||||
url='https://www.ogre3d.org'
|
||||
license=('custom:MIT')
|
||||
depends=('libfreeimage-dev' 'libfreetype6-dev' 'libzzip-dev' 'libois-dev'
|
||||
'nvidia-cg-toolkit' 'libzzip-dev' 'libtinyxml-dev' 'libxrandr-dev'
|
||||
'libgles2-mesa-dev' 'libxt-dev' 'libxaw7-dev' 'libglu1-mesa-dev' 'libpugixml-dev')
|
||||
makedepends=('cmake')
|
||||
provides=('ogre')
|
||||
source=("https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=('903994fafe0aaa41fbfcb34093a04253ee1c3df2419268035a32136bdc3ca1bb60c4e650437b96764b6466a234ac75499ec109c7a77903d027b62c86529453e5')
|
||||
|
||||
prepare() {
|
||||
mkdir -p ogre-${pkgver}/build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ogre-${pkgver}/build
|
||||
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DOGRE_BUILD_DEPENDENCIES=FALSE \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \
|
||||
-DOGRE_BUILD_PLUGIN_EXRCODEC=TRUE \
|
||||
-DOGRE_BUILD_SAMPLES=FALSE \
|
||||
-DOGRE_INSTALL_DOCS=FALSE
|
||||
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ogre-${pkgver}/build
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
install -Dm644 ../Docs/License.md ${pkgdir}/usr/share/licenses/${pkgname}/license
|
||||
}
|
Reference in New Issue
Block a user