index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-05-06 20:42:31 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-05-06 20:42:31 +0200 |
commit | d2e7295857071bd3e3d1e9b1dd5cd4005de46ca8 (patch) | |
tree | ac551b6e1f8b624706cbe442527adae2ff1e5b75 /extra/libotf | |
parent | 46f4a9689f5c27c9f2b533cb858464583ed37a3b (diff) |
-rw-r--r-- | extra/libotf/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/libotf/libotf-0.9.16-pkgconf.patch | 31 |
diff --git a/extra/libotf/PKGBUILD b/extra/libotf/PKGBUILD deleted file mode 100644 index b47c2d89..00000000 --- a/extra/libotf/PKGBUILD +++ /dev/null @@ -1,11 +0,0 @@ -# freetype-config -> pgconf freetype2 (see FS#60427) -source+=('libotf-0.9.16-pkgconf.patch') -sha256sums+=('7bf1eb5aef0f49690fc883a5888925cdf1cf87725b06e5edc696dec8fd3c1428') - -eval "$( - declare -f build | \ - sed ' - /cd.*/a patch -p1 < ../libotf-0.9.16-pkgconf.patch - /configure/i ./autogen.sh - ' -)" diff --git a/extra/libotf/libotf-0.9.16-pkgconf.patch b/extra/libotf/libotf-0.9.16-pkgconf.patch deleted file mode 100644 index 36115bb3..00000000 --- a/extra/libotf/libotf-0.9.16-pkgconf.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -rauN libotf-0.9.16/configure.ac libotf-0.9.16-pkgconf-patch/configure.ac ---- libotf-0.9.16/configure.ac 2018-01-24 00:01:37.000000000 +0100 -+++ libotf-0.9.16-pkgconf-patch/configure.ac 2019-11-26 20:06:12.782289945 +0100 -@@ -50,13 +50,24 @@ - - # Check for Freetype2 usability. - AC_CHECK_PROG(HAVE_FREETYPE_CONFIG, freetype-config, yes) --if test "x$HAVE_FREETYPE_CONFIG" = "xyes"; then -- FREETYPE_INC=`freetype-config --cflags` -+AC_CHECK_PROG(HAVE_PKGCONF, pkgconf, yes) -+if test "x$HAVE_FREETYPE_CONFIG" = "xyes" -o "x$HAVE_PKGCONF" = "xyes"; then -+ if test "x$HAVE_FREETYPE_CONFIG" = "xyes"; then -+ FREETYPE_INC=`freetype-config --cflags` -+ fi -+ if test "x$HAVE_PKGCONF" = "xyes"; then -+ FREETYPE_INC=`pkgconf --cflags freetype2` -+ fi - CPPFLAGS="$CPPFLAGS $FREETYPE_INC" - AC_CHECK_HEADER(ft2build.h, HAVE_FREETYPE=yes, - HAVE_FREETYPE=no CPPFLAGS=$save_CPPFLAGS) - if test "x$HAVE_FREETYPE" = "xyes" ; then -- FREETYPE_LD_FLAGS=`freetype-config --libs`; -+ if test "x$HAVE_FREETYPE_CONFIG" = "xyes"; then -+ FREETYPE_LD_FLAGS=`freetype-config --libs`; -+ fi -+ if test "x$HAVE_PKGCONF" = "xyes"; then -+ FREETYPE_LD_FLAGS=`pkgconf --libs freetype2`; -+ fi - LIBS="$LIBS $FREETYPE_LD_FLAGS" - AC_CHECK_LIB(freetype, FT_Init_FreeType, HAVE_FREETYPE=yes, - HAVE_FREETYPE=no) |