mirror of
				https://github.com/Tha14/toxic.git
				synced 2025-10-31 16:06:53 +01:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			game
			...
			script_fix
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | f2b1c81279 | ||
|  | 768617a129 | 
| @@ -55,9 +55,9 @@ author = 'Jakob Kreuze' | ||||
| # built documents. | ||||
| # | ||||
| # The short X.Y version. | ||||
| version = '0.11.0' | ||||
| version = '0.11.1' | ||||
| # The full version, including alpha/beta/rc tags. | ||||
| release = '0.11.0' | ||||
| release = '0.11.1' | ||||
|  | ||||
| # The language for content autogenerated by Sphinx. Refer to documentation | ||||
| # for a list of supported languages. | ||||
|   | ||||
| @@ -19,6 +19,8 @@ ifneq ($(AUDIO), disabled) | ||||
| ifneq ($(VIDEO), disabled) | ||||
|     -include $(CHECKS_DIR)/video.mk | ||||
| endif | ||||
| endif | ||||
| endif | ||||
|  | ||||
| #check if we want to build with game support | ||||
| GAMES := $(shell if [ -z "$(DISABLE_GAMES)" ] || [ "$(DISABLE_GAMES)" = "0" ] ; then echo enabled ; else echo disabled ; fi) | ||||
| @@ -26,9 +28,6 @@ ifneq ($(GAMES), disabled) | ||||
|     -include $(CHECKS_DIR)/games.mk | ||||
| endif | ||||
|  | ||||
| endif | ||||
| endif | ||||
|  | ||||
| # Check if we want build sound notifications support | ||||
| SND_NOTIFY := $(shell if [ -z "$(DISABLE_SOUND_NOTIFY)" ] || [ "$(DISABLE_SOUND_NOTIFY)" = "0" ] ; then echo enabled ; else echo disabled ; fi) | ||||
| ifneq ($(SND_NOTIFY), disabled) | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| # Version | ||||
| TOXIC_VERSION = 0.11.0 | ||||
| TOXIC_VERSION = 0.11.1 | ||||
| REV = $(shell git rev-list HEAD --count 2>/dev/null || echo -n "error") | ||||
| ifneq (, $(findstring error, $(REV))) | ||||
|     VERSION = $(TOXIC_VERSION) | ||||
|   | ||||
| @@ -131,11 +131,15 @@ mkdir -p "$BUILD_DIR" | ||||
| # Build Toxcore | ||||
| cd "$BUILD_DIR" | ||||
|  | ||||
| TOXCORE_VERSION="0.2.12" | ||||
| TOXCORE_HASH="30ae3263c9b68d3bef06f799ba9d7a67e3fad447030625f0ffa4bb22684228b0" | ||||
| # The git hash of the c-toxcore version we're using | ||||
| TOXCORE_VERSION="25a56c354937e9c8c4c50a64c3b4cfc099c34e29" | ||||
|  | ||||
| # The sha256sum of the c-toxcore tarball for TOXCORE_VERSION | ||||
| TOXCORE_HASH="8448752e6286c747130254571fde2db8e2fc073a8116f9fff489ed53af546c0a" | ||||
|  | ||||
| TOXCORE_FILENAME="c-toxcore-$TOXCORE_VERSION.tar.gz" | ||||
|  | ||||
| wget --timeout=10 -O "$TOXCORE_FILENAME" "https://github.com/TokTok/c-toxcore/archive/v$TOXCORE_VERSION.tar.gz" | ||||
| wget --timeout=10 -O "$TOXCORE_FILENAME" "https://github.com/TokTok/c-toxcore/archive/$TOXCORE_VERSION.tar.gz" | ||||
| check_sha256 "$TOXCORE_HASH" "$TOXCORE_FILENAME" | ||||
| tar -o -xf "$TOXCORE_FILENAME" | ||||
| rm "$TOXCORE_FILENAME" | ||||
| @@ -160,8 +164,8 @@ cmake --build _build --target install | ||||
| # location with SSL_CERT_FILE env variable. | ||||
| cd "$BUILD_DIR" | ||||
|  | ||||
| CURL_VERSION="7.74.0" | ||||
| CURL_HASH="e56b3921eeb7a2951959c02db0912b5fcd5fdba5aca071da819e1accf338bbd7" | ||||
| CURL_VERSION="7.77.0" | ||||
| CURL_HASH="b0a3428acb60fa59044c4d0baae4e4fc09ae9af1d8a3aa84b2e3fbcd99841f77" | ||||
| CURL_FILENAME="curl-$CURL_VERSION.tar.gz" | ||||
|  | ||||
| wget --timeout=10 -O "$CURL_FILENAME" "https://curl.haxx.se/download/$CURL_FILENAME" | ||||
| @@ -178,7 +182,8 @@ cd curl* | ||||
|   --without-ca-path \ | ||||
|   --with-ca-fallback \ | ||||
|   --with-nghttp2 \ | ||||
|   --with-brotli | ||||
|   --with-brotli \ | ||||
|   --with-openssl | ||||
| make | ||||
| make install | ||||
| sed -i 's|-lbrotlidec |-lbrotlidec-static -lbrotlicommon-static |g' $BUILD_DIR/prefix-curl/lib/pkgconfig/libcurl.pc | ||||
| @@ -214,6 +219,7 @@ CFLAGS="-static" PKG_CONFIG_PATH="$BUILD_DIR/prefix-toxcore/lib64/pkgconfig:$BUI | ||||
|   ENABLE_PYTHON=0 \ | ||||
|   ENABLE_RELEASE=1 \ | ||||
|   ENABLE_ASAN=0 \ | ||||
|   DISABLE_GAMES=0 \ | ||||
|   install | ||||
|  | ||||
|  | ||||
| @@ -295,3 +301,4 @@ mv "$PREPARE_ARTIFACT_DIR" "$PREPARE_ARTIFACT_DIR/../$ARTIFACT_NAME" | ||||
| tar -cJf "$ARTIFACT_NAME.tar.xz" "$ARTIFACT_NAME" | ||||
| mv "$ARTIFACT_NAME.tar.xz" "$ARTIFACT_DIR" | ||||
| chmod 777 -R "$ARTIFACT_DIR" | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,7 @@ | ||||
| #define GAME_UTIL | ||||
|  | ||||
| #include <stdbool.h> | ||||
| #include <time.h> | ||||
|  | ||||
| typedef struct Coords { | ||||
|     int x; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user