aboutsummaryrefslogtreecommitdiff
path: root/development/eovim
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-03-13 22:39:37 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:42 +0700
commitb7ad3c60c84b809e95e03847978c1e99aab26be7 (patch)
treefaf669015b6af56134d25f721dec0c3b476ce584 /development/eovim
parentcae292ad6537dd3685c61b87394d275703366cd8 (diff)
development/eovim: Updated for version 0.1.2.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development/eovim')
-rw-r--r--development/eovim/eovim.SlackBuild30
-rw-r--r--development/eovim/eovim.info6
2 files changed, 23 insertions, 13 deletions
diff --git a/development/eovim/eovim.SlackBuild b/development/eovim/eovim.SlackBuild
index 4d948f53d4488..39bbb984a8234 100644
--- a/development/eovim/eovim.SlackBuild
+++ b/development/eovim/eovim.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=eovim
-VERSION=${VERSION:-0.1.1}
+VERSION=${VERSION:-0.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,24 +69,34 @@ 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 {} \;
+cat >> src/main.c <<'code'
+static void __attribute__((constructor))
+__constructor(void)
+{
+ const char bt_env[] = "EINA_LOG_BACKTRACE";
+ if (! getenv(bt_env))
+ setenv(bt_env, "-1", 1);
+}
+code
+
+sed -i "s/edje_object_signal_emit(gui/elm_layout_signal_emit(gui/" src/gui.c
+
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
- make
make install DESTDIR=$PKG
cd ..
-# FOR FUTURE UPDATE
-#if [ "$LIBDIRSUFFIX" != "" ]; then
-# mv $PKG/usr/lib{,$LIBDIRSUFFIX}
-#fi
-#
-#mv $PKG/usr/share/man $PKG/usr/man
-#find $PKG/usr/man -type f -exec gzip -9 {} \;
-#for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+if [ "$LIBDIRSUFFIX" != "" ]; then
+ mv $PKG/usr/lib{,$LIBDIRSUFFIX}
+fi
+
+mv $PKG/usr/share/man $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/eovim/eovim.info b/development/eovim/eovim.info
index 10330f31ce780..4d10fcf9bb9a5 100644
--- a/development/eovim/eovim.info
+++ b/development/eovim/eovim.info
@@ -1,8 +1,8 @@
PRGNAM="eovim"
-VERSION="0.1.1"
+VERSION="0.1.2"
HOMEPAGE="https://github.com/jeanguyomarch/eovim"
-DOWNLOAD="https://github.com/jeanguyomarch/eovim/archive/v0.1.1/eovim-0.1.1.tar.gz"
-MD5SUM="3446e5f1c7388d3a728523cbab1bab27"
+DOWNLOAD="https://github.com/jeanguyomarch/eovim/archive/v0.1.2/eovim-0.1.2.tar.gz"
+MD5SUM="af551e6241f0cacc63d6beca2d7bc0fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="efl neovim"