summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2009-12-07 00:47:10 +0000
committerTony Vroon <chainsaw@gentoo.org>2009-12-07 00:47:10 +0000
commit070114f5b073718ab0bd92cad8abf4bdaf994ea3 (patch)
treea7644ea1fbea93b9e903af9e917e709c6d0faf98 /app-pda/usbmuxd
parentOld version cleanup (diff)
downloadhistorical-070114f5b073718ab0bd92cad8abf4bdaf994ea3.tar.gz
historical-070114f5b073718ab0bd92cad8abf4bdaf994ea3.tar.bz2
historical-070114f5b073718ab0bd92cad8abf4bdaf994ea3.zip
Initial commit. Ebuild by Tomáš "scarabeus" Chvátal.
Package-Manager: portage-2.2_rc55/cvs/Linux x86_64
Diffstat (limited to 'app-pda/usbmuxd')
-rw-r--r--app-pda/usbmuxd/ChangeLog10
-rw-r--r--app-pda/usbmuxd/Manifest15
-rw-r--r--app-pda/usbmuxd/files/usbmuxd-cmake.patch62
-rw-r--r--app-pda/usbmuxd/metadata.xml10
-rw-r--r--app-pda/usbmuxd/usbmuxd-1.0.0_rc2.ebuild25
5 files changed, 122 insertions, 0 deletions
diff --git a/app-pda/usbmuxd/ChangeLog b/app-pda/usbmuxd/ChangeLog
new file mode 100644
index 000000000000..ba0e9e90f129
--- /dev/null
+++ b/app-pda/usbmuxd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-pda/usbmuxd
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/usbmuxd/ChangeLog,v 1.1 2009/12/07 00:47:08 chainsaw Exp $
+
+*usbmuxd-1.0.0_rc2 (07 Dec 2009)
+
+ 07 Dec 2009; <chainsaw@gentoo.org> +usbmuxd-1.0.0_rc2.ebuild,
+ +files/usbmuxd-cmake.patch:
+ Initial commit. Ebuild by Tomáš "scarabeus" Chvátal.
+
diff --git a/app-pda/usbmuxd/Manifest b/app-pda/usbmuxd/Manifest
new file mode 100644
index 000000000000..c3ab4bff13d4
--- /dev/null
+++ b/app-pda/usbmuxd/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX usbmuxd-cmake.patch 3047 RMD160 fc225855bb3f3ce865f4f03088f50b7867a0eb0b SHA1 46fdc721e1a16025118ae00bdf750fc6c59fe136 SHA256 387831bd2dd60b3328dcd65d001357637b599d2637697c119b94c111b3f8e444
+DIST usbmuxd-1.0.0-rc2.tar.bz2 54246 RMD160 aaf120917fc5a5f2940fe08d34ce11fec2b9c687 SHA1 bbb00d3174162b74f7d7ddd152f78d917f5b9955 SHA256 b54533078481534dbe90eeb361e5876cf64263743fa30c114afcf8e85162d3f4
+EBUILD usbmuxd-1.0.0_rc2.ebuild 645 RMD160 037d227e73055d0a228426b84a19cc552a0f70ae SHA1 4ac66481cbd9fc404b553c3f3f0044c6266befd1 SHA256 0027fe788a7e64d68eb4bfa1083d0ce929050b1e2520f40c92b958ca927b64e3
+MISC ChangeLog 392 RMD160 7aafbe188e06d5db1c5851d37810394a77f90c90 SHA1 ae22ffaaa28674150ac64cc72add3dce3c878361 SHA256 aa0570aa73687229b988536a2746ee874b3959a676d65f6f4e182a793e22d7b8
+MISC metadata.xml 250 RMD160 9b84b76c4212b2007d665eb817954438bc119f02 SHA1 3f69a31fb93ce89476bce6d689586f611017d8b4 SHA256 771f2b9efd3e845ceaef0f34ed1b40c268916e590445b2ef3dc90f7766d9aa7b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkscUKUACgkQp5vW4rUFj5qBTACgksEjmKq1ZQtxknd3UO+TcUy2
+aM8An0FYdo5bnkq/dMEoDlf7yer50vyH
+=FgDS
+-----END PGP SIGNATURE-----
diff --git a/app-pda/usbmuxd/files/usbmuxd-cmake.patch b/app-pda/usbmuxd/files/usbmuxd-cmake.patch
new file mode 100644
index 000000000000..11e3bdfa3485
--- /dev/null
+++ b/app-pda/usbmuxd/files/usbmuxd-cmake.patch
@@ -0,0 +1,62 @@
+diff -urN usbmuxd-1.0.0-rc2.old/CMakeLists.txt usbmuxd-1.0.0-rc2/CMakeLists.txt
+--- usbmuxd-1.0.0-rc2.old/CMakeLists.txt 2009-10-31 02:30:59.000000000 +0100
++++ usbmuxd-1.0.0-rc2/CMakeLists.txt 2009-12-07 01:13:46.000000000 +0100
+@@ -16,13 +16,15 @@
+
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Modules/")
+
++set( CMAKE_C_FLAGS "-Wall -O2 -g" )
++
+ add_subdirectory (libusbmuxd)
+ add_subdirectory (daemon)
+ add_subdirectory (tools)
+ add_subdirectory (udev)
+
+ # pkg-config
+-CONFIGURE_FILE ("${CMAKE_SOURCE_DIR}/libusbmuxd.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libusbmuxd.pc")
++CONFIGURE_FILE ("${CMAKE_CURRENT_SOURCE_DIR}/libusbmuxd.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libusbmuxd.pc")
+ # install pkg-config file
+ INSTALL (FILES "${CMAKE_CURRENT_BINARY_DIR}/libusbmuxd.pc" DESTINATION lib${LIB_SUFFIX}/pkgconfig/)
+
+diff -urN usbmuxd-1.0.0-rc2.old/daemon/CMakeLists.txt usbmuxd-1.0.0-rc2/daemon/CMakeLists.txt
+--- usbmuxd-1.0.0-rc2.old/daemon/CMakeLists.txt 2009-10-31 02:30:59.000000000 +0100
++++ usbmuxd-1.0.0-rc2/daemon/CMakeLists.txt 2009-12-07 01:13:34.000000000 +0100
+@@ -6,7 +6,8 @@
+ include_directories (${CMAKE_SOURCE_DIR}/daemon)
+ include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd)
+
+-add_definitions(-Wall -O2 -g -DUSBMUXD_DAEMON -DUSBMUXD_VERSION="${USBMUXD_VERSION}")
++set( CMAKE_C_FLAGS "-Wall -O2 -g" )
++add_definitions(-DUSBMUXD_DAEMON -DUSBMUXD_VERSION="${USBMUXD_VERSION}")
+ add_executable(usbmuxd main.c usb-linux.c log.c ../common/utils.c device.c client.c)
+ target_link_libraries(usbmuxd ${LIBS})
+
+diff -urN usbmuxd-1.0.0-rc2.old/libusbmuxd/CMakeLists.txt usbmuxd-1.0.0-rc2/libusbmuxd/CMakeLists.txt
+--- usbmuxd-1.0.0-rc2.old/libusbmuxd/CMakeLists.txt 2009-10-31 02:30:59.000000000 +0100
++++ usbmuxd-1.0.0-rc2/libusbmuxd/CMakeLists.txt 2009-12-07 01:31:06.000000000 +0100
+@@ -1,8 +1,8 @@
+ include_directories (${CMAKE_SOURCE_DIR}/common)
++find_package(Threads)
+
+-add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ../common/utils.c)
+-find_library (PTHREAD pthread)
+-target_link_libraries (libusbmuxd ${PTHREAD})
++add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ${CMAKE_SOURCE_DIR}/common/utils.c)
++target_link_libraries (libusbmuxd ${CMAKE_THREAD_LIBS_INIT})
+ # 'lib' is a UNIXism, the proper CMake target is usbmuxd
+ # But we can't use that due to the conflict with the usbmuxd daemon,
+ # so instead change the library output base name to usbmuxd here
+diff -urN usbmuxd-1.0.0-rc2.old/tools/CMakeLists.txt usbmuxd-1.0.0-rc2/tools/CMakeLists.txt
+--- usbmuxd-1.0.0-rc2.old/tools/CMakeLists.txt 2009-10-31 02:30:59.000000000 +0100
++++ usbmuxd-1.0.0-rc2/tools/CMakeLists.txt 2009-12-07 01:24:27.000000000 +0100
+@@ -1,8 +1,7 @@
+ include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd)
+ link_directories (${CMAKE_BINARY_DIR}/libusbmuxd)
+
+-add_definitions(-Wall -O2 -g)
+ add_executable(iproxy iproxy.c)
+ target_link_libraries(iproxy libusbmuxd pthread)
+
+-install(TARGETS iproxy RUNTIME DESTINATION bin)
+\ Chybí znak konce řádku na konci souboru
++install(TARGETS iproxy RUNTIME DESTINATION bin)
diff --git a/app-pda/usbmuxd/metadata.xml b/app-pda/usbmuxd/metadata.xml
new file mode 100644
index 000000000000..0bef3c15362f
--- /dev/null
+++ b/app-pda/usbmuxd/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-pda/usbmuxd/usbmuxd-1.0.0_rc2.ebuild b/app-pda/usbmuxd/usbmuxd-1.0.0_rc2.ebuild
new file mode 100644
index 000000000000..06d6243b7626
--- /dev/null
+++ b/app-pda/usbmuxd/usbmuxd-1.0.0_rc2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/usbmuxd/usbmuxd-1.0.0_rc2.ebuild,v 1.1 2009/12/07 00:47:08 chainsaw Exp $
+
+EAPI="2"
+
+inherit base cmake-utils
+
+DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
+HOMEPAGE="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
+SRC_URI="http://marcansoft.com/uploads/${PN}/${P/_/-}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/libusb:1"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-cmake.patch"
+)
+
+S=${WORKDIR}/${P/_/-}