QA fixes
This commit is contained in:
		
							
								
								
									
										2
									
								
								dev-libs/feedbackd/Manifest
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								dev-libs/feedbackd/Manifest
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
DIST feedbackd-0.0.0-48b4bb97d62fa1917a9e54852f593d3190ef188c.tar.gz 79913 BLAKE2B 9173619846072bf46a83c88a5383c36aa2493773a31de0a25b7d2db9ce45873674f7a551ff009b7e18e4bde19807ef92da81b6c27e9c78d568066f0350f1eaba SHA512 e87da6123fe56167cb5e1a5d0fbe2d17356e337b53f6348ddd1f9fb5236f213bf72b3b04763edf36fd477fd969ac10f87eafc4136880e40981b7f8b0c4508065
 | 
			
		||||
DIST feedbackd-device-themes-516e80e0b00bbd904e64b0c272c40218290fe9f5.tar.gz 14397 BLAKE2B 189d20635fac63085f0154c939c1c3f5e3e8543eb074f8f82486c4503224eceb0ddc3674f48530e6cb1fa3bc44ad6b1797c5fb1ec575f225e54db97e204c8ec0 SHA512 4ace1c68b26395de54cfae84e5c8cde8642d2bfd663238d4fc527bce44cb937155d1113af56b26b8a0c0168332a617ce6ef5971ea100c664541ae083c47c1661
 | 
			
		||||
							
								
								
									
										56
									
								
								dev-libs/feedbackd/feedbackd-0.0.0.ebuild
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								dev-libs/feedbackd/feedbackd-0.0.0.ebuild
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,56 @@
 | 
			
		||||
# Copyright 1999-2021 Gentoo Authors
 | 
			
		||||
# Distributed under the terms of the GNU General Public License v2
 | 
			
		||||
 | 
			
		||||
EAPI=7
 | 
			
		||||
VALA_USE_DEPEND="vapigen"
 | 
			
		||||
 | 
			
		||||
inherit vala meson udev
 | 
			
		||||
 | 
			
		||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 | 
			
		||||
 | 
			
		||||
IUSE="+introspection +vala"
 | 
			
		||||
REQUIRED_USE="vala? ( introspection )"
 | 
			
		||||
 | 
			
		||||
MY_COMMIT="48b4bb97d62fa1917a9e54852f593d3190ef188c"
 | 
			
		||||
MY_THEME_COMMIT="516e80e0b00bbd904e64b0c272c40218290fe9f5"
 | 
			
		||||
 | 
			
		||||
DESCRIPTION="A daemon to provide haptic feedback on events"
 | 
			
		||||
HOMEPAGE="https://source.puri.sm/Librem5/feedbackd"
 | 
			
		||||
 | 
			
		||||
SRC_URI="https://source.puri.sm/Librem5/feedbackd/-/archive/${MY_COMMIT}/${MY_COMMIT}.tar.gz -> ${P}-${MY_COMMIT}.tar.gz
 | 
			
		||||
https://source.puri.sm/Librem5/feedbackd-device-themes/-/archive/${MY_THEME_COMMIT}/feedbackd-device-themes-${MY_THEME_COMMIT}.tar.gz
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
S=${WORKDIR}/${PN}-${MY_COMMIT}
 | 
			
		||||
 | 
			
		||||
LICENSE="LGPL-3"
 | 
			
		||||
SLOT="0"
 | 
			
		||||
 | 
			
		||||
DEPEND="
 | 
			
		||||
		gnome-base/dconf
 | 
			
		||||
		media-libs/gsound
 | 
			
		||||
		dev-libs/json-glib
 | 
			
		||||
		dev-libs/libgudev
 | 
			
		||||
"
 | 
			
		||||
RDEPEND="${DEPEND}"
 | 
			
		||||
BDEPEND="
 | 
			
		||||
		dev-libs/gobject-introspection
 | 
			
		||||
		dev-util/meson
 | 
			
		||||
		virtual/pkgconfig
 | 
			
		||||
		vala? ( $(vala_depend) )
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
src_prepare() {
 | 
			
		||||
	default
 | 
			
		||||
	eapply_user
 | 
			
		||||
	use vala && vala_src_prepare
 | 
			
		||||
	sed -i 's/-G feedbackd/-G video/g' "${S}/debian/feedbackd.udev"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_install() {
 | 
			
		||||
	default
 | 
			
		||||
	meson_src_install
 | 
			
		||||
	insinto /usr/share/feedbackd/themes
 | 
			
		||||
	doins "${WORKDIR}/feedbackd-device-themes-${MY_THEME_COMMIT}/data/"*.json
 | 
			
		||||
	udev_newrules "${S}/debian/feedbackd.udev" 90-feedbackd.rules
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										175
									
								
								dev-libs/feedbackd/files/pine64.pinephone.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										175
									
								
								dev-libs/feedbackd/files/pine64.pinephone.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,175 @@
 | 
			
		||||
{
 | 
			
		||||
  "name" : "default",
 | 
			
		||||
  "profiles" : [
 | 
			
		||||
    {
 | 
			
		||||
      "name" : "full",
 | 
			
		||||
      "feedbacks" : [
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "alarm-clock-elapsed",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "alarm-clock-elapsed"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "button-pressed",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "button-pressed"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "button-released",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "button-released"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-email",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "message-new-email"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-instant",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "message-new-instant"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-sms",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "message-new-instant"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "phone-incoming-call",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "phone-incoming-call"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "timeout-completed",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "complete"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "theme-demo",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "theme-demo"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "window-close",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "theme-demo"
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "name" : "quiet",
 | 
			
		||||
      "feedbacks" : [
 | 
			
		||||
        {
 | 
			
		||||
          "event-name"   : "alarm-clock-elapsed",
 | 
			
		||||
          "type"         : "VibraPeriodic",
 | 
			
		||||
          "magnitude"    : 32767,
 | 
			
		||||
          "duration"     : 10000,
 | 
			
		||||
          "fade-in-time" : 10000,
 | 
			
		||||
          "fade-in-level": 4096
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "bell-terminal",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 100
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "button-pressed",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 80
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "button-released",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 40
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-email",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 750,
 | 
			
		||||
          "count"      : 3,
 | 
			
		||||
          "pause"      : 100
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-instant",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 750
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-sms",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 1250,
 | 
			
		||||
          "count"      : 2,
 | 
			
		||||
          "pause"      : 250
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-sent-instant",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 250
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "phone-incoming-call",
 | 
			
		||||
          "type"       : "VibraPeriodic",
 | 
			
		||||
          "duration"   : 10000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "timeout-completed",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 500
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "theme-demo",
 | 
			
		||||
          "type"       : "VibraPeriodic",
 | 
			
		||||
          "magnitude"  : 32767,
 | 
			
		||||
          "duration"   : 5000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "window-close",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 75
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "name" : "silent",
 | 
			
		||||
      "feedbacks" : [
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "battery-caution",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "red",
 | 
			
		||||
          "frequency"  : 5000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "phone-missed-call",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 3000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-missed-email",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 2000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-missed-instant",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 1000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-missed-notification",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 500
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-missed-sms",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 2000
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										174
									
								
								dev-libs/feedbackd/files/purism.librem5.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										174
									
								
								dev-libs/feedbackd/files/purism.librem5.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,174 @@
 | 
			
		||||
{
 | 
			
		||||
  "name" : "default",
 | 
			
		||||
  "profiles" : [
 | 
			
		||||
    {
 | 
			
		||||
      "name" : "full",
 | 
			
		||||
      "feedbacks" : [
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "alarm-clock-elapsed",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "alarm-clock-elapsed"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "button-pressed",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "button-pressed"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "button-released",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "button-released"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-email",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "message-new-email"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-instant",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "message-new-instant"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-sms",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "message-new-instant"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "phone-incoming-call",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "phone-incoming-call"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "timeout-completed",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "complete"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "theme-demo",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "theme-demo"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "window-close",
 | 
			
		||||
          "type"       : "Sound",
 | 
			
		||||
          "effect"     : "theme-demo"
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "name" : "quiet",
 | 
			
		||||
      "feedbacks" : [
 | 
			
		||||
        {
 | 
			
		||||
          "event-name"   : "alarm-clock-elapsed",
 | 
			
		||||
          "type"         : "VibraPeriodic",
 | 
			
		||||
          "magnitude"    : 32767,
 | 
			
		||||
          "duration"     : 10000,
 | 
			
		||||
          "fade-in-time" : 10000,
 | 
			
		||||
          "fade-in-level": 4096
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "bell-terminal",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 100
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "button-pressed",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 15
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "button-released",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 12
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-email",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 750,
 | 
			
		||||
          "count"      : 3,
 | 
			
		||||
          "pause"      : 100
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-instant",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 150
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-new-sms",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 500,
 | 
			
		||||
          "count"      : 2,
 | 
			
		||||
          "pause"      : 100
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-sent-instant",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 150
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "phone-incoming-call",
 | 
			
		||||
          "type"       : "VibraPeriodic",
 | 
			
		||||
          "duration"   : 10000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "timeout-completed",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 100
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "theme-demo",
 | 
			
		||||
          "type"       : "VibraPeriodic",
 | 
			
		||||
          "magnitude"  : 32767,
 | 
			
		||||
          "duration"   : 5000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "window-close",
 | 
			
		||||
          "type"       : "VibraRumble",
 | 
			
		||||
          "duration"   : 25
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "name" : "silent",
 | 
			
		||||
      "feedbacks" : [
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "battery-caution",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "red",
 | 
			
		||||
          "frequency"  : 5000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "phone-missed-call",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 3000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-missed-email",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 2000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-missed-instant",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 1000
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-missed-notification",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 500
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "event-name" : "message-missed-sms",
 | 
			
		||||
          "type"       : "Led",
 | 
			
		||||
          "color"      : "blue",
 | 
			
		||||
          "frequency"  : 2000
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								dev-libs/feedbackd/metadata.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								dev-libs/feedbackd/metadata.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 | 
			
		||||
<pkgmetadata>
 | 
			
		||||
	<maintainer type="person">
 | 
			
		||||
		<email>gjdijkman@gjdwebserver.nl</email>
 | 
			
		||||
		<name>Gerben Jan Dijkman</name>
 | 
			
		||||
	</maintainer>
 | 
			
		||||
	<upstream>
 | 
			
		||||
		<doc>https://source.puri.sm/Librem5/feedbackd/</doc>
 | 
			
		||||
		<bugs-to>https://source.puri.sm/Librem5/feedbackd/-/issues</bugs-to>
 | 
			
		||||
	</upstream>
 | 
			
		||||
</pkgmetadata>
 | 
			
		||||
@@ -3,31 +3,28 @@
 | 
			
		||||
 | 
			
		||||
EAPI=7
 | 
			
		||||
 | 
			
		||||
inherit cmake
 | 
			
		||||
CMAKE_MAKEFILE_GENERATOR=emake
 | 
			
		||||
CMAKE_USE_DIR="${S}/cpp"
 | 
			
		||||
inherit java-pkg-2 cmake
 | 
			
		||||
 | 
			
		||||
DESCRIPTION="library for parsing, formatting, and validating international phone numbers"
 | 
			
		||||
HOMEPAGE="https://github.com/google/libphonenumber"
 | 
			
		||||
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 | 
			
		||||
 | 
			
		||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 | 
			
		||||
 | 
			
		||||
LICENSE="Apache-2.0"
 | 
			
		||||
 | 
			
		||||
SLOT="0"
 | 
			
		||||
IUSE=""
 | 
			
		||||
 | 
			
		||||
DEPEND="dev-libs/icu
 | 
			
		||||
		dev-libs/protobuf
 | 
			
		||||
		dev-libs/boost
 | 
			
		||||
DEPEND="
 | 
			
		||||
	dev-libs/icu
 | 
			
		||||
	dev-libs/protobuf
 | 
			
		||||
	dev-libs/boost
 | 
			
		||||
"
 | 
			
		||||
RDEPEND="${DEPEND}"
 | 
			
		||||
 | 
			
		||||
BDEPEND="dev-cpp/gtest
 | 
			
		||||
		virtual/jdk
 | 
			
		||||
BDEPEND="
 | 
			
		||||
	dev-cpp/gtest
 | 
			
		||||
	virtual/jdk
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
RESTRICT+=" test" # bug 668872
 | 
			
		||||
 | 
			
		||||
CMAKE_USE_DIR=${S}/cpp
 | 
			
		||||
 | 
			
		||||
CMAKE_MAKEFILE_GENERATOR=emake
 | 
			
		||||
RESTRICT="test" # bug 668872
 | 
			
		||||
 
 | 
			
		||||
@@ -5,9 +5,6 @@
 | 
			
		||||
		<email>gjdijkman@gjdwebserver.nl</email>
 | 
			
		||||
		<name>Gerben Jan Dijkman</name>
 | 
			
		||||
	</maintainer>
 | 
			
		||||
	<longdescription lang="en">
 | 
			
		||||
	Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.
 | 
			
		||||
	</longdescription>
 | 
			
		||||
	<upstream>
 | 
			
		||||
		<doc>https://github.com/google/libphonenumber</doc>
 | 
			
		||||
	</upstream>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,10 @@
 | 
			
		||||
# Copyright 1999-2021 Gentoo Foundation
 | 
			
		||||
# Copyright 1999-2021 Gentoo Authors
 | 
			
		||||
# Distributed under the terms of the GNU General Public License v2
 | 
			
		||||
 | 
			
		||||
EAPI=6
 | 
			
		||||
EAPI=7
 | 
			
		||||
 | 
			
		||||
URELEASE="groovy"
 | 
			
		||||
inherit cmake-utils
 | 
			
		||||
inherit cmake
 | 
			
		||||
 | 
			
		||||
# Handle version strings here so as not to use 'ubuntu-versionator' eclass #
 | 
			
		||||
MY_PV="${PV:0:5}"
 | 
			
		||||
@@ -17,13 +17,14 @@ SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.ori
 | 
			
		||||
 | 
			
		||||
LICENSE="LGPL-3"
 | 
			
		||||
SLOT="0"
 | 
			
		||||
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
 | 
			
		||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 | 
			
		||||
IUSE="doc test"
 | 
			
		||||
RESTRICT="mirror"
 | 
			
		||||
RESTRICT="!test? ( test ) mirror"
 | 
			
		||||
 | 
			
		||||
DEPEND="dev-libs/boost
 | 
			
		||||
	doc? ( app-doc/doxygen )
 | 
			
		||||
        test? ( >=dev-cpp/gtest-1.8.1 )"
 | 
			
		||||
	test? ( >=dev-cpp/gtest-1.8.1 )
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
S="${WORKDIR}/${MY_P}"
 | 
			
		||||
MAKEOPTS="${MAKEOPTS} -j1"
 | 
			
		||||
@@ -31,5 +32,5 @@ MAKEOPTS="${MAKEOPTS} -j1"
 | 
			
		||||
src_prepare() {
 | 
			
		||||
	use !doc && truncate -s0 doc/CMakeLists.txt
 | 
			
		||||
	use !test && truncate -s0 tests/CMakeLists.txt
 | 
			
		||||
	cmake-utils_src_prepare
 | 
			
		||||
	cmake_src_prepare
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user