summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/indilib-driver-gphoto/Manifest2
-rw-r--r--sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch11
-rw-r--r--sci-libs/indilib-driver-gphoto/indilib-driver-gphoto-9999.ebuild27
-rw-r--r--sci-libs/indilib-driver-qhy/Manifest1
-rw-r--r--sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild25
-rw-r--r--sci-libs/indilib/ChangeLog87
-rw-r--r--sci-libs/indilib/Manifest10
-rw-r--r--sci-libs/indilib/files/0.6-fix_symlink.patch39
-rw-r--r--sci-libs/indilib/files/0.6-multilib.patch21
-rw-r--r--sci-libs/indilib/files/0.6.2-fix_fits_harddep.patch18
-rw-r--r--sci-libs/indilib/files/0.6.2-fix_symlinks.patch23
-rw-r--r--sci-libs/indilib/files/0.7.2-fix_linking_pthread.patch12
-rw-r--r--sci-libs/indilib/files/0.7.2-fix_pkgconfig.patch10
-rw-r--r--sci-libs/indilib/indilib-0.9.1.ebuild50
-rw-r--r--sci-libs/indilib/metadata.xml9
15 files changed, 345 insertions, 0 deletions
diff --git a/sci-libs/indilib-driver-gphoto/Manifest b/sci-libs/indilib-driver-gphoto/Manifest
new file mode 100644
index 0000000..9f53b61
--- /dev/null
+++ b/sci-libs/indilib-driver-gphoto/Manifest
@@ -0,0 +1,2 @@
+AUX fix_zlib_link.patch 766 RMD160 25739de0a0d57d7ef7b9b00de3b7bba3301c1d08 SHA1 0b619779e246d583c2aeacfac68e0a8268c77c0d SHA256 5f6a4647ea4ea1210cfc40fd225162f5583adcf95d9c98111fb975e3dbeed2c1
+EBUILD indilib-driver-gphoto-9999.ebuild 567 RMD160 33d1ce62e086667957d5965ad233bf1ad4f67037 SHA1 d7b38e36e92824f5290012f3e2270e63989d0dac SHA256 dd80ceaf0eb4677cea26f5de00d80835ebc6f58f3420acdc381b222b65453ba2
diff --git a/sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch b/sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch
new file mode 100644
index 0000000..ef4b990
--- /dev/null
+++ b/sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch
@@ -0,0 +1,11 @@
+--- indilib-driver-gphoto-9999/CMakeLists.txt 2012-07-02 20:56:07.839743312 +0200
++++ indilib-driver-gphoto-9999.new/CMakeLists.txt 2012-07-02 20:56:35.593266519 +0200
+@@ -43,7 +43,7 @@
+
+ add_executable(indi_gphoto_ccd ${indigphoto_SRCS})
+
+-target_link_libraries(indi_gphoto_ccd ${INDI_LIBRARIES} ${INDI_MAIN_LIBRARIES} ${CFITSIO_LIBRARIES} ${LIBGPHOTO2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${JPEG_LIBRARIES} gphoto2_port)
++target_link_libraries(indi_gphoto_ccd ${ZLIB_LIBRARIES} ${INDI_LIBRARIES} ${INDI_MAIN_LIBRARIES} ${CFITSIO_LIBRARIES} ${LIBGPHOTO2_LIBRARIES} ${ZLIB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${JPEG_LIBRARIES} gphoto2_port)
+ install(TARGETS indi_gphoto_ccd RUNTIME DESTINATION bin )
+
+ install(FILES indi_gphoto.xml DESTINATION ${INDI_DATA_DIR})
diff --git a/sci-libs/indilib-driver-gphoto/indilib-driver-gphoto-9999.ebuild b/sci-libs/indilib-driver-gphoto/indilib-driver-gphoto-9999.ebuild
new file mode 100644
index 0000000..ae34063
--- /dev/null
+++ b/sci-libs/indilib-driver-gphoto/indilib-driver-gphoto-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit cmake-utils subversion eutils
+
+DESCRIPTION="INDI driver for gphoto2 cameras"
+HOMEPAGE="http://indlib.org"
+ESVN_REPO_URI="https://indi.svn.sourceforge.net/svnroot/indi/trunk/3rdparty/indi-gphoto"
+ESVN_PROJECT="${P}"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+SLOT="0"
+
+DEPEND="sci-libs/indilib \
+ media-libs/libgphoto2"
+
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ subversion_src_unpack
+ epatch "${FILESDIR}/fix_zlib_link.patch"
+}
diff --git a/sci-libs/indilib-driver-qhy/Manifest b/sci-libs/indilib-driver-qhy/Manifest
new file mode 100644
index 0000000..53aca40
--- /dev/null
+++ b/sci-libs/indilib-driver-qhy/Manifest
@@ -0,0 +1 @@
+EBUILD indilib-driver-qhy-9999.ebuild 497 RMD160 c099c0b61e6f80fffda577d230679e5500f28c38 SHA1 fc93609760e32b306e5d4f3d69799842dbde5093 SHA256 236357c0a4bd3277a0a810475f65c4c81c7fdbc3fdb4d4d06114e7e079afa7ea
diff --git a/sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild b/sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild
new file mode 100644
index 0000000..90835e9
--- /dev/null
+++ b/sci-libs/indilib-driver-qhy/indilib-driver-qhy-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit cmake-utils subversion eutils
+
+DESCRIPTION="INDI driver for QHY CCD cameras"
+HOMEPAGE="http://indlib.org"
+ESVN_REPO_URI="https://indi.svn.sourceforge.net/svnroot/indi/trunk/3rdparty/indi-qhy"
+ESVN_PROJECT="${P}"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+SLOT="0"
+
+DEPEND="sci-libs/indilib"
+
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ subversion_src_unpack
+}
diff --git a/sci-libs/indilib/ChangeLog b/sci-libs/indilib/ChangeLog
new file mode 100644
index 0000000..cdd3fd2
--- /dev/null
+++ b/sci-libs/indilib/ChangeLog
@@ -0,0 +1,87 @@
+# ChangeLog for sci-libs/indilib
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.21 2011/10/30 15:47:38 ssuominen Exp $
+
+ 30 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> indilib-0.6.ebuild,
+ indilib-0.7.2.ebuild:
+ Rename obsolete USE="v4l2" to USE="v4l" wrt #385241. Move linux-headers from
+ RDEPEND to DEPEND.
+
+ 13 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> indilib-0.7.2.ebuild:
+ ppc64 stable wrt #354033
+
+ 01 Jun 2011; Brent Baude <ranger@gentoo.org> indilib-0.7.2.ebuild:
+ Marking indilib-0.7.2 ppc stable for bug 354033
+
+ 09 May 2011; Markos Chandras <hwoarang@gentoo.org> indilib-0.7.2.ebuild:
+ Stable on amd64 wrt bug #354033
+
+ 09 May 2011; Thomas Kahle <tomka@gentoo.org> indilib-0.7.2.ebuild:
+ x86 stable per bug 354033
+
+ 13 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -indilib-0.6.2.ebuild:
+ old
+
+*indilib-0.7.2 (13 Jan 2011)
+
+ 13 Jan 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/0.7.2-fix_linking_pthread.patch, +files/0.7.2-fix_pkgconfig.patch,
+ +indilib-0.7.2.ebuild:
+ Version bump. Per bug #351398.
+
+*indilib-0.6.2 (20 Aug 2010)
+
+ 20 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/0.6.2-fix_fits_harddep.patch, +indilib-0.6.2.ebuild,
+ +files/0.6.2-fix_symlinks.patch:
+ Version bump.
+
+ 19 Jan 2010; Jeroen Roovers <jer@gentoo.org> indilib-0.6.ebuild:
+ Stable for HPPA too.
+
+ 30 Nov 2009; Joseph Jezak <josejx@gentoo.org> indilib-0.6.ebuild:
+ Marked ppc64 stable.
+
+ 08 Nov 2009; Jeroen Roovers <jer@gentoo.org> indilib-0.6.ebuild:
+ Marked ~hppa (bug #280312).
+
+ 17 Oct 2009; Markus Meier <maekke@gentoo.org> indilib-0.6.ebuild:
+ x86 stable, bug #288092
+
+ 11 Oct 2009; nixnut <nixnut@gentoo.org> indilib-0.6.ebuild:
+ ppc stable #288092
+
+ 09 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> indilib-0.6.ebuild:
+ amd64 stable wrt #288092
+
+ 15 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/0.6-multilib.patch, indilib-0.6.ebuild:
+ Fix mulitilib issues per bug #284929.
+
+ 07 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org> indilib-0.6.ebuild,
+ metadata.xml:
+ Rename useflag to be same as in kstars.
+
+ 07 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org> -indilib-0.5.ebuild,
+ -files/indilib-0.5+gcc-4.3.patch:
+ Remove old.
+
+*indilib-0.6 (07 Sep 2009)
+
+ 07 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/0.6-fix_symlink.patch, +indilib-0.6.ebuild, metadata.xml:
+ Version bump. Needed for kstars.
+
+ 02 Nov 2008; Mike Frysinger <vapier@gentoo.org> indilib-0.5.ebuild:
+ Cleanup ebuild and add ppc/ppc64 love for KDE 4.
+
+ 09 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/indilib-0.5+gcc-4.3.patch, indilib-0.5.ebuild:
+ Add patch to build with GCC 4.3. Thanks to Marek Miller in bug #223161.
+
+*indilib-0.5 (13 Jan 2008)
+
+ 13 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org> +metadata.xml,
+ +indilib-0.5.ebuild:
+ Initial import to the tree as per bug 205646.
+
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest
new file mode 100644
index 0000000..b783c06
--- /dev/null
+++ b/sci-libs/indilib/Manifest
@@ -0,0 +1,10 @@
+AUX 0.6-fix_symlink.patch 3035 RMD160 e28792ac0c04fb993ce746fc66cd0b8cf9472073 SHA1 225e19fc422dd0ac2aff178fca6cc9ad3ba47566 SHA256 180a1fd4b0939efbedb675f90d6b9f96bcd2516c59bea0f87be79083bd83b87a
+AUX 0.6-multilib.patch 928 RMD160 bc2a8ea0b7a23ee7cae1cee1d13591398ec6d5c9 SHA1 faf3f653269458b4bb004f567c1b53d4e7d8a13e SHA256 cf56386ea42c474be1cbe6a3a9883e205001eaba34b0055e94483902a901a6be
+AUX 0.6.2-fix_fits_harddep.patch 1061 RMD160 c1560646a531cf909f61258ac77721ac46036f81 SHA1 6b39ebe56762bd4d8ffd8ecca44f67c065148a51 SHA256 f4488c695276b827e656bbe4231007b129e1d3173781666d7f7ff68a41e2a4d7
+AUX 0.6.2-fix_symlinks.patch 2298 RMD160 ec1ac1b53fe6b121f719d742191a69c4b3893303 SHA1 eaed71aaf1e255081d14b3dd2d22122fb362031d SHA256 bcd19347ceb8a085920952f28dfce724cff48e4f10af4fede8c962e812e61caa
+AUX 0.7.2-fix_linking_pthread.patch 591 RMD160 f7a6e4397627056cf4dc2badf13836d4245eedb0 SHA1 5f99949422eff8a8dac9b39377da4a5993b6ceb7 SHA256 939b8004e8d651b2ab5b42ca75390ab3d489d81bbd32c00f0e0c54babd7fcc22
+AUX 0.7.2-fix_pkgconfig.patch 470 RMD160 a0e3179d7fa2c609b1943a62290bea2516a8b53b SHA1 a3ac9c99754573c94fc732c12a937cb96579cee4 SHA256 1560353a1ab879c533c5186bd029efdb612bca7024fe280ed3d6e0e3b294ab56
+DIST libindi_0.9.1.tar.gz 602694 RMD160 977ba4f380dbbb3dc95122680e3ffd74955055fe SHA1 d4913c0fd9c622111f447d0a264ebc0127fc662c SHA256 2328661f257ee5c4cdbf384e17b64d4a4388ff4e9ed56623a9d52569c6f847d1
+EBUILD indilib-0.9.1.ebuild 1148 RMD160 0906d9ec39c8a73cdc39499f683eaf3898358183 SHA1 b1f4ef1303b60b08e6cad4cd4309ca5bd6083965 SHA256 776a47f4354f991845ace48850261c6a08cf5771f909b0de2d62d8f06f0e0197
+MISC ChangeLog 2974 RMD160 87b0701d922004f2477a536f48fd2b2ea12b8ed8 SHA1 b9a67ce2ecbf6abca1faa152a23082ec4dbeeecf SHA256 c28223cc80b24de4f1e0f7fbaefecede219e1524b8a858c49a2cd59ed9b0aa57
+MISC metadata.xml 335 RMD160 942b5fc4c73f9852492b50374514f6e10907ff02 SHA1 a2c11cd53eda2431bc7043414a6092b0a6b12c51 SHA256 34a0ab97703e3c50a0e80344d8275f27f6d138becfc3c5ada3c4daa688d8e3ef
diff --git a/sci-libs/indilib/files/0.6-fix_symlink.patch b/sci-libs/indilib/files/0.6-fix_symlink.patch
new file mode 100644
index 0000000..cf447c0
--- /dev/null
+++ b/sci-libs/indilib/files/0.6-fix_symlink.patch
@@ -0,0 +1,39 @@
+diff -urN libindi0-0.6.old/CMakeLists.txt libindi0-0.6/CMakeLists.txt
+--- libindi0-0.6.old/CMakeLists.txt 2008-11-18 10:45:06.000000000 +0100
++++ libindi0-0.6/CMakeLists.txt 2009-09-07 12:49:21.000000000 +0200
+@@ -146,7 +146,7 @@
+ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200gps.cpp
+ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200generic.cpp
+ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200classic.cpp
+- ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200apdriver.c
++ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200apdriver.c
+ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200ap.cpp )
+
+ add_executable(indi_lx200generic ${lx200generic_SRCS} ${liblilxml_SRCS} ${libindicom_SRCS})
+@@ -159,14 +159,11 @@
+
+ install(TARGETS indi_lx200generic RUNTIME DESTINATION bin )
+
+-file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake
+-"exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200gps)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap)\n
+-")
+-set_target_properties(indi_lx200generic PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake)
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200gps\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap\" )" )
+ #################################################################################
+
+ ########### Celestron GPS ############
+@@ -521,4 +518,4 @@
+
+ install( FILES indiapi.h indidevapi.h base64.h eventloop.h ${CMAKE_SOURCE_DIR}/libs/lilxml.h
+ ${CMAKE_SOURCE_DIR}/libs/indicom.h DESTINATION ${INCLUDE_INSTALL_DIR}/libindi COMPONENT Devel)
+-
+\ Chybí znak konce řádku na konci souboru
++
diff --git a/sci-libs/indilib/files/0.6-multilib.patch b/sci-libs/indilib/files/0.6-multilib.patch
new file mode 100644
index 0000000..3f7ab72
--- /dev/null
+++ b/sci-libs/indilib/files/0.6-multilib.patch
@@ -0,0 +1,21 @@
+diff -urN libindi0-0.6.old/CMakeLists.txt libindi0-0.6/CMakeLists.txt
+--- libindi0-0.6.old/CMakeLists.txt 2008-11-18 10:45:06.000000000 +0100
++++ libindi0-0.6/CMakeLists.txt 2009-09-15 10:35:17.000000000 +0200
+@@ -96,7 +96,7 @@
+ ######## INDI Static Library #########
+ ######################################
+ add_library(indidriver STATIC ${indimain_SRCS})
+-install(TARGETS indidriver ARCHIVE DESTINATION lib${LIB_POSTFIX})
++install(TARGETS indidriver ARCHIVE DESTINATION lib${LIB_SUFFIX})
+
+ ######################################
+ ######## INDI Shared Library #########
+@@ -114,7 +114,7 @@
+ target_link_libraries(indi ${FLI_LIBRARIES})
+ endif(FLI_FOUND)
+
+-install(TARGETS indi LIBRARY DESTINATION lib${LIB_POSTFIX})
++install(TARGETS indi LIBRARY DESTINATION lib${LIB_SUFFIX})
+ set_target_properties(indi PROPERTIES VERSION ${INDI_VERSION} SOVERSION ${INDI_SOVERSION})
+
+ #####################################
diff --git a/sci-libs/indilib/files/0.6.2-fix_fits_harddep.patch b/sci-libs/indilib/files/0.6.2-fix_fits_harddep.patch
new file mode 100644
index 0000000..ac033bf
--- /dev/null
+++ b/sci-libs/indilib/files/0.6.2-fix_fits_harddep.patch
@@ -0,0 +1,18 @@
+diff -urN libindi-0.6.2/CMakeLists.txt libindi-0.6.2.new//CMakeLists.txt
+--- libindi-0.6.2/CMakeLists.txt 2010-07-20 06:40:26.000000000 +0200
++++ libindi-0.6.2.new//CMakeLists.txt 2010-08-20 11:04:46.803858551 +0200
+@@ -37,9 +37,11 @@
+
+ macro_optional_find_package(CFITSIO)
+
+-if (NOT CFITSIO_FOUND OR CFITSIO_VERSION_MAJOR LESS 3)
+- message(FATAL_ERROR "CFITSIO version too old, Please install cfitsio 3.x and try again. http://indi.sf.net")
+-endif (NOT CFITSIO_FOUND OR CFITSIO_VERSION_MAJOR LESS 3)
++if (WITH_CFITSIO)
++ if (NOT CFITSIO_FOUND OR CFITSIO_VERSION_MAJOR LESS 3)
++ message(FATAL_ERROR "CFITSIO version too old, Please install cfitsio 3.x and try again. http://indi.sf.net")
++ endif (NOT CFITSIO_FOUND OR CFITSIO_VERSION_MAJOR LESS 3)
++endif (WITH_CFITSIO)
+
+ macro_bool_to_01(CFITSIO_FOUND HAVE_CFITSIO_H)
+ macro_log_feature(CFITSIO_FOUND "libcfitsio" "A library for reading and writing data files in FITS (Flexible Image Transport System) data format" "http://indi.sf.net" FALSE "3.03" "Provides INDI with FITS I/O support.")
diff --git a/sci-libs/indilib/files/0.6.2-fix_symlinks.patch b/sci-libs/indilib/files/0.6.2-fix_symlinks.patch
new file mode 100644
index 0000000..9b0255e
--- /dev/null
+++ b/sci-libs/indilib/files/0.6.2-fix_symlinks.patch
@@ -0,0 +1,23 @@
+diff -urN libindi-0.6.2/CMakeLists.txt libindi-0.6.2.new//CMakeLists.txt
+--- libindi-0.6.2/CMakeLists.txt 2010-07-20 06:40:26.000000000 +0200
++++ libindi-0.6.2.new//CMakeLists.txt 2010-08-20 11:12:31.668952699 +0200
+@@ -178,14 +178,11 @@
+
+ install(TARGETS indi_lx200generic RUNTIME DESTINATION bin )
+
+-file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake
+-"exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200gps)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap)\n
+-")
+-set_target_properties(indi_lx200generic PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake)
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200gps\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap\" )" )
+ #################################################################################
+
+ ########### Celestron GPS ############
diff --git a/sci-libs/indilib/files/0.7.2-fix_linking_pthread.patch b/sci-libs/indilib/files/0.7.2-fix_linking_pthread.patch
new file mode 100644
index 0000000..7ea0330
--- /dev/null
+++ b/sci-libs/indilib/files/0.7.2-fix_linking_pthread.patch
@@ -0,0 +1,12 @@
+diff -urN libindi-0.7.2.old/CMakeLists.txt libindi-0.7.2/CMakeLists.txt
+--- libindi-0.7.2.old/CMakeLists.txt 2011-01-13 13:56:50.773108903 +0100
++++ libindi-0.7.2/CMakeLists.txt 2011-01-13 14:12:52.486108902 +0100
+@@ -164,7 +164,7 @@
+ ############# INDI Client Library ################
+ ##################################################
+ add_library(indiclient STATIC ${indibase_SRCS})
+-target_link_libraries(indiclient indi)
++target_link_libraries(indiclient indi pthread)
+ install(TARGETS indiclient ARCHIVE DESTINATION lib${LIB_POSTFIX})
+
+ #####################################
diff --git a/sci-libs/indilib/files/0.7.2-fix_pkgconfig.patch b/sci-libs/indilib/files/0.7.2-fix_pkgconfig.patch
new file mode 100644
index 0000000..0617531
--- /dev/null
+++ b/sci-libs/indilib/files/0.7.2-fix_pkgconfig.patch
@@ -0,0 +1,10 @@
+diff -urN libindi-0.7.2.old/libindi.pc.cmake libindi-0.7.2/libindi.pc.cmake
+--- libindi-0.7.2.old/libindi.pc.cmake 2011-01-13 13:56:50.769108903 +0100
++++ libindi-0.7.2/libindi.pc.cmake 2011-01-13 13:57:13.421108903 +0100
+@@ -8,5 +8,5 @@
+ URL=http://www.indilib.org/
+ Version: @CMAKE_INDI_VERSION_STRING@
+ Libs: -L@LIB_DESTINATION@ -lindi
+-Cflags: -I@INCLUDE_INSTALL_DIR@ -@INCLUDE_INSTALL_DIR@/libindi
++Cflags: -I@INCLUDE_INSTALL_DIR@ -I@INCLUDE_INSTALL_DIR@/libindi
+
diff --git a/sci-libs/indilib/indilib-0.9.1.ebuild b/sci-libs/indilib/indilib-0.9.1.ebuild
new file mode 100644
index 0000000..fcdc9d0
--- /dev/null
+++ b/sci-libs/indilib/indilib-0.9.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.7.2.ebuild,v 1.6 2011/10/30 15:47:38 ssuominen Exp $
+
+EAPI=3
+
+MY_P="lib${PN/lib/}_${PV}"
+
+inherit cmake-utils eutils
+
+DESCRIPTION="INDI Astronomical Control Protocol library"
+HOMEPAGE="http://indi.sourceforge.net/index.php/Main_Page"
+SRC_URI="mirror://sourceforge/${PN/lib/}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ppc ppc64 x86"
+IUSE="fits nova usb v4l"
+
+# libfli: not in portage
+# fli? ( >=sci-libs/fli-1.71 )
+RDEPEND="
+ sys-libs/zlib
+ fits? ( >=sci-libs/cfitsio-3.140 )
+ nova? ( >=sci-libs/libnova-0.12.1 )
+ usb? ( virtual/libusb:0 )
+"
+DEPEND="${RDEPEND}
+ v4l? ( >=sys-kernel/linux-headers-2.6 )
+"
+
+S="${WORKDIR}/${MY_P/_/-}"
+
+src_prepare() {
+ base_src_prepare
+
+ # fix multilib
+ sed -i \
+ -e "s:\${LIB_POSTFIX}:\${LIB_SUFFIX}:g" \
+ CMakeLists.txt || die "sed failed"
+}
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with usb)
+ $(cmake-utils_use_with fits CFITSIO)
+ $(cmake-utils_use_with nova)
+ "
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/indilib/metadata.xml b/sci-libs/indilib/metadata.xml
new file mode 100644
index 0000000..9665d49
--- /dev/null
+++ b/sci-libs/indilib/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+<use>
+ <flag name="fits">Enable support for the FITS image format through cfitsio</flag>
+ <flag name="nova">Enable support for nova celestial mechanics calculations</flag>
+</use>
+</pkgmetadata>