summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/indilib
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/indilib')
-rw-r--r--sci-libs/indilib/Manifest2
-rw-r--r--sci-libs/indilib/files/indilib-0.9.8.1-symlinks.patch22
-rw-r--r--sci-libs/indilib/indilib-0.9.9.ebuild46
-rw-r--r--sci-libs/indilib/indilib-1.0.0.ebuild46
-rw-r--r--sci-libs/indilib/metadata.xml8
5 files changed, 124 insertions, 0 deletions
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest
new file mode 100644
index 000000000000..9b996f98e346
--- /dev/null
+++ b/sci-libs/indilib/Manifest
@@ -0,0 +1,2 @@
+DIST libindi_0.9.9.tar.gz 1275689 SHA256 720b9096baef1489fd7d7d4a236177863a7f7cec86809f21d291b0d9758e4039 SHA512 b905f59252b09cfb79d7b882ce7af8f4bd14d0b22cbff090962cfdd031c78454e5b63e930fc95a2356de5a60355afa3f83b4fa1298db9e7507778d3287df48cd WHIRLPOOL 691b17e6e0a85383b7a34db7e188150ff304579850b2e9389f9ef7c1534a0610b833aa79d12eebc4294d073c3eb3322fb9a3584f9e23a182c8ab7bdf03461b9a
+DIST libindi_1.0.0.tar.gz 1324146 SHA256 15cac006d2ae40214458eec560c52519d724f1e23e0f4641d9154d79a797c638 SHA512 37cf881e2006966f544f970948d001a8f1f0c466537c0bf130af019c929a067ada8a422cc33ff2fc20010ab84968bd01aa3ba10b168ed21f5938e654913f9d90 WHIRLPOOL 420a19c14354dc6a02823df608ba532ce8b7f8dfd158e124b0ca0a7497373e6d159308708bd91946fa459b4c5a58301e1298aceab58ff922f41317aabe75476d
diff --git a/sci-libs/indilib/files/indilib-0.9.8.1-symlinks.patch b/sci-libs/indilib/files/indilib-0.9.8.1-symlinks.patch
new file mode 100644
index 000000000000..51d3223ebf54
--- /dev/null
+++ b/sci-libs/indilib/files/indilib-0.9.8.1-symlinks.patch
@@ -0,0 +1,22 @@
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -242,14 +242,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 \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200classic)\n
+-exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200autostar)\n
+-exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200_16)\n
+-exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200gps)\n
+-exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${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_lx20gps\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap\" )" )
+ #################################################################################
+
+ ########### LX200 Generic Legacy ###########
diff --git a/sci-libs/indilib/indilib-0.9.9.ebuild b/sci-libs/indilib/indilib-0.9.9.ebuild
new file mode 100644
index 000000000000..059a10bf9bf9
--- /dev/null
+++ b/sci-libs/indilib/indilib-0.9.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="lib${PN/lib/}"
+
+inherit cmake-utils udev
+
+DESCRIPTION="INDI Astronomical Control Protocol library"
+HOMEPAGE="http://www.indilib.org/"
+SRC_URI="mirror://sourceforge/${PN/lib/}/${MY_PN}_${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND="
+ sci-libs/cfitsio
+ sci-libs/libnova
+ sci-libs/gsl
+ sys-libs/zlib
+ virtual/jpeg:0
+ virtual/libusb:0
+"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers
+"
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.8.1-symlinks.patch"
+)
+
+S=${WORKDIR}/${MY_PN}_${PV}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUDEVRULES_INSTALL_DIR=$(get_udevdir)
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/indilib/indilib-1.0.0.ebuild b/sci-libs/indilib/indilib-1.0.0.ebuild
new file mode 100644
index 000000000000..59b61470f3f7
--- /dev/null
+++ b/sci-libs/indilib/indilib-1.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="lib${PN/lib/}"
+
+inherit cmake-utils udev
+
+DESCRIPTION="INDI Astronomical Control Protocol library"
+HOMEPAGE="http://www.indilib.org/"
+SRC_URI="mirror://sourceforge/${PN/lib/}/${MY_PN}_${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="
+ sci-libs/cfitsio
+ sci-libs/libnova
+ sci-libs/gsl
+ sys-libs/zlib
+ virtual/jpeg:0
+ virtual/libusb:0
+"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers
+"
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.8.1-symlinks.patch"
+)
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUDEVRULES_INSTALL_DIR=$(get_udevdir)
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/indilib/metadata.xml b/sci-libs/indilib/metadata.xml
new file mode 100644
index 000000000000..060befd94c1c
--- /dev/null
+++ b/sci-libs/indilib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <upstream>
+ <remote-id type="sourceforge">indi</remote-id>
+ </upstream>
+</pkgmetadata>