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"
DESC="Simple yet powerful GNOME web browser targeted at non-technical users"
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")
DEPENDS=(
"gcr4" "iso-codes" "json-glib"
"nettle" "webkitgtk" "gnome-keyring"
"libadwaita" "libportal" "graphene"
"cairo" "dconf" "gcc-libs"
"gdk-pixbuf" "glib" "glibc"
"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() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
mkdir build
cd build
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(){

View File

@ -1,13 +1,19 @@
NAME="gdk-pixbuf"
DESC="Toolkit for image loading and pixel buffer manipulation"
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")
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() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
mkdir build
cd build
@ -16,9 +22,10 @@ PACKAGE() {
--prefix=/usr \
--buildtype=release \
--wrap-mode=nofallback
ninja && DESTDIR="$ROOTDIR" ninja install
ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -rf $NAME-$VERSION
cd ../.. && rm -r "${NAME}-${VERSION}"
}
INSTALL(){

View File

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

View File

@ -1,19 +1,30 @@
NAME="graphviz"
DESC="Graph visualization software"
VERSION="8.1.0"
FILES=("https://gitlab.com/graphviz/graphviz/-/archive/$VERSION/graphviz-$VERSION.tar.bz2")
HASHES=("e6a45773e84d3f83fed87cb6290563e6")
DEPENDS=("fontconfig" "libpng" "pango" "cairo")
VERSION="10.0.1"
FILES=("https://gitlab.com/graphviz/graphviz/-/archive/${VERSION}/graphviz-${VERSION}.tar.bz2")
HASHES=("5d343d0ba08dc11624d3961af2b4755c")
DEPENDS=(
"libtool" "librsvg" "pango"
)
BUILD=("tk" "python3" "qt5")
PACKAGE() {
tar xf $NAME-$VERSION.tar.bz2
cd $NAME-$VERSION
tar xf "${NAME}-${VERSION}.tar.bz2"
cd "${NAME}-${VERSION}"
export CXXFLAGS+=' -fPIC -fpermissive'
sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
./autogen.sh
./configure --prefix=/usr \
--docdir=/usr/share/doc/graphviz-$VERSION
make && make DESTDIR="$ROOTDIR" install
--enable-python3=yes \
--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
First version

View File

@ -1,13 +1,20 @@
NAME="gst-plugins-bad"
DESC="Set of GStreamer plug-ins that aren't up to par compared to the rest"
VERSION="1.22.5"
FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$VERSION.tar.xz")
VERSION="1.22.10"
FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${VERSION}.tar.xz")
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() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
mkdir build
cd build
@ -16,9 +23,11 @@ PACKAGE() {
--prefix=/usr \
--buildtype=release \
-Dgpl=enabled \
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/12.0-systemd/ \
-Dpackage-name="GStreamer $VERSION"
ninja && DESTDIR="$ROOTDIR" ninja install
-Dpackage-origin="https://git.matterlinux.xyz/Matter/desktop" \
-Dpackage-name="GStreamer ${VERSION}"
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
First version

View File

@ -1,13 +1,22 @@
NAME="gst-plugins-base"
DESC="GStreamer Base Plug-ins is a well-groomed and well-maintained collection of GStreamer plug-ins and elements"
VERSION="1.22.5"
FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$VERSION.tar.xz")
HASHES=("cc16aeaefdfd3917e009412a22d07fac")
DEPENDS=("gstreamer" "alsa-lib")
VERSION="1.22.10"
FILES=("https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${VERSION}.tar.xz")
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() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
mkdir build
cd build
@ -16,9 +25,11 @@ PACKAGE() {
--prefix=/usr \
--buildtype=release \
--wrap-mode=nodownload \
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/12.0-systemd/ \
-Dpackage-name="GStreamer $VERSION"
ninja && DESTDIR="$ROOTDIR" ninja install
-Dpackage-origin="https://git.matterlinux.xyz/Matter/desktop" \
-Dpackage-name="GStreamer ${VERSION}"
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
First version

View File

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