summaryrefslogtreecommitdiff
path: root/dev-libs/qqwing
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/qqwing
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/qqwing')
-rw-r--r--dev-libs/qqwing/Manifest8
-rw-r--r--dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch206
-rw-r--r--dev-libs/qqwing/metadata.xml11
-rw-r--r--dev-libs/qqwing/qqwing-1.3.3.ebuild25
-rw-r--r--dev-libs/qqwing/qqwing-1.3.4.ebuild23
5 files changed, 273 insertions, 0 deletions
diff --git a/dev-libs/qqwing/Manifest b/dev-libs/qqwing/Manifest
new file mode 100644
index 000000000000..e4783e34a623
--- /dev/null
+++ b/dev-libs/qqwing/Manifest
@@ -0,0 +1,8 @@
+AUX qqwing-1.3.0-autotools.patch 5417 SHA256 dcba7d9267b719bdbf56925271af8010cc4778fce1c60b9a17d8b71665b43b16 SHA512 cdb88b9a07cf5c68790c4ce7e6f1156dff4c985c0f65bd73f81556d41570be5789d8fce53594bcd698fdf182dfa0f88618f49fbdaee153b5dcb4c833553ff515 WHIRLPOOL 8f7161b13027d876f7fdef1e49f29a9902b36031023a8210f4f1aca3e5fd04a4b6305514dae7fee515c4ed7d02fe756029467d0fdfa3ead45d4bf8f5fdb0988a
+DIST qqwing-1.3.3.tar.gz 89629 SHA256 e037748255d821439dfef9fb4bae2969e7ea600bb4e4cb0a0c1d7bc7883c596e SHA512 cce6e3122f0620b4a27f5c4186b468906006b6f9deda0b3fc474d40e678722bbb07474c479a75cbcac0812a097e5be4d7ae58339810a897f966d5a73b07a6833 WHIRLPOOL c5cfd0779faeee57cf760d8c94c37ae2343c156781c07320cf68c51a3dfe67d3c0f5bf8b077c33a88dc1e217ae742bb130f4a70b1ff96205427158232f867b76
+DIST qqwing-1.3.4.tar.gz 352060 SHA256 1753736c31feea0085f5cfac33143743204f8a7e66b81ccd17e249ecafba802f SHA512 6762b97d7595e7831edb80d9fac06ca784c6dfb6c5717e72adaac6973ec94bec417806f8ae4b80ed95b876388c8c1a00906b0fa8653a115998c5170db25aab0d WHIRLPOOL 9d491ad8e7ad9afbc3376f35f63b1b956750a5fc41fa2cd34c07ee8b897b81c8dbddd9edac60acfbbd325bfe1872e3819f2901b94b1a2a9ca2bce44c8da7685a
+EBUILD qqwing-1.3.3.ebuild 532 SHA256 3ccaad7c78c0bb47d03b05b258a13c122fea5d6d940f6f5e2d96bbb8ba40a8c6 SHA512 38ce630abd4b3c03ba31656328d93b81a374ba2b331c94e269e67eee6c81bb18dc39570ef2505cff8c6c0c97220c7e83973454d6f14c99aaccba210e957b5a26 WHIRLPOOL 0b7dd599b7e61c20af784aeea3abe34f3b57b6736e31aa478d663ff4c7818e8771f348fe143f06c216cc0d1c9269feee4ef853eaeabd0a935bb139ae4a26aa70
+EBUILD qqwing-1.3.4.ebuild 401 SHA256 65282acd001524dcd6c4a67f3128b0297d2bb98d86d289313d8e50854975aa4a SHA512 f0022f879dc6534e641c8d86078804b352cd43cab57a5e3232d83b762cd5ac83c5aea47863ec796df398576cf730b1cc67c864ad3ce919376435c88f4b6d3bfd WHIRLPOOL fdcf3bbbab31f81b80b21b1d4fb862db8d28c926eef1eec77fb146212b6ce869caf915021857e3670e7c13e8ac4411ef79f00b1826ccd2f203ddf1f91609d2e8
+MISC ChangeLog 3305 SHA256 290365b26436b5b0adf1bda27937292a4aed928dce1a246e43dcb9ad1383262b SHA512 9a0d41d0354aa2e3398249f1ff18196305bfac6b0df39be0ca60594bd0afecebe148ce75285e4513b67a6198cddc9c9fa0b5cafba2238fb29be0cba11478355c WHIRLPOOL 25b710c29a42ec53e0ed9b0c1feda65df5e82b260e74242b006dc693eb61006345e7969305bede9786a3bcb0f7e6d68e5b50240976da0b2cb913c3e1e59d657f
+MISC ChangeLog-2015 1425 SHA256 30bd8388f8e723a4d3bf4a65c7c6192c06bd29a0eeaf27792d2b4621b682f17b SHA512 f503e8b6dc6383903f5a5394b07459f020b470cecbb02776c6c955c06950b0c3ad52743fa29f2f96d9a99459ce8c0d0761928fe9040947f0d7fa1c5da513dfa2 WHIRLPOOL fe10296457db4dbfcc267f97d9bc30519fb81d8c74c61a4536f619fc19f14ce5932c7fe0c62a88508358a44c4e54fa6299763c70d0fddad0802654e9358aae73
+MISC metadata.xml 343 SHA256 fb7964362f7743e1a76c0c7fe6f20bd45e64b2834b428be7a59bcc5a68d0d933 SHA512 66bf722993792485e5e84f2ca612dcc9b803fa022ba94249788b211f48a27e360c9bdd5303a3858fdb73cb2d71eb23377ab67ee0918cfdafb8711cab9283deca WHIRLPOOL e5c6904703f2238c5904faef2294ee1683eb247049b6428051d243005f2835c4cf0a6e68e6fc8b9795c64e063b94cb7aa71fd7c415a21d299f5fed6c5be2c29f
diff --git a/dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch b/dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch
new file mode 100644
index 000000000000..1a7bf41aeaf7
--- /dev/null
+++ b/dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch
@@ -0,0 +1,206 @@
+From d94d718154c065218bc9db8ccfe638d84b86bdb4 Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Sat, 18 Oct 2014 13:02:58 +0200
+Subject: [PATCH] Make autotools a bit saner
+
+---
+ Makefile.am | 16 ++++++++++++++++
+ build/Makefile.am | 17 -----------------
+ build/configure.ac | 47 -----------------------------------------------
+ build/qqwing.pc.in | 10 ----------
+ configure.ac | 47 +++++++++++++++++++++++++++++++++++++++++++++++
+ qqwing.pc.in | 10 ++++++++++
+ 6 files changed, 73 insertions(+), 74 deletions(-)
+ create mode 100644 Makefile.am
+ delete mode 100644 build/Makefile.am
+ delete mode 100755 build/configure.ac
+ delete mode 100755 build/qqwing.pc.in
+ create mode 100644 configure.ac
+ create mode 100644 qqwing.pc.in
+
+diff --git a/Makefile.am b/Makefile.am
+new file mode 100644
+index 0000000..d6109ba
+--- /dev/null
++++ b/Makefile.am
+@@ -0,0 +1,16 @@
++ACLOCAL_AMFLAGS = -I m4
++
++include_HEADERS = src/cpp/qqwing.hpp
++
++lib_LTLIBRARIES = libqqwing.la
++libqqwing_la_SOURCES = src/cpp/qqwing.cpp src/cpp/qqwing.hpp
++libqqwing_la_LDFLAGS = -no-undefined -version-info $(QQWING_CURRENT):$(QQWING_REVISION):$(QQWING_AGE)
++
++bin_PROGRAMS = qqwing
++qqwing_SOURCES = src/cpp/main.cpp
++qqwing_LDADD = $(top_builddir)/libqqwing.la
++
++pkgconfigdir = $(libdir)/pkgconfig
++dist_pkgconfig_DATA = qqwing.pc
++
++dist_man1_MANS = doc/qqwing.man
+diff --git a/build/Makefile.am b/build/Makefile.am
+deleted file mode 100644
+index ef647d2..0000000
+--- a/build/Makefile.am
++++ /dev/null
+@@ -1,17 +0,0 @@
+-ACLOCAL_AMFLAGS = -I m4
+-EXTRA_DIST = debian
+-
+-include_HEADERS = qqwing.hpp
+-
+-lib_LTLIBRARIES = libqqwing.la
+-libqqwing_la_SOURCES = qqwing.cpp qqwing.hpp
+-libqqwing_la_LDFLAGS = -no-undefined -version-info $(QQWING_CURRENT):$(QQWING_REVISION):$(QQWING_AGE)
+-
+-bin_PROGRAMS = qqwing
+-qqwing_SOURCES = main.cpp
+-qqwing_LDADD = $(top_builddir)/libqqwing.la
+-
+-pkgconfigdir = $(libdir)/pkgconfig
+-dist_pkgconfig_DATA = qqwing.pc
+-
+-dist_man_MANS = qqwing.1
+diff --git a/build/configure.ac b/build/configure.ac
+deleted file mode 100755
+index ca75f59..0000000
+--- a/build/configure.ac
++++ /dev/null
+@@ -1,47 +0,0 @@
+-AC_PREREQ(2.59)
+-AC_INIT(qqwing, 1.3.3, http://qqwing.com/)
+-AC_CONFIG_MACRO_DIR([m4])
+-AC_CONFIG_SRCDIR([config.h.in])
+-AC_CONFIG_HEADER([config.h])
+-
+-# Before making a release, the LT_VERSION string should be modified.
+-# The string is of the form C:R:A.
+-# - If interfaces have been changed or added, but binary compatibility has
+-# been preserved, change to C+1:0:A+1
+-# - If binary compatibility has been broken (eg removed or changed interfaces)
+-# change to C+1:0:0
+-# - If the interface is the same as the previous version, change to C:R+1:A
+-QQWING_CURRENT=2
+-QQWING_REVISION=3
+-QQWING_AGE=0
+-
+-AC_SUBST([QQWING_CURRENT])
+-AC_SUBST([QQWING_REVISION])
+-AC_SUBST([QQWING_AGE])
+-
+-AM_INIT_AUTOMAKE([foreign])
+-
+-# Checks for programs.
+-AC_PROG_CXX
+-AC_PROG_CC
+-
+-LT_PREREQ([2.2])
+-LT_INIT([disable-static])
+-
+-# Checks for libraries.
+-
+-# Checks for header files.
+-AC_HEADER_STDC
+-AC_CHECK_HEADERS([stdlib.h sys/time.h])
+-
+-# Checks for typedefs, structures, and compiler characteristics.
+-AC_HEADER_STDBOOL
+-AC_C_CONST
+-AC_C_INLINE
+-AC_HEADER_TIME
+-
+-# Checks for library functions.
+-AC_CHECK_FUNCS([gettimeofday])
+-
+-AC_CONFIG_FILES([Makefile qqwing.pc])
+-AC_OUTPUT
+diff --git a/build/qqwing.pc.in b/build/qqwing.pc.in
+deleted file mode 100755
+index fcc4c45..0000000
+--- a/build/qqwing.pc.in
++++ /dev/null
+@@ -1,10 +0,0 @@
+-prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-libdir=@libdir@
+-includedir=@includedir@
+-
+-Name: libqqwing
+-Description: Sudoku generator and solver library
+-Version: @VERSION@
+-Libs: -L${libdir} -lqqwing
+-Cflags: -I${includedir}
+diff --git a/configure.ac b/configure.ac
+new file mode 100644
+index 0000000..646494f
+--- /dev/null
++++ b/configure.ac
+@@ -0,0 +1,47 @@
++AC_PREREQ(2.59)
++AC_INIT(qqwing, 1.3.3, http://qqwing.com/)
++AC_CONFIG_MACRO_DIR([m4])
++AC_CONFIG_SRCDIR([config.h.in])
++AC_CONFIG_HEADER([config.h])
++
++# Before making a release, the LT_VERSION string should be modified.
++# The string is of the form C:R:A.
++# - If interfaces have been changed or added, but binary compatibility has
++# been preserved, change to C+1:0:A+1
++# - If binary compatibility has been broken (eg removed or changed interfaces)
++# change to C+1:0:0
++# - If the interface is the same as the previous version, change to C:R+1:A
++QQWING_CURRENT=2
++QQWING_REVISION=3
++QQWING_AGE=0
++
++AC_SUBST([QQWING_CURRENT])
++AC_SUBST([QQWING_REVISION])
++AC_SUBST([QQWING_AGE])
++
++AM_INIT_AUTOMAKE([foreign subdir-objects])
++
++# Checks for programs.
++AC_PROG_CXX
++AC_PROG_CC
++
++LT_PREREQ([2.2])
++LT_INIT([disable-static])
++
++# Checks for libraries.
++
++# Checks for header files.
++AC_HEADER_STDC
++AC_CHECK_HEADERS([stdlib.h sys/time.h])
++
++# Checks for typedefs, structures, and compiler characteristics.
++AC_HEADER_STDBOOL
++AC_C_CONST
++AC_C_INLINE
++AC_HEADER_TIME
++
++# Checks for library functions.
++AC_CHECK_FUNCS([gettimeofday])
++
++AC_CONFIG_FILES([Makefile qqwing.pc])
++AC_OUTPUT
+diff --git a/qqwing.pc.in b/qqwing.pc.in
+new file mode 100644
+index 0000000..fcc4c45
+--- /dev/null
++++ b/qqwing.pc.in
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: libqqwing
++Description: Sudoku generator and solver library
++Version: @VERSION@
++Libs: -L${libdir} -lqqwing
++Cflags: -I${includedir}
+--
+2.1.2
+
diff --git a/dev-libs/qqwing/metadata.xml b/dev-libs/qqwing/metadata.xml
new file mode 100644
index 000000000000..f910c711a9e4
--- /dev/null
+++ b/dev-libs/qqwing/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">stephenostermiller/qqwing</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/qqwing/qqwing-1.3.3.ebuild b/dev-libs/qqwing/qqwing-1.3.3.ebuild
new file mode 100644
index 000000000000..79a5f9c19eca
--- /dev/null
+++ b/dev-libs/qqwing/qqwing-1.3.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Sudoku puzzle generator and solver"
+HOMEPAGE="http://qqwing.com/"
+SRC_URI="https://github.com/stephenostermiller/${PN}/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 arm x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # Make autotools work out of the box
+ epatch "${FILESDIR}"/${PN}-1.3.0-autotools.patch
+
+ eautoreconf
+}
diff --git a/dev-libs/qqwing/qqwing-1.3.4.ebuild b/dev-libs/qqwing/qqwing-1.3.4.ebuild
new file mode 100644
index 000000000000..8c6fe5281f9a
--- /dev/null
+++ b/dev-libs/qqwing/qqwing-1.3.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Sudoku puzzle generator and solver"
+HOMEPAGE="http://qqwing.com/"
+SRC_URI="http://qqwing.com/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0/2"
+KEYWORDS="amd64 arm ~arm64 x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_install() {
+ default
+ prune_libtool_files
+}