summaryrefslogtreecommitdiff
path: root/x11-misc/xxkb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
commitbd4aeefe33e63f613512604e47bfca7b2187697d (patch)
treeadb35b5a9a00ee7ea591ab0c987f70167c23b597 /x11-misc/xxkb
parent48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff)
gentoo resync : 03.11.2019
Diffstat (limited to 'x11-misc/xxkb')
-rw-r--r--x11-misc/xxkb/Manifest1
-rw-r--r--x11-misc/xxkb/xxkb-1.11.1-r1.ebuild79
2 files changed, 80 insertions, 0 deletions
diff --git a/x11-misc/xxkb/Manifest b/x11-misc/xxkb/Manifest
index 2567357be730..6178558fa4b8 100644
--- a/x11-misc/xxkb/Manifest
+++ b/x11-misc/xxkb/Manifest
@@ -8,5 +8,6 @@ AUX svg-appdefaults.patch 777 BLAKE2B 5fb362d421569377f907a07446b437270e01b75acb
AUX svg-flags.patch 7143 BLAKE2B bb05bf9e8ad16983dd82670283c7c8a7915f358556eebd065b7a70b66c54b6c9ec37475f192bdd49c7734d5fc84c15939512b7f484667cf3dcd49aa2fc6a94e1 SHA512 e2d6bc62dc75d664007e4cb1d192ce4366ef9c859606e3ff4481d56bc8d0deeca32fa5727cab127bda832b5172ce7e33d5c2039463c9bc46df0679c24dd14ecd
DIST xxkb-1.11.1-src.tar.gz 38123 BLAKE2B eb7cce9a6e64cdcf1a75e375f81f43edd312f443294959fe7b169e5bad1fa107a2e8294edc3b13f1022055027fdae8d52aa5fddef57bbb9f283a63e369b93de6 SHA512 081629ccee41016cd468bd411c8584298bf64d4d791bf803490f6286a330401b933f895fbff2f4a6d1fcfe86c0490267f86d334436c1cea743ad08d97b26038f
DIST xxkb-flags.tar.bz2 2541 BLAKE2B cb8d181ea21dc29881450b2a12e381c72e98f70c225b25db53b183337436d30e300b34d983b060a8618b927afc7a43d10a015f841d4fba663a9856238904bff4 SHA512 c75929bf78a8aa84ffb615c85c2ad70110a9f7b0465891651a57e4772eae5e0ded61d10197f430f9cdd0cf707903af3d0af4250ff1743fdd59d9ff19bc0c33a9
+EBUILD xxkb-1.11.1-r1.ebuild 1582 BLAKE2B 3f8bfaf93f73ffe8ce9ae6abb654ac5fdf4922bb26bfe4286ddc53fcb22fa7c3aafaf3ad76e73a8ba3d120bd0a625f271f60e50dfc9bedee9634e7e06ee16e13 SHA512 ad4bc6f8a1371abe4deb4ae5c5395705259f05cb907c50c37c7c4fc2f32e8aa4e29e3799392fabc6a6837e253c6fec8726ed2ade2c1d968dfa6456ddb59f985b
EBUILD xxkb-1.11.1.ebuild 1542 BLAKE2B af8a2aafabbd0087e7b0981c27bcfe06a3eeebadc645672fa88bc3da6d47d8dba49f320b0e9de0e03d75bce8e846019b41fc52080b92ee9a340b47eac4ac8955 SHA512 e1601cb58f20c623717f8f16e7cf4b49521d22b9816359f8a2be7e77ee9e6e402e7ae7f75a66046ff7275b667c1649336ac348ebcd10c7a93019701540320886
MISC metadata.xml 350 BLAKE2B e482660157076064a3b6b3b70613bc6c1ace83e27e46fd0152794de353617c7f357d6d01bb2b9c0b3cd4d52c0855bd9651474bdaaa10c1e530b26f3e4b27df4a SHA512 0261ca73c33500566a7d6763654df4f6db22c29dab3fbebb781ba63a082bb2dbcff454afc3bbe1a72b19563a34516ed8670f72853e15634dcbac4d7a728957fb
diff --git a/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild b/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild
new file mode 100644
index 000000000000..3cc40778ed9f
--- /dev/null
+++ b/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit multilib toolchain-funcs
+
+DESCRIPTION="eXtended XKB - assign different keymaps to different windows"
+HOMEPAGE="https://sourceforge.net/projects/xxkb/"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}-src.tar.gz
+ svg? ( https://dev.gentoo.org/~jer/${PN}-flags.tar.bz2 )
+"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="svg"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXt
+ svg? (
+ dev-libs/glib:2
+ gnome-base/librsvg:2
+ x11-libs/gtk+:2
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/rman
+ svg? ( virtual/pkgconfig )
+ x11-misc/imake
+"
+
+src_prepare() {
+ if use svg; then
+ mv "${WORKDIR}"/flags . || die
+ eapply "${FILESDIR}"/svg-flags.patch
+ eapply "${FILESDIR}"/svg-appdefaults.patch
+ fi
+
+ eapply "${FILESDIR}"/missing_init.patch
+
+ default
+}
+
+src_configure() {
+ xmkmf $(usex svg -DWITH_SVG_SUPPORT '') || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LIBRARIES="-lXext" \
+ LOCAL_LDFLAGS="${LDFLAGS}" \
+ PIXMAPDIR=/usr/share/xxkb \
+ PROJECTROOT=/usr
+}
+
+src_install() {
+ local myopts
+ if use svg; then
+ myopts="PIXMAPS=flags/de.svg flags/pl.svg flags/il.svg flags/by.svg \
+ flags/ua.svg flags/su.svg flags/ru.svg flags/bg.svg flags/en.svg"
+ else
+ myopts="FOOBAR=buzz"
+ fi
+
+ emake "${myopts}" DESTDIR="${D}" install
+ rm -r "${D}"/usr/$(get_libdir)/X11/app-defaults || die
+
+ emake DESTDIR="${D}" install.man
+
+ insinto /usr/share/xxkb
+ use svg || doins "${FILESDIR}"/*.xpm
+ dodoc README* CHANGES*
+}