diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-12 16:21:47 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-12 16:21:47 -1000 |
commit | 295030d5719c3af352cfc5394b8ce13e3a1e0fb9 (patch) | |
tree | 608f1f9cf9a8ea9ae8e26f1f07b50d14426a675a /data/libjpeg-turbo | |
parent | 4a80cac9cb4be1d154f5346423667310219bd27a (diff) |
Add and update a number of packages
Diffstat (limited to 'data/libjpeg-turbo')
-rw-r--r-- | data/libjpeg-turbo/_metadata/description | 1 | ||||
-rw-r--r-- | data/libjpeg-turbo/_metadata/homepage | 1 | ||||
l--------- | data/libjpeg-turbo/_metadata/license | 1 | ||||
l--------- | data/libjpeg-turbo/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/libjpeg-turbo/_metadata/priority | 1 | ||||
-rw-r--r-- | data/libjpeg-turbo/_metadata/role | 1 | ||||
-rw-r--r-- | data/libjpeg-turbo/_metadata/section | 1 | ||||
-rw-r--r-- | data/libjpeg-turbo/_metadata/tags | 1 | ||||
-rw-r--r-- | data/libjpeg-turbo/_metadata/version | 1 | ||||
-rw-r--r-- | data/libjpeg-turbo/libjpeg-turbo-2.0.0.tar.gz | bin | 0 -> 2158457 bytes | |||
-rw-r--r-- | data/libjpeg-turbo/make.sh | 22 |
11 files changed, 31 insertions, 0 deletions
diff --git a/data/libjpeg-turbo/_metadata/description b/data/libjpeg-turbo/_metadata/description new file mode 100644 index 000000000..c1c910d57 --- /dev/null +++ b/data/libjpeg-turbo/_metadata/description @@ -0,0 +1 @@ +JPEG image codec diff --git a/data/libjpeg-turbo/_metadata/homepage b/data/libjpeg-turbo/_metadata/homepage new file mode 100644 index 000000000..70a6eab32 --- /dev/null +++ b/data/libjpeg-turbo/_metadata/homepage @@ -0,0 +1 @@ +https://sourceforge.net/projects/libjpeg-turbo/ diff --git a/data/libjpeg-turbo/_metadata/license b/data/libjpeg-turbo/_metadata/license new file mode 120000 index 000000000..eea9de8d1 --- /dev/null +++ b/data/libjpeg-turbo/_metadata/license @@ -0,0 +1 @@ +../../../licenses/bsd
\ No newline at end of file diff --git a/data/libjpeg-turbo/_metadata/maintainer b/data/libjpeg-turbo/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/libjpeg-turbo/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner
\ No newline at end of file diff --git a/data/libjpeg-turbo/_metadata/priority b/data/libjpeg-turbo/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libjpeg-turbo/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libjpeg-turbo/_metadata/role b/data/libjpeg-turbo/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libjpeg-turbo/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libjpeg-turbo/_metadata/section b/data/libjpeg-turbo/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libjpeg-turbo/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libjpeg-turbo/_metadata/tags b/data/libjpeg-turbo/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libjpeg-turbo/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libjpeg-turbo/_metadata/version b/data/libjpeg-turbo/_metadata/version new file mode 100644 index 000000000..227cea215 --- /dev/null +++ b/data/libjpeg-turbo/_metadata/version @@ -0,0 +1 @@ +2.0.0 diff --git a/data/libjpeg-turbo/libjpeg-turbo-2.0.0.tar.gz b/data/libjpeg-turbo/libjpeg-turbo-2.0.0.tar.gz Binary files differnew file mode 100644 index 000000000..89fcfba42 --- /dev/null +++ b/data/libjpeg-turbo/libjpeg-turbo-2.0.0.tar.gz diff --git a/data/libjpeg-turbo/make.sh b/data/libjpeg-turbo/make.sh new file mode 100644 index 000000000..fe918e72b --- /dev/null +++ b/data/libjpeg-turbo/make.sh @@ -0,0 +1,22 @@ +pkg:setup +cat >iphoneos_toolchain.cmake <<EOF +set(CMAKE_SYSTEM_NAME Darwin) # Tell CMake we're cross-compiling +set(CMAKE_CROSSCOMPILING true) +#include(CMakeForceCompiler) +# Prefix detection only works with compiler id "GNU" +# CMake will look for prefixed g++, cpp, ld, etc. automatically +set(CMAKE_SYSTEM_PROCESSOR aarch64) +set(triple ${PKG_TARG}) +set(CMAKE_FIND_ROOT_PATH $(echo ${PKG_PATH} | sed -e s/:/' '/g)) +set(CMAKE_LIBRARY_PATH $(echo ${LIBRARY_PATH} | sed -e s/:/' '/g)) +set(CMAKE_INCLUDE_PATH $(echo ${INCLUDE_PATH} | sed -e s/:/' '/g)) +set(CMAKE_C_COMPILER ${PKG_TARG}-gcc) +set(CMAKE_CXX_COMPILER ${PKG_TARG}-g++) +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) +EOF + +cmake -j8 -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_LOCALSTATEDIR="/private/var" -DCMAKE_INSTALL_NAME_DIR="/usr/lib" -DCMAKE_INSTALL_RPATH="/usr/" -DCMAKE_OSX_SYSROOT="${PKG_ROOT}" -DCMAKE_INSTALL_PREFIX="/usr/" -DCURRENT_VENDOR=debian -DUSE_NLS=0 -DWITH_DOC=0 . +make -j8 +pkg:install |