libreoffice.güncelendi
This commit is contained in:
parent
d645a91167
commit
de371cf420
1 changed files with 23 additions and 24 deletions
|
@ -3,51 +3,50 @@
|
||||||
# Packagers: alihan-ozturk28@hotmail.com
|
# Packagers: alihan-ozturk28@hotmail.com
|
||||||
# Depends on: tar apache-ant junit openldap python3 cups curl libatomic-ops gtk2 gtk3 perl-archive-zip perl-xml-parser boost expat gstreamer-plugins-base gstreamer1-plugins-base libgsf librsvg libxml2 libxslt neon nss poppler postgresql redland icu hunspell gsfonts dejavu-ttf p7zip graphite2 npapi-sdk clucene serf unixodbc
|
# Depends on: tar apache-ant junit openldap python3 cups curl libatomic-ops gtk2 gtk3 perl-archive-zip perl-xml-parser boost expat gstreamer-plugins-base gstreamer1-plugins-base libgsf librsvg libxml2 libxslt neon nss poppler postgresql redland icu hunspell gsfonts dejavu-ttf p7zip graphite2 npapi-sdk clucene serf unixodbc
|
||||||
|
|
||||||
|
PKGMK_IGNORE_UNPACK="yes"
|
||||||
|
|
||||||
name=libreoffice
|
name=libreoffice
|
||||||
version=5.2.0.4
|
version=5.2.3.3
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-$version.tar.xz
|
source=(http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-$version.tar.xz)
|
||||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-dictionaries-$version.tar.xz
|
|
||||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-help-$version.tar.xz
|
|
||||||
http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-translations-$version.tar.xz)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
unset ACLOCAL
|
unset ACLOCAL
|
||||||
export LO_PREFIX=/usr
|
export LO_PREFIX=/usr
|
||||||
|
|
||||||
#cd $SRC
|
tar -xf ../../../sources/libreoffice-5.2.3.3.tar.xz --no-overwrite-dir
|
||||||
#tar -xf $name-$version.tar.xz --no-overwrite-dir
|
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
install -dm755 external/tarballs
|
install -dm755 external/tarballs
|
||||||
ln -sv $SRC/$name-dictionaries-$version.tar.xz external/tarballs/
|
cd external/tarballs/
|
||||||
ln -sv $SRC/$name-help-$version.tar.xz external/tarballs/
|
wget http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-dictionaries-$version.tar.xz
|
||||||
ln -sv $SRC/$name-translations-$version.tar.xz external/tarballs/
|
wget http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-help-$version.tar.xz
|
||||||
|
wget http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-translations-$version.tar.xz
|
||||||
|
cd ../../
|
||||||
|
|
||||||
|
sed -e "/gzip -f/d" \
|
||||||
|
-e "s|.1.gz|.1|g" \
|
||||||
|
-i bin/distro-install-desktop-integration
|
||||||
|
|
||||||
sed -e "/gzip -f/d" \
|
sed -e "/distro-install-file-lists/d" -i Makefile.in
|
||||||
-e "s|.1.gz|.1|g" \
|
|
||||||
-i bin/distro-install-desktop-integration
|
|
||||||
|
|
||||||
sed -e "/distro-install-file-lists/d" -i Makefile.in
|
|
||||||
|
|
||||||
sed -e "/ustrbuf/a #include <algorithm>" \
|
sed -e "/ustrbuf/a #include <algorithm>" \
|
||||||
-i svl/source/misc/gridprinter.cxx
|
-i svl/source/misc/gridprinter.cxx
|
||||||
|
|
||||||
sed -i "s#isnan#std::&#g" xmloff/source/draw/ximp3dscene.cxx
|
sed -i "s#isnan#std::&#g" xmloff/source/draw/ximp3dscene.cxx
|
||||||
|
|
||||||
# i686 build broken
|
# i686 build broken
|
||||||
[ "$PKGMK_ARCH" = "i686" ] && sed -i '/CppunitTest_sw_ooxmlimport/d' sw/Module_sw.mk
|
[ "$PKGMK_ARCH" = "i686" ] && sed -i '/CppunitTest_sw_ooxmlimport/d' sw/Module_sw.mk
|
||||||
[ "$PKGMK_ARCH" = "i686" ] && sed -i '/CppunitTest_sw_ooxmlexport7/d' sw/Module_sw.mk
|
[ "$PKGMK_ARCH" = "i686" ] && sed -i '/CppunitTest_sw_ooxmlexport7/d' sw/Module_sw.mk
|
||||||
|
|
||||||
|
|
||||||
chmod -v +x bin/unpack-sources
|
chmod -v +x bin/unpack-sources
|
||||||
|
|
||||||
./autogen.sh --prefix=$LO_PREFIX \
|
./autogen.sh --prefix=$LO_PREFIX \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-vendor="Milis" \
|
--with-vendor="Milis" \
|
||||||
--with-lang="es tr ar ru" \
|
--with-lang="es tr ar ru en-GB fr" \
|
||||||
--with-help \
|
--with-help \
|
||||||
--with-myspell-dicts \
|
--with-myspell-dicts \
|
||||||
--with-alloc=system \
|
--with-alloc=system \
|
||||||
|
@ -86,7 +85,7 @@ build() {
|
||||||
--with-ant-home=/opt/ant \
|
--with-ant-home=/opt/ant \
|
||||||
--with-parallelism=$(getconf _NPROCESSORS_ONLN)
|
--with-parallelism=$(getconf _NPROCESSORS_ONLN)
|
||||||
|
|
||||||
make build
|
make build-nocheck
|
||||||
make DESTDIR=$PKG distro-pack-install
|
make DESTDIR=$PKG distro-pack-install
|
||||||
|
|
||||||
install -v -m755 -d $PKG/$LO_PREFIX/share/appdata
|
install -v -m755 -d $PKG/$LO_PREFIX/share/appdata
|
||||||
|
|
Loading…
Add table
Reference in a new issue