Thread: IPlug - Youlean
View Single Post
Old 05-27-2017, 02:50 PM   #113
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 654
Default

Quote:
Originally Posted by HoRNet View Post
I don't know if I can contribute something back from my own tree because the moving and resizing of IControls is already done in your tree, i have done some work on the color picker for mac but it's very marginal...
It is not the problem, though if you spot something please let me know. My fork is in the works and it will be constantly updated with a things that I need.

Here is the build script. Save it to .sh file and run it from terminal. You will only need to change deployment target and the SDK version.
Code:
#! /bin/bash

# Set build directory same as script location
export BuildDir="$(dirname "$0")"

# Set deployment target, architectures and SDK
export MACOSX_DEPLOYMENT_TARGET=10.7
export LDFLAGS="-arch i386 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"
export CFLAGS="-Os -arch i386 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"


# Build expat  =============================================
cd ${BuildDir}/expat
./configure --prefix=${BuildDir} --disable-dependency-tracking
./configure --enable-static
make
make install
sudo cp /usr/local/lib/libexpat.a ../

# End ======================================================


# Build fontconfig  ========================================
cd ${BuildDir}/fontconfig
./configure --prefix=${BuildDir} --disable-dependency-tracking
./configure --enable-static
make
make install
sudo cp /usr/local/lib/libfontconfig.a ../

# End ======================================================


# Build bzip2  =============================================
cd ${BuildDir}/bzip2
./configure --prefix=${BuildDir} --disable-dependency-tracking
./configure --enable-static
make
make install
sudo cp /usr/local/lib/libbz2.a ../

# End ======================================================


# Build freetype  ==========================================
cd ${BuildDir}/freetype
./configure --prefix=${BuildDir} --disable-dependency-tracking
./configure --enable-static --with-bzip2=no
make
make install
sudo cp /usr/local/lib/libfreetype.a ../

# End ======================================================


# Build libpng  ============================================
cd ${BuildDir}/libpng
./configure --prefix=${BuildDir} --disable-dependency-tracking
./configure --enable-static
make
make install
sudo cp /usr/local/lib/libpng16.a ../

# End ======================================================


# Build pixman  ============================================
cd ${BuildDir}/pixman
./configure --prefix=${BuildDir} --disable-dependency-tracking
./configure --enable-static
make
make install
sudo cp /usr/local/lib/libpixman-1.a ../

# End ======================================================


# Build cairo  ============================================
cd ${BuildDir}/cairo
./configure --prefix=${BuildDir} --disable-xlib --disable-dependency-tracking
./configure --enable-static --enable-ft
make
make install
sudo cp /usr/local/lib/libcairo.a ../

# End ======================================================
Youlean is offline   Reply With Quote