smlinux/extra/dia/smbuild
PktSurf 9d657e0a1d Upgraded base/perl to 5.38.0
Renamed .SMBuild files to smbuild for simplicity
Added musl-fts, musl-obstack, glslang, python-glad, libptytty, libmilter, elfutils and fuse to base section build list
Discarded fuse2 and fuse3 from base section
Temporarily discarded slapt-get, syslinux, p7zip, acpid, libelf-compat, gnu-eif, libtirpc, mozilla-nss,
lua53, qpdf, kernel-source and signify from base section build list
Disabled nls and made amends to base/e2fsprogs
Upgraded base/git to 2.46.2
Upgraded extra/gnumeric to 1.12.57
Disabled nls in base/gnutls, extra/dia
Disabled a patch and made amends in base/llvm
Fixed configure.local file in base/mandoc
Upgraded base/rust to 1.79
Fixed a ton of build files to use build prefix as /usr and miscellaneous changes
Discarded extra/bluez,blueman,scrcpy,adafruit-io
Added tomb to extra
Added new build option to extra/libass
Upgraded extra/mpv to 0.37.0
Disabled tests in gtk/gdk-pixbuf
Upgraded gtk/goffice to 0.10.57
Added gtk-doc to gtk section
Fixed build options in gtk/gtk2
Added new patches to gtk/gtk3
Added gtksourceview to gtk section
Added vulkan-headers to xorg section
Upgraded xorg/mesa to 23.1.9
Added libplacebo to xorg section
Fixed build stuff in xorg/glew
2024-10-29 20:25:20 +05:30

44 lines
1.3 KiB
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=dia
version=0.97.3
build=2sml
homepage="https://wiki.gnome.org/Apps/Dia"
download="https://download.gnome.org/sources/dia/0.97/dia-$version.tar.xz"
desc="Diagram creation app written in GTK2"
requires="gtk2"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z**
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/CVE-2019-19451.patch
applypatch $srcdir/dia-unregister-import.patch
applypatch $srcdir/isinf.patch
}
build() {
./configure \
--prefix=/usr \
--with-cairo \
--disable-gnome \
--with-hardbooks=no \
--disable-nls
make || true
make install DESTDIR=$pkg || true
cp COPYING $pkgdocs
mkfinalpkg
}
sha512sums="
3f798a1ad88cc73be0f3da1981d8766c9d03e2765904c7b883a06d88beca952b7a3b87e8d4a26556d07c8a4afc89c8c4dd8e8fe96ebc2787fe97203ec6cb389b dia-0.97.3.tar.lz
c78b78bd4ce7bfab9babfc887fb98571849246d1ca78e6c69a4413c7881d30358e1287bd9b0d9ba50cbcc540cf5f0e28333b31f467dbe5579ad5c97148b3b512 CVE-2019-19451.patch
24267507ff08ac589ec1015e55637586a9fd97802893a77849d1e7bce67135fbd3d55611e2c80be1d5f87b92406c95cd5fe484175037297ebe1dbc8eb509a7d4 dia-unregister-import.patch
cfa8fd8fecc7f0e3da185b512c169b156363a73c151547725f964e1cf7b1a305e44c493d0490c680c5f25859acee74fe4ef942ae9ee634b370bd9b9952186c5a isinf.patch
"