inkscape: 1.2.2 -> 1.3
This commit is contained in:
parent
675856da74
commit
addbb0f1e8
9175
inkscape/.footprint
9175
inkscape/.footprint
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3ylfyTw3sytGjKk8+uCd72DsCKQfkN6jusxcF7lKmZXOS1vpH+E9FJery/7FczZvplFPZ6kFK+7wrNLtTzy5gwI=
|
||||
SHA256 (Pkgfile) = 98d32e6b5493fb4633370b51ae5f46236cdfcb7888dcfcef179973cdeead490a
|
||||
SHA256 (.footprint) = 5c00c27fb6db20868048ca03ba45bfdd147fc23bd6e84ec9838b1d6b8e8c33b2
|
||||
SHA256 (inkscape-1.2.2.tar.xz) = a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
|
||||
RWSagIOpLGJF36/mgxZ73qzQ62tbjb+n+5DLo6oXxUnlQzB3UbMZG9sFpb10bGeKpOSz9YZwVnAoWJKYpviGLJ6Ex0LKUd9K6Aw=
|
||||
SHA256 (Pkgfile) = fc52cf04c05f88dce08ebfc97c18930132138827a5e76d26e686a2077060986d
|
||||
SHA256 (.footprint) = d3808fa37ad1a4336f4e9f53ed314b39f4f1fb704f0771967bf9ae6c1891a500
|
||||
SHA256 (inkscape-1.3.tar.xz) = bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
|
||||
|
|
|
@ -4,38 +4,36 @@
|
|||
# Depends on: boehm-gc boost double-conversion graphicsmagick gsl gtkmm3 libsoup libxslt poppler-glib popt potrace gdl
|
||||
|
||||
name=inkscape
|
||||
version=1.2.2
|
||||
release=3
|
||||
source=(https://inkscape.org/gallery/item/37360/inkscape-$version.tar.xz)
|
||||
version=1.3
|
||||
release=1
|
||||
source=(https://media.inkscape.org/dl/resources/file/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
# https://gitlab.gnome.org/GNOME/glib/-/issues/2331
|
||||
CFLAGS+=' -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66 -L/usr/lib/inkscape'
|
||||
CXXFLAGS+=' -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66 -L/usr/lib/inkscape'
|
||||
export LDFLAGS+=" -Wl,-rpath=/usr/lib/inkscape"
|
||||
export LDFLAGS+=" -Wl,-rpath=/usr/lib/inkscape"
|
||||
|
||||
cmake -S inkscape-${version}* -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D WITH_INTERNAL_2GEOM=ON \
|
||||
-Wno-dev
|
||||
cmake -S inkscape-${version}* -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="-L/usr/lib/inkscape" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="-L/usr/lib/inkscape" \
|
||||
-D WITH_INTERNAL_2GEOM=ON \
|
||||
-D WITH_NLS=OFF \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
rm -r $PKG/usr/share/man/?? \
|
||||
$PKG/usr/share/locale \
|
||||
$PKG/usr/share/inkscape/doc
|
||||
rm -r $PKG/usr/share/man/?? \
|
||||
$PKG/usr/share/man/??_?? \
|
||||
$PKG/usr/share/inkscape/doc
|
||||
|
||||
find $PKG/usr/share/inkscape \( -name 'README' -o -name 'README.*' \) -delete
|
||||
find $PKG/usr/share/inkscape \( -name 'README' -o -name 'README.*' \
|
||||
-o -name 'LICENSE.txt' \) -delete
|
||||
|
||||
/usr/bin/python3 -mcompileall $PKG
|
||||
/usr/bin/python3 -O -m compileall $PKG
|
||||
/usr/bin/python3 -OO -m compileall $PKG
|
||||
prt-get isinst bash-completion || rm -rf $PKG/usr/share/bash-completion
|
||||
|
||||
rm -rf $PKG/usr/share/man/zh_TW \
|
||||
$PKG/usr/share/man/pt_BR
|
||||
/usr/bin/python3 -mcompileall $PKG
|
||||
/usr/bin/python3 -O -m compileall $PKG
|
||||
/usr/bin/python3 -OO -m compileall $PKG
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user