Package Details: assimp-git 5.1.0.r10655.gfe7321342-1

Git Clone URL: https://aur.archlinux.org/assimp-git.git (read-only, click to copy)
Package Base: assimp-git
Description: Portable Open Source library to import various well-known 3D model formats in an uniform manner
Upstream URL: https://www.assimp.org/
Keywords: 3d graphics model
Licenses: BSD
Conflicts: assimp
Provides: assimp
Submitter: lubosz
Maintainer: bartus
Last Packager: bartus
Votes: 3
Popularity: 0.000000
First Submitted: 2010-10-09 14:00 (UTC)
Last Updated: 2021-11-12 19:07 (UTC)

Dependencies (4)

Required by (66)

Sources (1)

Pinned Comments

bartus commented on 2022-03-14 10:30 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

Latest Comments

bartus commented on 2022-03-14 10:30 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

bartus commented on 2021-08-09 15:40 (UTC) (edited on 2021-08-10 06:01 (UTC) by bartus)

Fixes for pkgver() after upstream switch to project version cmake macro plus some refactoring and supply missing depends/makedepends. http://ix.io/3vws/diff

Apply with git am -s < <(curl -s http://ix.io/3vws)

sl1pkn07 commented on 2020-12-07 16:34 (UTC) (edited on 2020-12-07 16:55 (UTC) by sl1pkn07)

for pkgver() function, upstream now use https://github.com/assimp/assimp/blob/master/CMakeLists.txt#L55

also. boost is makedepend, and add minizip as depends

please update it

greetings

EDIT: proposal

diff --git a/PKGBUILD b/PKGBUILD
index 866c7dd..54569cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,17 @@
 #Contributor: socke <github@socker.lepus.uberspace.de>

 pkgname=assimp-git
-pkgver=3.1.1.2748.85e2f47
+pkgver=5.0.1.9432.63f1b6622
 pkgrel=1
 pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner"
 arch=(i686 x86_64)
 url="http://assimp.sourceforge.net/"
 license=('BSD')
-depends=('boost')
-makedepends=('git')
+depends=('minizip')
+makedepends=('git'
+             'boost'
+             'cmake'
+             )
 conflicts=('assimp')
 provides=('assimp='$pkgver)
 options=(makeflags !emptydirs)
@@ -20,15 +23,13 @@ md5sums=('SKIP')

 pkgver() {
   cd $_gitname
-  
-  major=$(grep "set (ASSIMP_VERSION_MAJOR" CMakeLists.txt | sed 's/set (ASSIMP_VERSION_MAJOR //' | sed 's/)//')
-  minor=$(grep "set (ASSIMP_VERSION_MINOR" CMakeLists.txt | sed 's/set (ASSIMP_VERSION_MINOR //' | sed 's/)//')
-  patch=$(grep "set (ASSIMP_VERSION_PATCH" CMakeLists.txt | sed 's/set (ASSIMP_VERSION_PATCH //' | sed 's/) # subversion revision?//')
-  
+
+  ver=$(cat CMakeLists.txt | grep "Assimp VERSION" | grep -o "[[:digit:]]*" | paste -sd'.')
+
   hash=$(git log --pretty=format:'%h' -n 1)
   revision=$(git rev-list --count HEAD)
-  
-  echo $major.$minor.$patch.$revision.$hash
+
+  echo $ver.$revision.$hash
 }

 build() {
@@ -40,4 +41,5 @@ build() {
 package() {
   cd $_gitname
   make DESTDIR=$pkgdir install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
(END)

themariusus commented on 2020-06-09 07:18 (UTC)

depends on cmake

sl1pkn07 commented on 2019-03-19 22:36 (UTC) (edited on 2019-03-19 22:42 (UTC) by sl1pkn07)

Hi

please add -DOpenGL_GL_PREFERENCE=GLVND in the cmake options

and seems the pkgversion handle is change. now got "...6894.8d5551a4-1"

greetings

cguenther commented on 2015-05-24 13:51 (UTC)

It would be nice to add the assimp package to the conflicting ones. best, Christian

socke commented on 2013-07-28 10:42 (UTC)

I have written a new PKGBUILD removing libminizip as dependency and using the new git build mechanisms. https://gist.github.com/faulesocke/fdfa281c16a6b8ddb2b9