Skip to content

Commit

Permalink
pcmanfm: up deps's build func
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Nov 30, 2023
1 parent 55654b1 commit fe66e63
Showing 1 changed file with 56 additions and 10 deletions.
66 changes: 56 additions & 10 deletions compile/src/v-pcmanfm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,39 +52,85 @@ function log {
# git clone https://hub.nuaa.cf/lxde/menu-cache #297 commits

function atk(){
rm -rf /tmp/atk; mkdir -p /tmp/atk
log "Downloading atk..."
branch=ATK_2_36_0
git clone --depth=1 $branch https://hub.nuaa.cf/GNOME/atk /tmp/atk
repo=https://hub.nuaa.cf/GNOME/atk
git clone --depth=1 $branch $repo /tmp/atk
cd /tmp/atk
./autogen.sh
./configure;

log "Compiling atk..."
make

log "Installing atk..."
make install
}

function gtk(){
rm -rf /tmp/gtk; mkdir -p /tmp/gtk
log "Downloading gtk..."
branch=2.24.33
git clone --depth=1 $branch https://hub.nuaa.cf/GNOME/gtk /tmp/gtk
repo=https://hub.nuaa.cf/GNOME/gtk
git clone --depth=1 $branch $repo /tmp/gtk
cd /tmp/gtk
./autogen.sh
./configure;

log "Compiling gtk..."
make

log "Installing gtk..."
make install
}

function gdk-pixbuf(){
rm -rf /tmp/gdk-pixbuf; mkdir -p /tmp/gdk-pixbuf
log "Downloading gdk-pixbuf..."
branch=2.42.8
git clone --depth=1 $branch https://hub.nuaa.cf/GNOME/gdk-pixbuf /tmp/gdk-pixbuf
repo=https://hub.nuaa.cf/GNOME/gdk-pixbuf
git clone --depth=1 $branch $repo /tmp/gdk-pixbuf
cd /tmp/gdk-pixbuf
./autogen.sh
./configure;

log "Compiling gdk-pixbuf..."
make

log "Installing gdk-pixbuf..."
make install
}

function menu-cache(){
rm -rf /tmp/menu-cache; mkdir -p /tmp/menu-cache
log "Downloading menu-cache..."
# branch= #default master
git clone --depth=1 $branch https://hub.nuaa.cf/lxde/menu-cache /tmp/menu-cache
repo=https://hub.nuaa.cf/lxde/menu-cache
git clone --depth=1 $branch $repo /tmp/menu-cache
cd /tmp/menu-cache
./autogen.sh
./configure;

log "Compiling menu-cache..."
make

log "Installing menu-cache..."
make install
}

# libfm
function libfm(){
rm -rf /tmp/libfm; mkdir -p /tmp/libfm
log "Downloading libfm..."
# down_catfile ${IMLIB2_URL} | tar -zx --strip 1 -C /tmp/libfm
branch=1.3.2
git clone --depth=1 $branch https://gitee.com/g-system/fk-libfm
repo=https://gitee.com/g-system/fk-libfm
git clone --depth=1 $branch $repo /tmp/libfm
cd /tmp/libfm
./autogen.sh
./configure;

log "Compiling libfm..."
make

log "Installing libfm..."
make install
}

#
Expand Down

0 comments on commit fe66e63

Please sign in to comment.