2006-11-22 00:11:40 +11:00
|
|
|
# Description: Renders an image of the earth into the X root window.
|
|
|
|
# URL: http://xplanet.sourceforge.net/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-05-12 20:52:53 +10:00
|
|
|
# Depends on: pango giflib libtiff xorg-libxscrnsaver
|
2006-11-22 00:11:40 +11:00
|
|
|
|
|
|
|
name=xplanet
|
2020-05-12 20:52:53 +10:00
|
|
|
version=1.3.1
|
|
|
|
release=1
|
|
|
|
source=(https://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
|
|
|
|
giflib6.patch
|
|
|
|
xplanet-c++11.patch)
|
2006-11-22 00:11:40 +11:00
|
|
|
|
2006-12-05 22:29:16 +11:00
|
|
|
build() {
|
2009-06-26 01:01:32 +10:00
|
|
|
cd $name-$version
|
2020-05-12 20:52:53 +10:00
|
|
|
|
|
|
|
patch -p1 -i $SRC/giflib6.patch
|
|
|
|
patch -p1 -i $SRC/xplanet-c++11.patch
|
|
|
|
sed -e 's|freetype-config|pkg-config freetype2|g' -i acinclude.m4
|
|
|
|
autoreconf -vif
|
|
|
|
|
2009-06-26 01:01:32 +10:00
|
|
|
./configure \
|
2020-05-12 20:52:53 +10:00
|
|
|
--prefix=/usr \
|
|
|
|
--with-freetype
|
2009-06-26 01:01:32 +10:00
|
|
|
|
2007-04-01 20:21:01 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-06-08 12:13:57 +10:00
|
|
|
find $PKG -name "README" -type f -delete
|
2006-11-22 00:11:40 +11:00
|
|
|
}
|