dev-libs/protobuf-c: initial import of version 1.1.1
This commit is contained in:
		
							parent
							
								
									95f03dc606
								
							
						
					
					
						commit
						076d2318be
					
				@ -1,4 +1,5 @@
 | 
			
		||||
dev-games
 | 
			
		||||
dev-libs
 | 
			
		||||
games-action
 | 
			
		||||
games-board
 | 
			
		||||
games-engines
 | 
			
		||||
 | 
			
		||||
@ -0,0 +1,29 @@
 | 
			
		||||
https://bugs.gentoo.org/518440
 | 
			
		||||
 | 
			
		||||
avoid compiling tests when we aren't actually testing, especially since it
 | 
			
		||||
requires a compiler to execute which fails when cross-compiling
 | 
			
		||||
 | 
			
		||||
--- a/Makefile.am
 | 
			
		||||
+++ b/Makefile.am
 | 
			
		||||
@@ -135,7 +135,7 @@ t_generated_code2_test_generated_code2_SOURCES = \
 | 
			
		||||
 t_generated_code2_test_generated_code2_LDADD = \
 | 
			
		||||
 	protobuf-c/libprotobuf-c.la
 | 
			
		||||
 
 | 
			
		||||
-noinst_PROGRAMS += \
 | 
			
		||||
+check_PROGRAMS += \
 | 
			
		||||
 	t/generated-code2/cxx-generate-packed-data
 | 
			
		||||
 
 | 
			
		||||
 t_generated_code2_cxx_generate_packed_data_SOURCES = \
 | 
			
		||||
@@ -160,12 +160,6 @@ t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto
 | 
			
		||||
 t/generated-code2/test-full-cxx-output.inc: t/generated-code2/cxx-generate-packed-data$(EXEEXT)
 | 
			
		||||
 	$(AM_V_GEN)$(top_builddir)/t/generated-code2/cxx-generate-packed-data$(EXEEXT) > $(top_builddir)/t/generated-code2/test-full-cxx-output.inc
 | 
			
		||||
 
 | 
			
		||||
-BUILT_SOURCES += \
 | 
			
		||||
-	t/test.pb-c.c t/test.pb-c.h \
 | 
			
		||||
-	t/test-full.pb-c.c t/test-full.pb-c.h \
 | 
			
		||||
-	t/test-full.pb.cc t/test-full.pb.h \
 | 
			
		||||
-	t/generated-code2/test-full-cxx-output.inc
 | 
			
		||||
-
 | 
			
		||||
 t_version_version_SOURCES = \
 | 
			
		||||
 	t/version/version.c
 | 
			
		||||
 t_version_version_LDADD = \
 | 
			
		||||
							
								
								
									
										25
									
								
								packages/dev-libs/protobuf-c/protobuf-c-1.1.1.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								packages/dev-libs/protobuf-c/protobuf-c-1.1.1.exheres-0
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,25 @@
 | 
			
		||||
# Copyright 2013 William Orr <will@worrbase.com>
 | 
			
		||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
 | 
			
		||||
# Distributed under the terms of the GNU General Public License v2
 | 
			
		||||
 | 
			
		||||
require github [ tag=v${PV} ] autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ]
 | 
			
		||||
 | 
			
		||||
SUMMARY="C bindings for the protobuf library"
 | 
			
		||||
DESCRIPTION="
 | 
			
		||||
Allows you to use protobuf library in C. Provides both a library and the code generator.
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
LICENCES="BSD-3"
 | 
			
		||||
SLOT="0"
 | 
			
		||||
PLATFORMS="~amd64"
 | 
			
		||||
MYOPTIONS=""
 | 
			
		||||
 | 
			
		||||
DEPENDENCIES="
 | 
			
		||||
    build+run:
 | 
			
		||||
        dev-libs/protobuf[>=2.6.0]
 | 
			
		||||
    build:
 | 
			
		||||
        virtual/pkg-config
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-no-build-tests.patch )
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user