mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
graphics/vsxu: Fix plugins location
Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
parent
4fa40347a8
commit
56ebcbc4ba
2 changed files with 19 additions and 1 deletions
11
graphics/vsxu/00_libdir.diff
Normal file
11
graphics/vsxu/00_libdir.diff
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- vsx_platform.h.orig 2019-03-19 10:38:34.582591102 +1000
|
||||
+++ vsx_platform.h 2019-03-19 11:30:54.854922482 +1000
|
||||
@@ -66,7 +66,7 @@
|
||||
#define PLATFORM_NAME "GNU / Linux"
|
||||
#define PLATFORM_FAMILY PLATFORM_FAMILY_UNIX
|
||||
#define PLATFORM_SHARED_FILES vsx_string<>(get_exec_path().c_str()) + "/../share/vsxu/"
|
||||
- #define VSXU_PLUGIN_LOCATION vsx_string<>(get_exec_path().c_str()) + "/../lib/vsxu/plugins"
|
||||
+ #define VSXU_PLUGIN_LOCATION vsx_string<>(get_exec_path().c_str()) + "/../lib64/vsxu/plugins"
|
||||
#define PLATFORM_DLL_SUFFIX ".so"
|
||||
#ifdef PLATFORM_SHARED_FILES_STL
|
||||
#define PLATFORM_SHARED_FILES_STLSTRING get_exec_path() + std::string("/../share/vsxu/")
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=vsxu
|
||||
VERSION=${VERSION:-0.6.3.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -69,6 +69,13 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
patch -p0 < $CWD/00_libdir.diff
|
||||
for f in $(find . -name \*.desktop.in) ; do
|
||||
sed -i -e 's/lib/lib64/' $f
|
||||
done
|
||||
fi
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
|
|
Loading…
Reference in a new issue