moved lots to gui
This commit is contained in:
		
							parent
							
								
									71b5f9a679
								
							
						
					
					
						commit
						685fe1f01b
					
				
					 48 changed files with 0 additions and 0 deletions
				
			
		
							
								
								
									
										33
									
								
								gui/glm/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								gui/glm/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | |||
| pkgname=glm | ||||
| pkgver=0.9.9.8 | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl -L "https://github.com/g-truc/glm/archive/refs/tags/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz | ||||
| 	tar -xf $pkgname-$pkgver.tar.gz | ||||
| 	mkdir $pkgname-$pkgver/build | ||||
| } | ||||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cd build | ||||
| 	cmake -G Ninja ../ \ | ||||
| 		-DCMAKE_BUILD_TYPE=Release \ | ||||
| 		-DCMAKE_INSTALL_PREFIX=/usr \ | ||||
| 		-DCMAKE_INSTALL_LIBDIR=lib \ | ||||
| 		-DCMAKE_CXX_FLAGS='-Wno-implicit-int-float-conversion -Wno-implicit-int-conversion' | ||||
| 	samu | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	install -d $pkgdir/usr/include | ||||
| 	cp -r ./glm $pkgdir/usr/include/ | ||||
| 	install -d $pkgdir/usr/lib/pkgconfig | ||||
| 	cp ../../glm.pc $pkgdir/usr/lib/pkgconfig | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cat LICENSE | ||||
| #	cat COPYING | ||||
| } | ||||
							
								
								
									
										7
									
								
								gui/glm/glm.pc
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								gui/glm/glm.pc
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| prefix=/usr | ||||
| includedir=${prefix}/include | ||||
| 
 | ||||
| Name: GLM | ||||
| Description: OpenGL Mathematics | ||||
| Version: 0.9.9 | ||||
| Cflags: -I${includedir} | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue