forked from Bananymous/banan-os
				
			ports: Add freetype port
This commit is contained in:
		
							parent
							
								
									9f0c2fb6e2
								
							
						
					
					
						commit
						935f69e011
					
				|  | @ -0,0 +1,15 @@ | |||
| #!/bin/bash ../install.sh | ||||
| 
 | ||||
| NAME='freetype' | ||||
| VERSION='2.13.3' | ||||
| DOWNLOAD_URL="https://download.savannah.gnu.org/releases/freetype/freetype-$VERSION.tar.gz#5c3a8e78f7b24c20b25b54ee575d6daa40007a5f4eea2845861c3409b3021747" | ||||
| CONFIG_SUB=('builds/unix/config.sub') | ||||
| 
 | ||||
| CONFIGURE_OPTIONS=( | ||||
| 	'lt_cv_deplibs_check_method=pass_all' | ||||
| ) | ||||
| 
 | ||||
| post_install() { | ||||
| 	# remove libtool file | ||||
| 	rm -f $BANAN_SYSROOT/usr/lib/libfreetype.la | ||||
| } | ||||
|  | @ -0,0 +1,31 @@ | |||
| diff -ruN freetype-2.13.3/builds/unix/configure freetype-2.13.3-banan_os/builds/unix/configure
 | ||||
| --- freetype-2.13.3/builds/unix/configure	2024-08-12 14:00:49.000000000 +0300
 | ||||
| +++ freetype-2.13.3-banan_os/builds/unix/configure	2025-07-31 17:40:12.168493444 +0300
 | ||||
| @@ -5474,6 +5474,10 @@
 | ||||
|    lt_cv_deplibs_check_method=pass_all | ||||
|    ;; | ||||
|   | ||||
| +banan_os*)
 | ||||
| +  lt_cv_deplibs_check_method=pass_all
 | ||||
| +  ;;
 | ||||
| +
 | ||||
|  beos*) | ||||
|    lt_cv_deplibs_check_method=pass_all | ||||
|    ;; | ||||
| @@ -11261,6 +11265,16 @@
 | ||||
|    esac | ||||
|    ;; | ||||
|   | ||||
| +banan_os*)
 | ||||
| +  version_type=linux # correct to gnu/linux during the next big refactor
 | ||||
| +  need_lib_prefix=no
 | ||||
| +  need_version=no
 | ||||
| +  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 | ||||
| +  soname_spec='$libname$release$shared_ext$major'
 | ||||
| +  dynamic_linker="$host_os DynamicLoader.so"
 | ||||
| +  shlibpath_var=LD_LIBRARY_PATH
 | ||||
| +  ;;
 | ||||
| +
 | ||||
|  beos*) | ||||
|    library_names_spec='$libname$shared_ext' | ||||
|    dynamic_linker="$host_os ld.so" | ||||
		Loading…
	
		Reference in New Issue