diff options
author | Christoph Willing <chris.willing@linux.com> | 2019-03-19 15:49:36 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-03-23 09:59:38 +0700 |
commit | 56ebcbc4ba209a88354264a68c4ab826ff860784 (patch) | |
tree | 09473740fc213bcea3d50e3c7847102df26075d9 /graphics | |
parent | 4fa40347a86b75627e1935d1f154b5c03f84368d (diff) |
graphics/vsxu: Fix plugins location
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/vsxu/00_libdir.diff | 11 | ||||
-rw-r--r-- | graphics/vsxu/vsxu.SlackBuild | 9 |
2 files changed, 19 insertions, 1 deletions
diff --git a/graphics/vsxu/00_libdir.diff b/graphics/vsxu/00_libdir.diff new file mode 100644 index 000000000000..c9becae27616 --- /dev/null +++ b/graphics/vsxu/00_libdir.diff @@ -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/") diff --git a/graphics/vsxu/vsxu.SlackBuild b/graphics/vsxu/vsxu.SlackBuild index 4e71eaa305ec..3323290a1bf0 100644 --- a/graphics/vsxu/vsxu.SlackBuild +++ b/graphics/vsxu/vsxu.SlackBuild @@ -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 \ |