fix: package cleanups to prevent build failures

This commit is contained in:
ngn 2024-08-25 16:11:58 +03:00
parent f58dc74ce1
commit 06dfcd4f65
10 changed files with 135 additions and 65 deletions

View File

@ -1,25 +1,36 @@
NAME="epiphany" NAME="epiphany"
DESC="Simple yet powerful GNOME web browser targeted at non-technical users" DESC="Simple yet powerful GNOME web browser targeted at non-technical users"
VERSION="44.6" VERSION="44.6"
FILES=("https://download.gnome.org/sources/epiphany/${VERSION%.*}/epiphany-$VERSION.tar.xz")
FILES=("https://download.gnome.org/sources/epiphany/${VERSION%.*}/epiphany-${VERSION}.tar.xz")
HASHES=("fbc40317261873100f625736ec6a511c") HASHES=("fbc40317261873100f625736ec6a511c")
DEPENDS=( DEPENDS=(
"gcr4" "iso-codes" "json-glib" "cairo" "dconf" "gcc-libs"
"nettle" "webkitgtk" "gnome-keyring" "gdk-pixbuf" "glib" "glibc"
"libadwaita" "libportal" "graphene" "gmp" "graphene" "gstreamer"
"gtk4" "hicolor-icon-theme" "json-glib"
"libarchive" "libportal" "libsecret"
"libsoup" "libxml2" "nettle"
"pango" "sqlite" "webkitgtk" "gcr4"
)
BUILD=(
"docbook-xml" "glib" "gobject-introspection"
"meson" "startup-notification" "aspell"
) )
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir build mkdir build
cd build cd build
meson setup --prefix=/usr --buildtype=release .. meson setup --prefix=/usr --buildtype=release ..
ninja $MAKEFLAGS && DESTDIR="$ROOTDIR" ninja install ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r $NAME-$VERSION cd ../.. && rm -r "${NAME}-${VERSION}"
} }
INSTALL(){ INSTALL(){

View File

@ -1,13 +1,19 @@
NAME="gdk-pixbuf" NAME="gdk-pixbuf"
DESC="Toolkit for image loading and pixel buffer manipulation" DESC="Toolkit for image loading and pixel buffer manipulation"
VERSION="2.42.10" VERSION="2.42.10"
FILES=("https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-$VERSION.tar.xz")
FILES=("https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-${VERSION}.tar.xz")
HASHES=("4a62f339cb1424693fba9bb7ffef8150") HASHES=("4a62f339cb1424693fba9bb7ffef8150")
DEPENDS=("glib" "libjpeg-turbo" "libpng" "shared-mime-info")
DEPENDS=(
"glib" "glibc" "libtiff"
"libjpeg-turbo" "libpng" "shared-mime-info"
)
BUILD=("meson" "pypi-docutils" "gobject-introspection")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir build mkdir build
cd build cd build
@ -16,9 +22,10 @@ PACKAGE() {
--prefix=/usr \ --prefix=/usr \
--buildtype=release \ --buildtype=release \
--wrap-mode=nofallback --wrap-mode=nofallback
ninja && DESTDIR="$ROOTDIR" ninja install ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -rf $NAME-$VERSION cd ../.. && rm -r "${NAME}-${VERSION}"
} }
INSTALL(){ INSTALL(){

View File

@ -1,2 +1,5 @@
# 10.0.1
Updated to a newer upstream release
# 8.1.0 # 8.1.0
First version First version

View File

@ -1,19 +1,30 @@
NAME="graphviz" NAME="graphviz"
DESC="Graph visualization software" DESC="Graph visualization software"
VERSION="8.1.0" VERSION="10.0.1"
FILES=("https://gitlab.com/graphviz/graphviz/-/archive/$VERSION/graphviz-$VERSION.tar.bz2")
HASHES=("e6a45773e84d3f83fed87cb6290563e6") FILES=("https://gitlab.com/graphviz/graphviz/-/archive/${VERSION}/graphviz-${VERSION}.tar.bz2")
DEPENDS=("fontconfig" "libpng" "pango" "cairo") HASHES=("5d343d0ba08dc11624d3961af2b4755c")
DEPENDS=(
"libtool" "librsvg" "pango"
)
BUILD=("tk" "python3" "qt5")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.bz2 tar xf "${NAME}-${VERSION}.tar.bz2"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
export CXXFLAGS+=' -fPIC -fpermissive'
sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
./autogen.sh ./autogen.sh
./configure --prefix=/usr \ ./configure --prefix=/usr \
--docdir=/usr/share/doc/graphviz-$VERSION --enable-python3=yes \
make && make DESTDIR="$ROOTDIR" install --disable-python \
--docdir="/usr/share/doc/graphviz-${VERSION}"
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -rf $NAME-$VERSION cd .. && rm -r "${NAME}-${VERSION}"
} }

View File

@ -1,2 +1,5 @@
# 1.22.10
Updated to a newer upstream release
# 1.22.5 # 1.22.5
First version First version

View File

@ -1,24 +1,33 @@
NAME="gst-plugins-bad" NAME="gst-plugins-bad"
DESC="Set of GStreamer plug-ins that aren't up to par compared to the rest" DESC="Set of GStreamer plug-ins that aren't up to par compared to the rest"
VERSION="1.22.5" VERSION="1.22.10"
FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$VERSION.tar.xz")
FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${VERSION}.tar.xz")
HASHES=("d18cde538d5c954e94f888143e703a52") HASHES=("d18cde538d5c954e94f888143e703a52")
DEPENDS=("gst-plugins-base")
DEPENDS=(
"gst-plugins-base" "bzip2" "cairo"
"curl" "faad2" "gcc-libs"
"glib" "glibc" "json-glib"
)
BUILD=("gobject-introspection" "graphene")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir build mkdir build
cd build cd build
meson setup .. \ meson setup .. \
--prefix=/usr \ --prefix=/usr \
--buildtype=release \ --buildtype=release \
-Dgpl=enabled \ -Dgpl=enabled \
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/12.0-systemd/ \ -Dpackage-origin="https://git.matterlinux.xyz/Matter/desktop" \
-Dpackage-name="GStreamer $VERSION" -Dpackage-name="GStreamer ${VERSION}"
ninja && DESTDIR="$ROOTDIR" ninja install
cd ../.. && rm -rf $NAME-$VERSION ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r "${NAME}-${VERSION}"
} }

View File

@ -1,2 +1,5 @@
# 1.22.10
Updated to a newer upstream release
# 1.22.5 # 1.22.5
First version First version

View File

@ -1,24 +1,35 @@
NAME="gst-plugins-base" NAME="gst-plugins-base"
DESC="GStreamer Base Plug-ins is a well-groomed and well-maintained collection of GStreamer plug-ins and elements" DESC="GStreamer Base Plug-ins is a well-groomed and well-maintained collection of GStreamer plug-ins and elements"
VERSION="1.22.5" VERSION="1.22.10"
FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$VERSION.tar.xz")
HASHES=("cc16aeaefdfd3917e009412a22d07fac") FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${VERSION}.tar.xz")
DEPENDS=("gstreamer" "alsa-lib") HASHES=("8b3fdd849cfc198c8e5ceb3d8513661b")
DEPENDS=(
"gstreamer" "alsa-lib" "cairo"
"glib" "glibc" "graphene"
"gstreamer" "libjpeg-turbo" "libogg"
"libpng" "libtheora" "libvorbis"
"libx11" "opus" "pango"
)
BUILD=("gobject-introspection" "iso-codes")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir build mkdir build
cd build cd build
meson setup .. \ meson setup .. \
--prefix=/usr \ --prefix=/usr \
--buildtype=release \ --buildtype=release \
--wrap-mode=nodownload \ --wrap-mode=nodownload \
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/12.0-systemd/ \ -Dpackage-origin="https://git.matterlinux.xyz/Matter/desktop" \
-Dpackage-name="GStreamer $VERSION" -Dpackage-name="GStreamer ${VERSION}"
ninja && DESTDIR="$ROOTDIR" ninja install
cd ../.. && rm -rf $NAME-$VERSION ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r "${NAME}-${VERSION}"
} }

View File

@ -1,2 +1,5 @@
# 1.22.10
Updated to a newer upstream release
# 1.22.5 # 1.22.5
First version First version

View File

@ -1,26 +1,35 @@
NAME="gst-plugins-good" NAME="gst-plugins-good"
DESC="GStreamer Good Plug-ins is a set of plug-ins considered by the GStreamer developers to be good" DESC="GStreamer Good Plug-ins is a set of plug-ins considered by the GStreamer developers to be good"
VERSION="1.22.5" VERSION="1.22.10"
FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$VERSION.tar.xz")
HASHES=("8c5a67f702ff5f30290be35ac27b3ac9") FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${VERSION}.tar.xz")
HASHES=("0b3d46da3ff7530e9b7cada625bdaf34")
DEPENDS=( DEPENDS=(
"gst-plugins-base" "flac" "cairo" "lame" "gst-plugins-base" "flac" "cairo"
"gdk-pixbuf" "libsoup" "mpg123" "nasm" "pulseaudio" "gdk-pixbuf" "libsoup" "mpg123"
"nasm" "pulseaudio" "glibc"
"libgudev" "libdv" "zlib"
"lame" "gcc-libs" "glib"
"nettle" "mpg123" "libx11"
) )
BUILD=("gobject-introspection" "graphene" "iso-codes")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir build mkdir build
cd build cd build
meson setup .. \ meson setup .. \
--prefix=/usr \ --prefix=/usr \
--buildtype=release \ --buildtype=release \
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/12.0-systemd/ \ -Dpackage-origin="https://git.matterlinux.xyz/Matter/desktop" \
-Dpackage-name="GStreamer $VERSION" -Dpackage-name="GStreamer ${VERSION}"
ninja && DESTDIR="$ROOTDIR" ninja install
cd ../.. && rm -r $NAME-$VERSION ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r "${NAME}-${VERSION}"
} }