"libdrm-dev",
"libgif-dev",
"libturbojpeg",
+ "libturbojpeg0-dev",
"libfribidi-dev",
"libharfbuzz-dev",
"doxygen",
my $package;
foreach $package (@_)
{
- my @x=split(/\s+/, `dpkg -l $package|grep $package`);
+ my @x=split(/\s+/, `dpkg -l $package 2> /dev/null|grep $package`);
if($x[0] ne "ii")
{
- print "Attempting to install $package\n";
- system("sudo apt-get -y --force-yes install $package");
+ # Check if the package is available to install, exit-code is 0 if the package is found.
+ if(system("apt-cache show $package > /dev/null 2>&1") == 0)
+ {
+ print "Attempting to install $package\n";
+ system("sudo apt-get -y --force-yes install $package");
+ }
}
}
}
}
elsif ($pkg eq "gtest")
{
- print "Attempting to build $pkg\n";
- # from https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
- run_command("cd /usr/src/gtest; sudo cmake CMakeLists.txt; sudo make; sudo cp *.a /usr/lib; cd -;");
+ if(! -e "/usr/lib/libgtest.a")
+ {
+ print "Attempting to build $pkg\n";
+ # from https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
+ run_command("cd /usr/src/gtest; sudo cmake CMakeLists.txt; sudo make; sudo cp *.a /usr/lib; cd -;");
+ }
}
}
}
{
const uint32_t CORE_MAJOR_VERSION = 1;
-const uint32_t CORE_MINOR_VERSION = 3;
-const uint32_t CORE_MICRO_VERSION = 54;
+const uint32_t CORE_MINOR_VERSION = 4;
+const uint32_t CORE_MICRO_VERSION = 0;
const char * const CORE_BUILD_DATE = __DATE__ " " __TIME__;
#ifdef DEBUG_ENABLED
DEPTH = 1 << 0, ///< Depth buffer is created @SINCE_1_1.45
STENCIL = 1 << 1, ///< Stencil buffer is created @SINCE_1_1.45
DEPTH_STENCIL = DEPTH | STENCIL, ///< Depth and stencil buffer will be created @SINCE_1_1.45
- COLOR = 1 << 2, ///< Color texture will be created @SINCE_1_3.54
- COLOR_DEPTH = COLOR | DEPTH, ///< Color texture and depth buffer will be created @SINCE_1_3.54
- COLOR_STENCIL = COLOR | STENCIL, ///< Color texture and stencil buffer will be created @SINCE_1_3.54
- COLOR_DEPTH_STENCIL = COLOR_DEPTH | STENCIL ///< Color, depth and stencil buffer will be created @SINCE_1_3.54
+ COLOR = 1 << 2, ///< Color texture will be created @SINCE_1_4.0
+ COLOR_DEPTH = COLOR | DEPTH, ///< Color texture and depth buffer will be created @SINCE_1_4.0
+ COLOR_STENCIL = COLOR | STENCIL, ///< Color texture and stencil buffer will be created @SINCE_1_4.0
+ COLOR_DEPTH_STENCIL = COLOR_DEPTH | STENCIL ///< Color, depth and stencil buffer will be created @SINCE_1_4.0
};
};
/**
* @brief Creates a new FrameBuffer with only COLOR texture attached on it
*
- * @SINCE_1_3.54
+ * @SINCE_1_4.0
*
* @note Call GetColorTexture() to get the COLOR texture
*
/**
* @brief Creates a new FrameBuffer with the specified attachments
*
- * @SINCE_1_3.54
+ * @SINCE_1_4.0
*
* @param[in] width The width of the FrameBuffer and the attachments
* @param[in] height The height of the FrameBuffer and the attachments
static FrameBuffer New( uint32_t width, uint32_t height, Attachment::Mask attachments );
/**
- * @DEPRECATED_1_3.54 use New( uint32_t width, uint32_t height ) or New( uint32_t width, uint32_t height, Attachment::Mask attachments ) instead
+ * @DEPRECATED_1_4.0 use New( uint32_t width, uint32_t height ) or New( uint32_t width, uint32_t height, Attachment::Mask attachments ) instead
* @brief Creates a new FrameBuffer object.
*
* @SINCE_1_1.43