diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
commit | 71deace00d1a2b091313fe137ab7092418c6f87c (patch) | |
tree | 9f1f0dee23e13658e52f49437befe78427148c51 /dev-libs/libg15render | |
parent | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (diff) |
gentoo resync : 10.02.2020
Diffstat (limited to 'dev-libs/libg15render')
-rw-r--r-- | dev-libs/libg15render/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/libg15render/files/libg15render-1.2-freetype_pkgconfig.patch | 22 | ||||
-rw-r--r-- | dev-libs/libg15render/libg15render-1.2-r2.ebuild | 30 | ||||
-rw-r--r-- | dev-libs/libg15render/libg15render-9999.ebuild | 57 |
4 files changed, 35 insertions, 79 deletions
diff --git a/dev-libs/libg15render/Manifest b/dev-libs/libg15render/Manifest index eb75f4bb028f..ae86c28eab2c 100644 --- a/dev-libs/libg15render/Manifest +++ b/dev-libs/libg15render/Manifest @@ -1,6 +1,5 @@ -AUX libg15render-1.2-freetype_pkgconfig.patch 1091 BLAKE2B 2913ad950880964b82d2b4dfa59a8351ab37abe65616da8069adebd1315a9ee893566b29af50315111d8bb28705c6e64520fe3404a13ad01b43b297841dfbb25 SHA512 3e5313232eb5fc84e039d8d0ea524d3c6e3d238fea7f29f52754ed1b4bb886ec0b7ada57570018da99ae238bd28c7e1fc36c8f6b88227af2df7991afdabacae5 +AUX libg15render-1.2-freetype_pkgconfig.patch 1660 BLAKE2B ac8e1a850a796592a248e9a5231376d906aee234a57c075af76a9c812f27f401e9e6eba79eec5dc6abeaf72968c99a39b0213bfbaf8d72e48037e0b69af35961 SHA512 f06d0d85924c543dfc8a9593e9c99ee6394f3032f57d1059d7c47698aab99b263d2d17ecfc0089375f3c59531a4f990edd11974dfd5962939b301c7975c24c10 AUX libg15render-1.2-pixel-c.patch 686 BLAKE2B a6273daa806090247eab17e2f03f3baa3fbcd7ffe4ee502611a4ecb39134dea809a46d77243c61e949f732b9f7fabd7a7002cc0434dad7e7986da1f25dc2962d SHA512 f1d40893c1f2f17d42c9ca6941d802e0c22a5eb85d9f8167612f7bf21045c096744634ea38928ecfc30c39a6085e6b8652168e711534edf82e3d8f5243c072a4 DIST libg15render-1.2.tar.bz2 246034 BLAKE2B 70c21341949186dc65bec7ef0f695c783928ab024e5bd3f83eedc527a501bee64cf0561f5e642e3e9173f063b6f74ecca458262ee9c40a2a8837f197338bbb31 SHA512 960fd6bc6159b1b12e1de3b0c07e5960d7d5056d4927be8eddf89a911e2c97a8677ef41456aa255399e8a86cd354b848fab28a47005ee2d1b6640e0c886deaac -EBUILD libg15render-1.2-r2.ebuild 968 BLAKE2B ce22275e91cf2cc19e5b43d8f040e324dd2b83179919379a49cc7bad0a53c9200c0b07c1b2fc6e17450b76f8d9097b17f64036ed365b5fcfdd92cf82c1564269 SHA512 7c712b31f4de39af50ddd02ec4cf3975016e167053e3df521aabd6c175c1ee67be02d21e3153adc0c4f0162366816e5a86952d61fba4c6c04e8e6972859e3dea -EBUILD libg15render-9999.ebuild 1168 BLAKE2B d194698228a89c3e8117cb87da0cdef47a3e68ad0da1a9938b213d06ad24b0845c8b3b6e0f21fe6dccbf3edbf6039c815b1d8f3a145a85498bf0ff354b0ec74d SHA512 bab94ac83adfbd395a9fc5ceadaa3f961377987ca5e2685abf8c2582cc43a63810ac774538ff6e8a4cc221d561bca015a571e0efdde53435f66ded723154a782 +EBUILD libg15render-1.2-r2.ebuild 859 BLAKE2B 4ab2dd1dfcf5641df4ceeb0ed19b099db43a909442961ef6d53956f72a064757f0e8ae63ed28553a1b4e7d8344f4aece477860fd1383248323d2e913c967f5b5 SHA512 f5abaef308901205053b5a007f9d71cbec6d069aa0c4631df1b5716a1d846b5e8ee77d7aa6d13721414eb15cf70b1f44b9efdafa06035030155474348dbaa9b5 MISC metadata.xml 408 BLAKE2B 2165f633654f865b41938473830e3a25c373d585a453ea4a084eb4912e0abb0567366c76a9d11373b54bc0e1fd1e76d5fbdc3724a1dd05e47442e778f60fe754 SHA512 e4da283d6a210afc06b392ed61be935a1a1dfa0d886c0f3e6e82bd5e78323e080e911ef7eee9ff2e6ab98ced93804ab8f48433b9f0f630d8c68a62f91a3e780d diff --git a/dev-libs/libg15render/files/libg15render-1.2-freetype_pkgconfig.patch b/dev-libs/libg15render/files/libg15render-1.2-freetype_pkgconfig.patch index 83df9fa4f0fa..313d2ef5b6e2 100644 --- a/dev-libs/libg15render/files/libg15render-1.2-freetype_pkgconfig.patch +++ b/dev-libs/libg15render/files/libg15render-1.2-freetype_pkgconfig.patch @@ -1,5 +1,5 @@ ---- libg15render-1.2/configure.in -+++ libg15render-1.2/configure.in +--- a/configure.in ++++ b/configure.in @@ -13,19 +13,20 @@ AC_PROG_LIBTOOL @@ -33,3 +33,21 @@ # Checks for libraries. AC_CHECK_LIB([g15], [writePixmapToLCD], ,AC_MSG_ERROR(["libg15 not found. please install it"])) +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,5 +1,3 @@ +-LLIBDIR=@LIBDIR@ +-AM_CFLAGS=@CFLAGS@ + lib_LTLIBRARIES = libg15render.la + libg15render_la_SOURCES = libg15render.h text.c pixel.c screen.c font_6x4.c font_7x5.c font_8x8.c + libg15render_la_LIBADD = @FTLIB@ +@@ -7,8 +5,7 @@ + include_HEADERS= libg15render.h + EXTRA_DIST = debian Doxyfile libg15render.3 + man3_MANS = $(top_srcdir)/libg15render.3 +-docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) +-doc_DATA = AUTHORS ChangeLog COPYING NEWS README ++doc_DATA = AUTHORS ChangeLog NEWS README + + dist-hook: + rm -rf `find $(distdir)/debian -name .svn` diff --git a/dev-libs/libg15render/libg15render-1.2-r2.ebuild b/dev-libs/libg15render/libg15render-1.2-r2.ebuild index 816da20255ea..1082ceb99bf4 100644 --- a/dev-libs/libg15render/libg15render-1.2-r2.ebuild +++ b/dev-libs/libg15render/libg15render-1.2-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools @@ -12,19 +12,18 @@ SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" - IUSE="truetype" RDEPEND=" dev-libs/libg15 - truetype? ( media-libs/freetype ) -" -DEPEND="${RDEPEND} + truetype? ( media-libs/freetype )" +DEPEND="${RDEPEND}" +BDEPEND=" truetype? ( virtual/pkgconfig )" PATCHES=( - "${FILESDIR}/${P}-pixel-c.patch" - "${FILESDIR}/${P}-freetype_pkgconfig.patch" + "${FILESDIR}"/${P}-pixel-c.patch + "${FILESDIR}"/${P}-freetype_pkgconfig.patch ) src_prepare() { @@ -34,17 +33,14 @@ src_prepare() { } src_configure() { - local myeconfargs=( - --disable-static - $(use_enable truetype ttf ) - ) - econf "${myeconfargs[@]}" + econf \ + --disable-static \ + $(use_enable truetype ttf) } src_install() { - emake DESTDIR="${D}" \ - docdir=/usr/share/doc/${PF} install - rm "${ED%/}/usr/share/doc/${PF}/COPYING" + default - find "${ED}" -name '*.la' -delete || die + # no static archives + find "${D}" -name '*.la' -delete || die } diff --git a/dev-libs/libg15render/libg15render-9999.ebuild b/dev-libs/libg15render/libg15render-9999.ebuild deleted file mode 100644 index 58ded405385e..000000000000 --- a/dev-libs/libg15render/libg15render-9999.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -ESVN_PROJECT=g15tools/trunk -ESVN_REPO_URI="https://svn.code.sf.net/p/g15tools/code/trunk/${PN}" - -inherit subversion base eutils autotools - -DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard" -HOMEPAGE="https://sourceforge.net/projects/g15tools/" -[[ $PV = *9999* ]] || SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" - -IUSE="truetype" - -RDEPEND=" - dev-libs/libg15 - truetype? ( media-libs/freetype ) -" -DEPEND=${RDEPEND} - -src_unpack() { - if [[ ${PV} = *9999* ]]; then - subversion_src_unpack - fi -} - -src_prepare() { - # Merged upstream - #epatch "${FILESDIR}/${PN}-1.2-pixel-c.patch" - - if [[ ${PV} = *9999* ]]; then - subversion_wc_info - fi - base_src_prepare - if [[ ${PV} = *9999* ]]; then - eautoreconf - fi -} - -src_configure() { - econf \ - --disable-static \ - $(use_enable truetype ttf ) -} - -src_install() { - emake DESTDIR="${D}" \ - docdir=/usr/share/doc/${PF} install || die "make install failed" - rm "${ED}/usr/share/doc/${PF}/COPYING" - - find "${ED}" -name '*.la' -exec rm -f {} + -} |