Skip to content

Commit 5dc96a9

Browse files
authored
Merge pull request #17 from soreau/updates
Updates
2 parents 53e85dd + 215c821 commit 5dc96a9

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

install.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,15 @@ if [ ${PREFIX} != '/usr' ]; then
161161
fi
162162
$SUDO install -m 755 $BUILDROOT/start_wayfire.sh $PREFIX/bin/startwayfire
163163

164+
ask_confirmation "Do you want to install wayfire-plugins-extra? [y/n]? "
165+
if [ $yn = Y ]; then
166+
check_download wayfire-plugins-extra
167+
cd $BUILDROOT/wayfire-plugins-extra
168+
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${PREFIX}/${DEST_LIBDIR}/pkgconfig meson build --prefix=${PREFIX}
169+
ninja -C build
170+
$SUDO ninja -C build install
171+
fi
172+
164173
ask_confirmation "Do you want to install WCM, a graphical configuration tool for Wayfire [y/n]? "
165174
if [ $yn = Y ]; then
166175
check_download wcm
@@ -171,7 +180,7 @@ if [ $yn = Y ]; then
171180
fi
172181

173182
SESSIONS_DIR=/usr/share/wayland-sessions
174-
ask_confirmation "Do you want to install wayfire.desktop to $SESSIONS_DIR/ [y/n]?"
183+
ask_confirmation "Do you want to install wayfire.desktop to $SESSIONS_DIR/ [y/n]? "
175184
if [ $yn = Y ]; then
176185
cp $BUILDROOT/wayfire.desktop.in $BUILDROOT/wayfire.desktop
177186
sed -i "s@^Exec.*@Exec=$PREFIX/bin/startwayfire@g" $BUILDROOT/wayfire.desktop

0 commit comments

Comments
 (0)