libnotify for hexchat

master
Chris Dorman 2020-12-01 19:44:45 -08:00
parent fe00758d7c
commit 6913e2144a
1 changed files with 26 additions and 1 deletions

View File

@ -54,6 +54,7 @@ ffimirror="https://sourceware.org/ftp/libffi"
pcremirror="https://downloads.sourceforge.net/pcre"
fmmirror="https://downloads.sourceforge.net/pcmanfm"
menucachemirror="https://downloads.sourceforge.net/lxde"
notifymirror="http://ftp.gnome.org/pub/gnome/sources/libnotify/0.7"
# filenames
gcc="gcc-9.2.0.tar.xz"
@ -100,6 +101,7 @@ selinux="libselinux_2.8.orig.tar.gz"
fm="libfm-1.2.5.tar.xz"
ffi="libffi-3.2.1.tar.gz"
menucache="menu-cache-1.1.0.tar.xz"
notify="libnotify-0.7.6.tar.xz"
# work directories
tmpdir="`pwd`/pkgsrc"
@ -155,6 +157,7 @@ pcresrcdir=${pcre//.tar.bz2}
selinuxsrcdir=${selinux//.orig.tar.gz}
fmsrcdir=${fm//.tar.xz}
menucachesrcdir=${menucache//.tar.xz}
notifysrcdir=${notify//.tar.xz}
if [ ! -d "$tmpdir" ]; then
echo "Warning: package source directory not found, creating."
@ -955,7 +958,29 @@ pcmanfm()
cd $pcmanfmsrcdir
./configure --prefix=$freondir \
--sysconfdir=$freondir/etc \
--sysconfdir=$freondir/etc
make -j$corecount
make install
cd $tmp
}
notify()
{
cd $tmpdir
# Grab sources for PCManFM
if [ ! -d $notifysrcdir ]; then
wget $notifymirror/$notify
tar -xf $notify
fi
cd $notifysrcdir
./configure --prefix=$freondir \
--disable-static
make -j$corecount