summaryrefslogtreecommitdiff
path: root/homebrew/xplanet
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/xplanet')
-rw-r--r--homebrew/xplanet/.beer63
-rw-r--r--homebrew/xplanet/.make.sh-auto3
-rw-r--r--homebrew/xplanet/_metadata/description1
-rw-r--r--homebrew/xplanet/_metadata/homepage1
-rw-r--r--homebrew/xplanet/_metadata/name1
-rw-r--r--homebrew/xplanet/_metadata/version1
-rwxr-xr-xhomebrew/xplanet/download.sh1
-rwxr-xr-xhomebrew/xplanet/patches.sh2
8 files changed, 73 insertions, 0 deletions
diff --git a/homebrew/xplanet/.beer b/homebrew/xplanet/.beer
new file mode 100644
index 000000000..0c1d91b8a
--- /dev/null
+++ b/homebrew/xplanet/.beer
@@ -0,0 +1,63 @@
+{
+ "name": "Xplanet",
+ "description": "Create HQ wallpapers of planet Earth",
+ "url": "https://downloads.sourceforge.net/project/xplanet/xplanet/1.3.1/xplanet-1.3.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://xplanet.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "freetype",
+ "build-depend": false
+ },
+ {
+ "depend": "giflib",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ },
+ {
+ "depend": "libtiff",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/f952f1d/xplanet/xplanet-1.3.1-ntimes.patch",
+ "strip": "2"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/master/xplanet/xplanet-1.3.1-giflib5.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--with-aqua\",",
+ "\"--without-cspice\",",
+ "\"--without-cygwin\",",
+ "\"--without-gif\",",
+ "\"--without-jpeg\",",
+ "\"--without-libpng\",",
+ "\"--without-libtiff\",",
+ "\"--without-pango\",",
+ "\"--without-pnm\",",
+ "\"--without-x\",",
+ "\"--without-xscreensaver\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.3.1",
+ "file": "xplanet.rb"
+} \ No newline at end of file
diff --git a/homebrew/xplanet/.make.sh-auto b/homebrew/xplanet/.make.sh-auto
new file mode 100644
index 000000000..ae26b9d1d
--- /dev/null
+++ b/homebrew/xplanet/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --with-aqua --without-cspice --without-cygwin --without-gif --without-jpeg --without-libpng --without-libtiff --without-pango --without-pnm --without-x --without-xscreensaver
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/xplanet/_metadata/description b/homebrew/xplanet/_metadata/description
new file mode 100644
index 000000000..d10f5e613
--- /dev/null
+++ b/homebrew/xplanet/_metadata/description
@@ -0,0 +1 @@
+Create HQ wallpapers of planet Earth
diff --git a/homebrew/xplanet/_metadata/homepage b/homebrew/xplanet/_metadata/homepage
new file mode 100644
index 000000000..041842a64
--- /dev/null
+++ b/homebrew/xplanet/_metadata/homepage
@@ -0,0 +1 @@
+https://xplanet.sourceforge.io/
diff --git a/homebrew/xplanet/_metadata/name b/homebrew/xplanet/_metadata/name
new file mode 100644
index 000000000..7fbfca8a6
--- /dev/null
+++ b/homebrew/xplanet/_metadata/name
@@ -0,0 +1 @@
+Xplanet
diff --git a/homebrew/xplanet/_metadata/version b/homebrew/xplanet/_metadata/version
new file mode 100644
index 000000000..3a3cd8cc8
--- /dev/null
+++ b/homebrew/xplanet/_metadata/version
@@ -0,0 +1 @@
+1.3.1
diff --git a/homebrew/xplanet/download.sh b/homebrew/xplanet/download.sh
new file mode 100755
index 000000000..3f62e159d
--- /dev/null
+++ b/homebrew/xplanet/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/xplanet/xplanet/1.3.1/xplanet-1.3.1.tar.gz \ No newline at end of file
diff --git a/homebrew/xplanet/patches.sh b/homebrew/xplanet/patches.sh
new file mode 100755
index 000000000..30dfe701a
--- /dev/null
+++ b/homebrew/xplanet/patches.sh
@@ -0,0 +1,2 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/f952f1d/xplanet/xplanet-1.3.1-ntimes.patch
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/master/xplanet/xplanet-1.3.1-giflib5.patch