diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-09-07 10:56:35 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-09-07 10:56:35 +0000 |
commit | e8b66ba8ee28c397684657b5c4bcac584bea2a37 (patch) | |
tree | 0496b5d7a9c81fcfe694087a253dccd34641d536 /sci-libs | |
parent | version bump (diff) | |
download | gentoo-2-e8b66ba8ee28c397684657b5c4bcac584bea2a37.tar.gz gentoo-2-e8b66ba8ee28c397684657b5c4bcac584bea2a37.tar.bz2 gentoo-2-e8b66ba8ee28c397684657b5c4bcac584bea2a37.zip |
Version bump. Needed for kstars.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/indilib/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/indilib/files/0.6-fix_symlink.patch | 39 | ||||
-rw-r--r-- | sci-libs/indilib/indilib-0.6.ebuild | 43 | ||||
-rw-r--r-- | sci-libs/indilib/metadata.xml | 4 |
4 files changed, 94 insertions, 2 deletions
diff --git a/sci-libs/indilib/ChangeLog b/sci-libs/indilib/ChangeLog index 48f4e0416ba7..00e83e3811eb 100644 --- a/sci-libs/indilib/ChangeLog +++ b/sci-libs/indilib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/indilib -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.3 2008/11/02 08:38:03 vapier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.4 2009/09/07 10:56:34 scarabeus Exp $ + +*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. 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 000000000000..cf447c029da1 --- /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/indilib-0.6.ebuild b/sci-libs/indilib/indilib-0.6.ebuild new file mode 100644 index 000000000000..c7e3a165670c --- /dev/null +++ b/sci-libs/indilib/indilib-0.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.6.ebuild,v 1.1 2009/09/07 10:56:34 scarabeus Exp $ + +EAPI="2" + +MY_P="lib${PN/lib/}0_${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 ~ppc ~ppc64 ~x86" +IUSE="cfitsio nova usb v4l2" + +# libfli: not in portage +# fli? ( >=sci-libs/fli-1.71 ) +RDEPEND=" + sys-libs/zlib + cfitsio? ( >=sci-libs/cfitsio-3.140 ) + nova? ( >=sci-libs/libnova-0.12.1 ) + usb? ( dev-libs/libusb ) + v4l2? ( >=sys-kernel/linux-headers-2.6 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P/_/-}" + +PATCHES=( + "${FILESDIR}"/${PV}-fix_symlink.patch +) + +src_configure() { + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with usb) + $(cmake-utils_use_with cfitsio) + " + cmake-utils_src_configure +} diff --git a/sci-libs/indilib/metadata.xml b/sci-libs/indilib/metadata.xml index 8d1e86a9cefb..f89628df673d 100644 --- a/sci-libs/indilib/metadata.xml +++ b/sci-libs/indilib/metadata.xml @@ -2,4 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>kde</herd> +<use> + <flag name="cfitsio">Allow indilib to manipulate FITS files</flag> + <flag name="nova">Enable support for nova celestial mechanics calculations</flag> +</use> </pkgmetadata> |