summaryrefslogtreecommitdiff
path: root/homebrew/poppler/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/poppler/.make.sh-auto')
-rw-r--r--homebrew/poppler/.make.sh-auto13
1 files changed, 13 insertions, 0 deletions
diff --git a/homebrew/poppler/.make.sh-auto b/homebrew/poppler/.make.sh-auto
new file mode 100644
index 000000000..00718fb75
--- /dev/null
+++ b/homebrew/poppler/.make.sh-auto
@@ -0,0 +1,13 @@
+pkg:setup
+ENV.cxx11
+args = std_cmake_args + %w[-DBUILD_GTK_TESTS=OFF -DENABLE_CMS=lcms2 -DENABLE_GLIB=ON -DENABLE_QT5=ON -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DWITH_GObjectIntrospection=ON ]
+cmake . *args
+make DESTDIR=${PKG_DEST} install
+make clean
+cmake . -DBUILD_SHARED_LIBS=OFF *args
+make
+lib.install "libpoppler.a"
+lib.install "cpp/libpoppler-cpp.a"
+lib.install "glib/libpoppler-glib.a"
+resource("font-data").stage do
+make DESTDIR=${PKG_DEST} install prefix=${PKG_TAPF}