Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=947d2a571055bf7d88e09d9fe9bcdd7f924f2417

commit 947d2a571055bf7d88e09d9fe9bcdd7f924f2417
Author: janny <[EMAIL PROTECTED]>
Date:   Mon Jan 21 15:47:14 2008 +0100

stellarium-0.9.1-1-i686
* version bump

diff --git a/source/xapps-extra/stellarium/FrugalBuild 
b/source/xapps-extra/stellarium/FrugalBuild
index c402a99..ad94e02 100644
--- a/source/xapps-extra/stellarium/FrugalBuild
+++ b/source/xapps-extra/stellarium/FrugalBuild
@@ -11,7 +11,7 @@ makedepends=('boost>=1.34.1')
_F_cmake_confopts="-DCMAKE_CXX_FLAGS=$CXXFLAGS -DCMAKE_C_FLAGS=$CFLAGS"
Finclude sourceforge cmake
url="http://www.stellarium.org/";
-depends=('sdl_mixer' 'libpng' 'mesa' 'freetype2' 'libjpeg' 'libqtopengl' 
'curl')
+depends=('sdl_mixer' 'libpng' 'mesa' 'freetype2' 'libjpeg' 'libqtopengl' 
'curl' 'qt4')
license="GPL"
groups=('xapps-extra')
archs=('i686')
@@ -19,15 +19,19 @@ archs=('i686')
## 
http://sourceforge.net/tracker/index.php?func=detail&aid=1154587&group_id=48857&atid=454375
## janny next release may have an icon in the tarball as well desktop files
## please check that.
-source=($source $pkgname.png) #flags.patch)
+source=($source $pkgname.png)
sha1sums=('7cbfc207a4497d7f9afa0dda715fae21f8a0d9ef' \
'ab43d03d1e5616b2dadf5a1a0cb4c70e3265167d')
-#          'b5401b8b028c8417d392588d3b8375da858fd6b9')
+options=('scriptlet')

-build()
-{
-       CMake_build
-       Ffilerel ../../$pkgname.png /usr/share/pixmaps/$pkgname.png
+build() {
+       Fcd
+       mkdir -p builds/unix || Fdie
+       cd builds/unix || Fdie
+       cmake -DCMAKE_INSTALL_PREFIX=/usr ../.. || Fdie
+       make || Fdie
+       make DESTDIR=${Fdestdir} install || Fdie
+       Ffilerel ../../../$pkgname.png /usr/share/pixmaps/$pkgname.png
Fdesktop "/usr/bin/$pkgname" "/usr/share/pixmaps/$pkgname.png" "Education;"
}
# optimization OK
diff --git a/source/xapps-extra/stellarium/flags.patch 
b/source/xapps-extra/stellarium/flags.patch
deleted file mode 100644
index e338cb6..0000000
--- a/source/xapps-extra/stellarium/flags.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur stellarium-0.9.0/CMakeLists.txt stellarium-0.9.0-p/CMakeLists.txt
---- stellarium-0.9.0/CMakeLists.txt    2007-06-06 10:25:19.000000000 +0200
-+++ stellarium-0.9.0-p/CMakeLists.txt  2007-12-09 04:47:11.000000000 +0100
-@@ -16,8 +16,8 @@
- ENDIF(NOT CMAKE_BUILD_TYPE)
-
- IF(UNIX AND NOT WIN32)
-- SET(CMAKE_C_FLAGS -Wall)       # additional C compile flags
-- SET(CMAKE_CXX_FLAGS -Wall)     # additional CPP compile flags
-+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")       # additional C compile 
flags
-+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")     # additional CPP compile 
flags
-  SET(STLPORT_LIBRARY "")
- ELSE(UNIX AND NOT WIN32)
-  SET(CMAKE_C_FLAGS "-Wall -fexceptions -fident -mthreads -D_STLP_NO_CUSTOM_IO 
-D_STLP_USE_DYNAMIC_LIB  -I/home/fchereau/STLport/stlport 
-L/home/fchereau/STLport/lib")
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to