summaryrefslogtreecommitdiff
path: root/app-mobilephone/wammu
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone/wammu')
-rw-r--r--app-mobilephone/wammu/Manifest7
-rw-r--r--app-mobilephone/wammu/metadata.xml5
-rw-r--r--app-mobilephone/wammu/wammu-0.40.ebuild63
-rw-r--r--app-mobilephone/wammu/wammu-0.43.ebuild65
4 files changed, 140 insertions, 0 deletions
diff --git a/app-mobilephone/wammu/Manifest b/app-mobilephone/wammu/Manifest
new file mode 100644
index 000000000000..95bc09f2d47a
--- /dev/null
+++ b/app-mobilephone/wammu/Manifest
@@ -0,0 +1,7 @@
+DIST wammu-0.40.tar.bz2 687062 SHA256 cffd4fc6cc7b9433b3f589d51671a5ac5e188abbf676ebe0ce94011933fdb2ff SHA512 2ed5d5cdd63b3731808c5fa8cc36caf394c4ccf714eb4ef39a25f1e7967d8ccf8b69db5aeff37ff0d1bbf7cefec51fe070a5f0b90d0cb8271f1a3d243eaf06fd WHIRLPOOL b05dac88593c5ae3c01f63984824690991a347e4efff2bf3595b1088d9903843e018690845391ab48f62ab7d17f11d0b3a801103a1c408822b1c9afdd88f7150
+DIST wammu-0.43.tar.xz 563832 SHA256 1595d120c7e18674538663d6471ce8fd5b975baf9682ab594f6303b1cf520796 SHA512 c8f0aad8d8fc2c852638a77b45d48ba3c512a1e1cf8f8dc54b99a614f7338f366494ef88d786143defd77e55ab9597d9c705569c4e0fceb856f29a05b9c6a843 WHIRLPOOL 63f1c3f7c347ffab592d2ef4a386dbf1ae42e4d1d92c945ad21a14be25b449a73380021c896205eda5288f41bec492e292e464ec82c4a81a5419060b4340874d
+EBUILD wammu-0.40.ebuild 1685 SHA256 3c8123cfaa1d9b107b574a6952aab5baef04247425de4cbd5c7c8d22df2e96d3 SHA512 5f7352d94a441a8c15473b2991645571f61e9f3b636ed6b47ea321012f28c3ab60cd4a50e9a4662a7e0f416d8c356d726ba70b83071138103a6ce51d92e6a96d WHIRLPOOL c9f4f573e312b73b29b9f2baa125e135ada8f7d275b759226f783a68bf071ae2d0effd9a38e4e06aa8c657a8a45038783ee5ac1f6acb3ade3e7f6ac66b0b95d3
+EBUILD wammu-0.43.ebuild 1639 SHA256 7e4b3bc0a281aff031ee9729c628dea215bc7bc5d409d805ee73b6b4324a85e4 SHA512 2dbd3107670c4ad36215582b689c9b055a860bbdffb387337a1d96a0369291b2d440412971f4570108fdc29d8bf4d314eeb90eecf6118398c0f3b54c5a60dbf8 WHIRLPOOL da9742bf25779f38e6eec7f1228eacdf899600c23aaa4b86f7205908afd536d8669b606a75a3d87d9b170c96c94067100439f881bb5ad8a06e8967b269a64f14
+MISC ChangeLog 3623 SHA256 1ef1a0bfdd8f8657bf80563290bf287ff5705cbaf909bf519433991ff04ec06f SHA512 1ff43bf85f35e71d632f6f4069d9e9bb85a67f5c16648c23607979b6a42e88529f47a8510ac804b0eea9f22a2c829a044d0e32780c180fc41759b3560808619d WHIRLPOOL 7020a36a6ef326e35ad4c22dc386ba468e65832c95aebdc6b59c33b4f20bd1a1a2f9020b9d52abdea49787fbed760cabe3214069983b55a23a278d54d05565e0
+MISC ChangeLog-2015 8069 SHA256 c36e58f29c2140118148e532a59515f763981d7fe7e23e5ad7060eb21eefa09c SHA512 33d86038d87ba1401f113d365690a078c2fc48dbd75683ca10b6ef98fab96c86bc69c4a8a1c1e2742f4ec9ef2694a596a90dc8eeb2a7cb01e5d052865b7291fa WHIRLPOOL 1c144c3392dd6aa6c47da9d15b2cac1ba6a6e59cee4ae662567bcf99e730fd45a3d0272cd3a00691e11f43b8ce3b99f010330d6749f530ad5c5fe901830b7fe1
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-mobilephone/wammu/metadata.xml b/app-mobilephone/wammu/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-mobilephone/wammu/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-mobilephone/wammu/wammu-0.40.ebuild b/app-mobilephone/wammu/wammu-0.40.ebuild
new file mode 100644
index 000000000000..9b7861ba00af
--- /dev/null
+++ b/app-mobilephone/wammu/wammu-0.40.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Front-end for gammu to access mobile phones easily"
+HOMEPAGE="http://www.wammu.eu/"
+SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="bluetooth gnome"
+
+RDEPEND="|| ( ( >=app-mobilephone/gammu-1.36 dev-python/python-gammu )
+ >=app-mobilephone/gammu-1.25.0[python] )
+ >=dev-python/wxpython-2.8:*[${PYTHON_USEDEP}]
+ bluetooth? ( dev-python/pybluez[${PYTHON_USEDEP}]
+ gnome? ( net-wireless/gnome-bluetooth )
+ )"
+DEPEND="${RDEPEND}"
+
+# Supported languages and translated documentation
+# Be sure all languages are prefixed with a single space!
+MY_AVAILABLE_LINGUAS=" af ar bg bn ca cs da de el en_GB es et fi fr gl he hu id it ko nl pl pt_BR ro ru sk sv sw tr uk zh_CN zh_TW"
+IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
+
+# Required to source locale content out of the box
+DISTUTILS_IN_SOURCE_BUILD=1
+
+src_prepare() {
+ 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 -r locale/${lang} || die
+ fi
+ done
+ fi
+
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ # SKIPWXCHECK: else 'import wx' results in
+ # Xlib: connection to ":0.0" refused by server
+ SKIPWXCHECK=yes distutils-r1_src_compile
+}
+
+src_install() {
+ SKIPWXCHECK=yes distutils-r1_src_install
+}
diff --git a/app-mobilephone/wammu/wammu-0.43.ebuild b/app-mobilephone/wammu/wammu-0.43.ebuild
new file mode 100644
index 000000000000..d13beae0c763
--- /dev/null
+++ b/app-mobilephone/wammu/wammu-0.43.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Front-end for gammu to access mobile phones easily"
+HOMEPAGE="http://www.wammu.eu/"
+SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bluetooth gnome"
+
+RDEPEND="
+ >=app-mobilephone/gammu-1.36
+ dev-python/python-gammu
+ >=dev-python/wxpython-2.8:*[${PYTHON_USEDEP}]
+ bluetooth? (
+ dev-python/pybluez[${PYTHON_USEDEP}]
+ gnome? ( net-wireless/gnome-bluetooth )
+ )
+"
+DEPEND="${RDEPEND}"
+
+# Supported languages and translated documentation
+# Be sure all languages are prefixed with a single space!
+MY_AVAILABLE_LINGUAS=" af ar bg bn ca cs da de el en_GB es et fi fr gl he hu id it ko nl pl pt_BR ro ru sk sv sw tr uk zh_CN zh_TW"
+IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
+
+# Required to source locale content out of the box
+DISTUTILS_IN_SOURCE_BUILD=1
+
+src_prepare() {
+ 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 -r locale/${lang} || die
+ fi
+ done
+ fi
+
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ # SKIPWXCHECK: else 'import wx' results in
+ # Xlib: connection to ":0.0" refused by server
+ SKIPWXCHECK=yes distutils-r1_src_compile
+}
+
+src_install() {
+ SKIPWXCHECK=yes distutils-r1_src_install
+}