File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ export CFLAGS=-" O2"
4+ export CXXFLAGS=" -O2"
5+ PKG_VER=1.22.8
6+ MAJOR=$( echo $PKG_VER | sed ' s|.[^.]*$||g' )
7+ URL=https://download.gnome.org/sources/cogl/$MAJOR /cogl-$PKG_VER .tar.xz
8+ TAR=$( echo $URL | sed -r ' s|(.*)/||' )
9+ DIR=$( echo $TAR | sed ' s|.tar.*||g' )
10+ PACKAGE=$( echo $DIR | sed ' s|-[^-]*$||g' )
11+
12+ # Get Package
13+
14+ cd /blfs/builds
15+ wget $URL
16+ tar -xvf $TAR
17+ cd $DIR
18+
19+ # Build
20+
21+ ./configure --prefix=/usr \
22+ --enable-gles1 \
23+ --enable-gles2 \
24+ --enable-{kms,wayland,xlib}-egl-platform \
25+ --enable-wayland-egl-server
26+
27+
28+ make -j22
29+
30+
31+ # Install
32+ sudo make DESTDIR=/pkgs/$PACKAGE install
33+ sudo make install
34+ cd /pkgs
35+
36+
37+
38+ sudo echo " cairo glu gdk-pixbuf mesa pango wayland gst-plugins-base" > /pkgs/$PACKAGE /depends
39+ sudo echo " " > /pkgs/$PACKAGE /make-depends
40+ sudo tar -cvzpf $PACKAGE .tar.xz $PACKAGE
41+ sudo cp $PACKAGE .tar.xz /finished
42+
43+
44+ cd /blfs/builds
45+ sudo rm -r $DIR
46+
47+
Original file line number Diff line number Diff line change @@ -5,23 +5,24 @@ export CXXFLAGS="-O2"
55
66GNOME_MAJOR=44
77GNOME_MINOR=2
8- URL=https://gitlab .gnome.org/GNOME /gnome-software.git
9- COMMIT=a4715568eb2e1c01f95b021c4552d887de3ae911
10- DIR=$( echo $TAR | sed ' s|.git ||g' )
8+ URL=https://download .gnome.org/sources /gnome-software/ $GNOME_MAJOR /gnome-software- $GNOME_MAJOR . $GNOME_MINOR .tar.xz
9+ TAR= $( echo $URL | sed -r ' s|(.*)/|| ' )
10+ DIR=$( echo $TAR | sed ' s|.tar.* ||g' )
1111PACKAGE=gnome-software
1212
1313# Get Package
1414
1515cd /blfs/builds
16- git clone https://gitlab.gnome.org/GNOME/gnome-software.git
17- cd gnome-software
18- git submodule update --init --recursive
16+ wget $URL
17+ tar -xvf $TAR
18+ cd $DIR
1919# Build
2020
2121mkdir build &&
2222cd build &&
2323# For some reason this app has to be compiled with Soup 2, otherwise it throws an error about the app being compiled with both soup2 & soup3 (might just be after upgrading)
24- meson setup --prefix=/usr --buildtype=release -Dpackagekit=false ..
24+ meson setup --prefix=/usr --buildtype=release -Dpackagekit=false -Dsoup2=true ..
25+
2526
2627ninja
2728
@@ -32,13 +33,13 @@ DESTDIR=/pkgs/$PACKAGE ninja install
3233cd /pkgs
3334
3435
35- sudo echo " packagekit appstream gnome-online-accounts gsettings-desktop-schemas gtk4 libadwaita libsoup3 libsoup flatpak fwupd xmlb" > /pkgs/$PACKAGE /depends
36+ sudo echo " packagekit appstream gnome-online-accounts gsettings-desktop-schemas gtk4 libadwaita libsoup3 libsoup flatpak fwupd xmlb libunwind " > /pkgs/$PACKAGE /depends
3637sudo echo " glib-compile-schemas /usr/share/glib-2.0/schemas" > /pkgs/$PACKAGE /postinst
3738sudo rm -rf /pkgs/$PACKAGE /blfs
3839sudo tar -cvpzf $PACKAGE .tar.xz $PACKAGE
3940sudo cp $PACKAGE .tar.xz /finished
4041
4142
4243cd /blfs/builds
43-
44+ rm -rf $DIR
4445
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export CXXFLAGS="-O2"
66URL=https://salsa.debian.org/freedesktop-team/malcontent/-/archive/debian/0.11.0-4/malcontent-debian-0.11.0-4.tar.gz
77TAR=$( echo $URL | sed -r ' s|(.*)/||' )
88DIR=$( echo $TAR | sed ' s|.tar.*||g' )
9- PACKAGE=$( echo $DIR | sed ' s|-[^-]*$||g ' )
9+ PACKAGE=malcontent
1010
1111# Get Package
1212
You can’t perform that action at this time.
0 commit comments