ports: Remove circular harfbuzz/freetype/cairo dependency
I don't even know why I was rebuilding cairo and freetype can be just configured with dynamic harfbuzz
This commit is contained in:
+2
-22
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='harfbuzz'
|
||||
VERSION='12.2.0'
|
||||
DOWNLOAD_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/harfbuzz-$VERSION.tar.xz#ecb603aa426a8b24665718667bda64a84c1504db7454ee4cadbd362eea64e545"
|
||||
VERSION='14.3.1'
|
||||
DOWNLOAD_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/harfbuzz-$VERSION.tar.xz#9dae9538aae2ffdf70cec31f2c27bf68e2aaeeae3112688467697d5faf6194f7"
|
||||
DEPENDENCIES=('glib' 'freetype' 'icu')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'-Dprefix=/usr'
|
||||
@@ -26,23 +26,3 @@ build() {
|
||||
install() {
|
||||
meson install --destdir="$DESTDIR" -C build || exit 1
|
||||
}
|
||||
|
||||
post_install() {
|
||||
if [ -n "$HARFBUZZ_CIRCULAR" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
export HARFBUZZ_CIRCULAR=1
|
||||
|
||||
pushd "$BANAN_PORT_DIR/freetype" >/dev/null || exit 1
|
||||
rm -f .compile_hash
|
||||
./build.sh || exit 1
|
||||
popd >/dev/null
|
||||
|
||||
if grep -q cairo "$BANAN_PORT_DIR/.installed_ports"; then
|
||||
pushd "$BANAN_PORT_DIR/cairo" >/dev/null || exit 1
|
||||
rm -f .compile_hash
|
||||
./build.sh || exit 1
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user