smlinux/extra/abiword/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

53 lines
No EOL
2 KiB
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=abiword
version=3.0.5
build=1sml
homepage="https://www.abisource.com"
download="https://www.abisource.com/downloads/abiword/$version/source/abiword-$version.tar.gz"
desc="Opensource full-featured word processor"
requires="desktop-file-utils enchant libical goffice libgsf librsvg libsoup wv gtk3"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/enchant_checker.cpp.patch
applypatch $srcdir/unixmouse.diff
applypatch $srcdir/musl-1.2.3.patch
applypatch $srcdir/libxml2-2.12.patch
}
build() {
_plugins="applix babelfish bmp clarisworks collab docbook eml epub \
freetranslation garble gdict gimp google hancom hrtext iscii kword \
latex loadbindings mht mif mswrite openwriter openxml opml paint \
passepartout pdb pdf presentation s5 sdw t602 urldict wikipedia wml \
xslfo"
./configure \
--prefix=/usr \
--enable-shared \
--disable-static \
--enable-plugins="$_plugins"
make
make install DESTDIR=$pkg
cp COPY* $pkgdocs/
mkfinalpkg
}
sha512sums="
4c3f0c8fb67b7036946dd13d31ac6964379af4ee0d3ca8a69ed093be82a6411a29071856b4535c578864940773c8f280025384b738ea99aadce5d88095ee6d80 abiword-3.0.5.tar.lz
16f28eafdd1c1444dec5b3f8cbdd00f12c6178ba8db5bb94196064653cdada4cb8e4b2ac78ee9a7093c7968c0ddeb9f50a4e6209a5d5836a24b1b2f1941fb576 enchant.patch
0163d3275a7f260431885d9ea20bcb0c2cd52e19a062141422187f4df2f51c9613a90f1b7151fd50e2c1b7f511b767f1a2082c30792e59939ab0f3cf1c8aca65 enchant_checker.cpp.patch
0f98383e160782ccc2160e1bd9f5ba5ca02463dc14c2caeb987f225c06b4484a3618a068ff35806b6e3b6b2748e90a558c71ffb8d44c669f302fdcaebca836d4 libxml2-2.12.patch
a4ee1de8df01a6570eb4d069a1b1abd38c39181020f862ce632ab5b863650a58fcaeadc4c988e7fcae3aade5841399d3d5d482d280d44a48286c24e3701e7969 musl-1.2.3.patch
b8634c410485b2a5c8495bf5bcbdda027aca2e7028efc6ea06763d1df121409434cab53f370b55d409fb99e6dbb72819b99cb596ee735fe97aa235d0ed7b0124 unixmouse.diff
"