diff options
Diffstat (limited to 'homebrew/podofo')
-rw-r--r-- | homebrew/podofo/.beer | 63 | ||||
-rw-r--r-- | homebrew/podofo/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/podofo/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/podofo/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/podofo/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/podofo/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/podofo/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/podofo/patches.sh | 1 |
8 files changed, 74 insertions, 0 deletions
diff --git a/homebrew/podofo/.beer b/homebrew/podofo/.beer new file mode 100644 index 000000000..f9227d5d8 --- /dev/null +++ b/homebrew/podofo/.beer @@ -0,0 +1,63 @@ +{ + "name": "Podofo", + "description": "Library to work with the PDF file format", + "url": "https://downloads.sourceforge.net/podofo/podofo-0.9.6.tar.gz", + "mirror": null, + "homepage": "https://podofo.sourceforge.io", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "fontconfig", + "build-depend": false + }, + { + "depend": "freetype", + "build-depend": false + }, + { + "depend": "jpeg", + "build-depend": false + }, + { + "depend": "libidn", + "build-depend": false + }, + { + "depend": "libpng", + "build-depend": false + }, + { + "depend": "libtiff", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://sourceforge.net/p/podofo/tickets/24/attachment/podofo-cmake-3.12.patch", + "strip": "0" + } + ], + "install": [ + "args = std_cmake_args + %W[", + "-DCMAKE_DISABLE_FIND_PACKAGE_CppUnit=ON", + "-DCMAKE_DISABLE_FIND_PACKAGE_LUA=ON", + "-DPODOFO_BUILD_SHARED:BOOL=ON", + "-DFREETYPE_INCLUDE_DIR_FT2BUILD=#{Formula[\"freetype\"].opt_include}/freetype2", + "-DFREETYPE_INCLUDE_DIR_FTHEADER=#{Formula[\"freetype\"].opt_include}/freetype2/config/", + "]", + "mkdir \"build\" do", + "system \"cmake\", \"..\", *args", + "system \"make\", \"install\"" + ], + "version": "0.9.6", + "file": "podofo.rb" +}
\ No newline at end of file diff --git a/homebrew/podofo/.make.sh-auto b/homebrew/podofo/.make.sh-auto new file mode 100644 index 000000000..e7721496c --- /dev/null +++ b/homebrew/podofo/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +args = std_cmake_args + %W[-DCMAKE_DISABLE_FIND_PACKAGE_CppUnit=ON -DCMAKE_DISABLE_FIND_PACKAGE_LUA=ON -DPODOFO_BUILD_SHARED:BOOL=ON -DFREETYPE_INCLUDE_DIR_FT2BUILD=#{Formula["freetype"].opt_include}/freetype2 -DFREETYPE_INCLUDE_DIR_FTHEADER=#{Formula["freetype"].opt_include}/freetype2/config/ ] +mkdir "build" && cd build +cmake .. *args +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/podofo/_metadata/description b/homebrew/podofo/_metadata/description new file mode 100644 index 000000000..71507eb93 --- /dev/null +++ b/homebrew/podofo/_metadata/description @@ -0,0 +1 @@ +Library to work with the PDF file format diff --git a/homebrew/podofo/_metadata/homepage b/homebrew/podofo/_metadata/homepage new file mode 100644 index 000000000..3230edaf8 --- /dev/null +++ b/homebrew/podofo/_metadata/homepage @@ -0,0 +1 @@ +https://podofo.sourceforge.io diff --git a/homebrew/podofo/_metadata/name b/homebrew/podofo/_metadata/name new file mode 100644 index 000000000..ebd378a76 --- /dev/null +++ b/homebrew/podofo/_metadata/name @@ -0,0 +1 @@ +Podofo diff --git a/homebrew/podofo/_metadata/version b/homebrew/podofo/_metadata/version new file mode 100644 index 000000000..85b7c695b --- /dev/null +++ b/homebrew/podofo/_metadata/version @@ -0,0 +1 @@ +0.9.6 diff --git a/homebrew/podofo/download.sh b/homebrew/podofo/download.sh new file mode 100755 index 000000000..601b084f5 --- /dev/null +++ b/homebrew/podofo/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/podofo/podofo-0.9.6.tar.gz
\ No newline at end of file diff --git a/homebrew/podofo/patches.sh b/homebrew/podofo/patches.sh new file mode 100755 index 000000000..712a1b129 --- /dev/null +++ b/homebrew/podofo/patches.sh @@ -0,0 +1 @@ +wget https://sourceforge.net/p/podofo/tickets/24/attachment/podofo-cmake-3.12.patch |