diff options
-rw-r--r-- | app-mobilephone/gammu/ChangeLog | 7 | ||||
-rw-r--r-- | app-mobilephone/gammu/Manifest | 12 | ||||
-rw-r--r-- | app-mobilephone/gammu/gammu-1.29.0.ebuild | 103 |
3 files changed, 116 insertions, 6 deletions
diff --git a/app-mobilephone/gammu/ChangeLog b/app-mobilephone/gammu/ChangeLog index 4fadfc08c2f9..1d66d6bd6056 100644 --- a/app-mobilephone/gammu/ChangeLog +++ b/app-mobilephone/gammu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-mobilephone/gammu # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.88 2011/01/12 18:14:11 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.89 2011/04/10 16:24:03 fauli Exp $ + +*gammu-1.29.0 (10 Apr 2011) + + 10 Apr 2011; Christian Faulhammer <fauli@gentoo.org> +gammu-1.29.0.ebuild: + version bump for bug 355957 12 Jan 2011; Markos Chandras <hwoarang@gentoo.org> gammu-1.28.0.ebuild: Stable on amd64 wrt bug #350079 diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest index fdd2a36f4db1..ce7efd2fe154 100644 --- a/app-mobilephone/gammu/Manifest +++ b/app-mobilephone/gammu/Manifest @@ -5,14 +5,16 @@ AUX gammu-1.25.0-skip-locktest.patch 584 RMD160 b18e3187cba72b475c7d53ad96d5852d AUX gammu-skip-locktest.patch 522 RMD160 f1b8e663e208a5f683917eb8c6db7e11b3f529ac SHA1 ede02cabb8160e9fa5fd4c70078b273b41e129fd SHA256 fe374362358f1120b1f59a4416c0ee048ba9edaabec02ea7871e812e5404db66 DIST gammu-1.25.0.tar.bz2 1838498 RMD160 034c2a202b3a425025f13a882dfbae428d91b631 SHA1 379f62217f8f26df2119c9b3204bfc126e3d2161 SHA256 be2c9600d781eb07e1e34975d59d09d8f8701cdb54f3d50a74707f4cdd2d63f5 DIST gammu-1.28.0.tar.bz2 2391956 RMD160 0e8b60b1cd0d201db776f6eca70071bf2847c095 SHA1 f34dcf9e578521c7e0e97abd4ef456da316c43e8 SHA256 f620bbb48c15c730cae39feb3e729c6ca070e59ab4e9dee624cc35eae416bf16 +DIST gammu-1.29.0.tar.bz2 5982258 RMD160 b5c0cb59639723e841a48dc4a15ac4e313056d6b SHA1 24808550b3a0eed1d0eee71f5975ae4d6577a540 SHA256 0f7c3122e5f5e246b3ce7fb128b42c1d679ebb3f11f805ea17f1ba86400e1bbf EBUILD gammu-1.25.0-r1.ebuild 2617 RMD160 a60cfe5dea634fec65f9476c6e93c2f434ba3e27 SHA1 73cc8fe48be2d7726849c26cea920b506d8da02c SHA256 d9a4a08a1fcffedab03d205bd35375547e8c8d6aa3d4fa929d1dcc06c3cdc881 EBUILD gammu-1.28.0.ebuild 2755 RMD160 af7fafebf55935edb3b8f9a740b36d16d8602dc5 SHA1 81c279501be9c02f4fb8e85ed067c8b0ae77cf65 SHA256 738bc2d17d27c429f6bd41f73f5e2d4a6f993a2c8ea3010a642805f35e50f46b -MISC ChangeLog 16866 RMD160 babc5a8d448c340ca65b252d89cd9352daaf21b0 SHA1 4b5bcaf727c18f529b8f1da82d0d4cf6dd1b010e SHA256 61dd3763d2979f9f0da6fec666890af1a1f93ffd725e5df5ffab2e3c65884517 +EBUILD gammu-1.29.0.ebuild 2754 RMD160 fcfaeeabe72ea31dbfadc76e24c8021b4fbabd79 SHA1 69c8ba2d99ed5e85c463b8582141f050ab8ce4fe SHA256 9e9fc4583dd4f3a3e93e8e1158b4d1425f0684ee4691bce32779a8ac7fcaeca7 +MISC ChangeLog 17000 RMD160 bff8a48885daede146d49919597a5cf3d45a6f17 SHA1 95cb3a85356d5e6c7b1f6f1da0f1dcf040458b8e SHA256 5fe18dd4e98e46369e8bdeb9326d2bb91c9d0633130622202167c1c4c763f9d7 MISC metadata.xml 230 RMD160 fb7510521b9f8a7be49091f43fb88774fc570c41 SHA1 dae0f2c2dac2e91328c7f40c52c510558ca1ff03 SHA256 b3d8f975317deaaee62c569e9d903ec66989f74df6835aad11938471f239382f -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk0t7xEACgkQ9/cejkQaxBC/tgCfZEDUI/YlNd2fxiloaxKt57Fh -a9IAnjYpOdCEasfJ+LDpF09YzJRtIplx -=57Jt +iEYEARECAAYFAk2h2bkACgkQNQqtfCuFneNRCACeJKl4gPb/bGbhmRUqIHGn9Ufy +79AAnjs3Ze3JvVEmQgMnlzoIh/21YCtk +=PA8Z -----END PGP SIGNATURE----- diff --git a/app-mobilephone/gammu/gammu-1.29.0.ebuild b/app-mobilephone/gammu/gammu-1.29.0.ebuild new file mode 100644 index 000000000000..e162bce758e6 --- /dev/null +++ b/app-mobilephone/gammu/gammu-1.29.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.29.0.ebuild,v 1.1 2011/04/10 16:24:03 fauli Exp $ + +EAPI="3" + +PYTHON_DEPEND="python? 2" + +inherit eutils cmake-utils python + +DESCRIPTION="A tool to handle your cellular phone" +HOMEPAGE="http://www.wammu.eu/" +SRC_URI="http://dl.cihar.com/gammu/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="curl debug bluetooth irda mysql postgres dbi nls python usb" + +RDEPEND="bluetooth? ( net-wireless/bluez ) + curl? ( net-misc/curl ) + usb? ( dev-libs/libusb:1 ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql-server ) + dbi? ( >=dev-db/libdbi-0.8.3 ) + dev-util/dialog + !dev-python/python-gammu" # needs to be removed from the tree +DEPEND="${RDEPEND} + irda? ( virtual/os-headers ) + nls? ( sys-devel/gettext ) + dev-util/cmake" + +# sys-devel/gettext is needed for creating .mo files +# Supported languages and translated documentation +# Be sure all languages are prefixed with a single space! +MY_AVAILABLE_LINGUAS=" af bg ca cs da de el es et fi fr gl he hu id it ko nl pl pt_BR ru sk sv sw zh_CN zh_TW" +IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-skip-locktest.patch + + local lang support_linguas=no + for lang in ${MY_AVAILABLE_LINGUAS} ; do + if use linguas_${lang} ; then + support_linguas=yes + break + fi + done + # install all languages when all selected LINGUAS aren't supported + if [ "${support_linguas}" = "yes" ]; then + for lang in ${MY_AVAILABLE_LINGUAS} ; do + if ! use linguas_${lang} ; then + rm -rf locale/${lang} || die + fi + done + fi +} + +src_configure() { + # debug flag is used inside cmake-utils.eclass + local mycmakeargs="$(cmake-utils_use_with bluetooth Bluez) \ + $(cmake-utils_use_with irda IRDA) \ + $(cmake-utils_use_with curl CURL) \ + $(cmake-utils_use_with usb USB) \ + $(cmake-utils_use_with python PYTHON) \ + $(cmake-utils_use_with mysql MySQL) \ + $(cmake-utils_use_with postgres Postgres) \ + $(cmake-utils_use_with dbi LibDBI) \ + $(cmake-utils_use_with nls GettextLibs) \ + $(cmake-utils_use_with nls Iconv) \ + -DBUILD_SHARED_LIBS=ON -DINSTALL_DOC_DIR=share/doc/${PF}" + if use python; then + mycmakeargs="${mycmakeargs} -DBUILD_PYTHON=$(PYTHON -a)" + fi + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_test() { + LD_LIBRARY_PATH="${WORKDIR}"/${PN}_build/common cmake-utils_src_test +} + +src_install() { + cmake-utils_src_install +} + +pkg_postinst() { + use python && python_mod_optimize gammu +} + +pkg_postrm() { + use python && python_mod_cleanup gammu +} |