mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Fixed wrongly named directory. Updated .bep file to use finddir to get the font dirs, except it doesn't seem to be picking up the --with-add-fonts=, also it's failing to write the cache, I suspect that it's trying to write to /boot/system/data/fonts which should fail as it's read-only. I set --with cache= but that didn't seem to help.
TODO: fix this one so that it works correctly.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
DESCRIPTION="Fontconfig is a library for font customization and configuration."
|
||||
HOMEPAGE="http://fontconfig.org"
|
||||
SRC_URI="http://fontconfig.org/release/fontconfig-2.8.0.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd fontconfig-2.8.0
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
./configure --prefix=/boot/common --enable-libxml2
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd fontconfig-2.8.0
|
||||
make install
|
||||
}
|
||||
29
media-libs/fontconfig/fontconfig-2.8.0.bep
Normal file
29
media-libs/fontconfig/fontconfig-2.8.0.bep
Normal file
@@ -0,0 +1,29 @@
|
||||
DESCRIPTION="Fontconfig is a library for font customization and configuration."
|
||||
HOMEPAGE="http://fontconfig.org"
|
||||
SRC_URI="http://fontconfig.org/release/fontconfig-2.8.0.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="broken"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd fontconfig-2.8.0
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
FONTS_DIR=`finddir B_SYSTEM_FONTS_DIRECTORY`
|
||||
FONTS_DIR2=`finddir B_COMMON_FONTS_DIRECTORY`
|
||||
FONTS_DIR3=`finddir B_BEOS_FONTS_DIRECTORY`
|
||||
FONTS_DIR4=`finddir B_USER_FONTS_DIRECTORY`
|
||||
CACHE_DIR=`finddir B_USER_CACHE_DIRECTORY`
|
||||
./configure --prefix=/boot/common \
|
||||
--enable-libxml2 \
|
||||
--with-default-fonts=${FONTS_DIR} \
|
||||
--with-add-fonts=${FONTS_DIR2},${FONTS_DIR3},${FONTS_DIR4} \
|
||||
--with-cache-dir=${CACHE_DIR}
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd fontconfig-2.8.0
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user