Skip to content

Instantly share code, notes, and snippets.

@matsuu
Created April 24, 2013 23:28
Show Gist options
  • Save matsuu/5456454 to your computer and use it in GitHub Desktop.
Save matsuu/5456454 to your computer and use it in GitHub Desktop.
--- atokx3-3.0.0-r8.ebuild 2013-04-22 23:46:37.018494013 +0900
+++ atokx3-3.0.0-r9.ebuild 2013-04-25 08:28:15.315057314 +0900
@@ -22,8 +22,9 @@
KEYWORDS="~amd64 ~x86"
IUSE="multilib"
-RESTRICT="strip mirror binchecks"
+RESTRICT="strip mirror"
+# emul-linux-x86-baselibs-20121202 is required because it depends on /lib32/libudev.so.0
RDEPEND="!app-i18n/atokx2
!dev-libs/libiiimcf
!dev-libs/csconv
@@ -54,11 +55,42 @@
x11-libs/libdrm
x11-libs/pangox-compat
multilib? (
- >=app-emulation/emul-linux-x86-baselibs-20091226
+ =app-emulation/emul-linux-x86-baselibs-20121202
app-emulation/emul-linux-x86-gtklibs
- app-emulation/emul-linux-x86-xlibs
+ || (
+ (
+ media-libs/fontconfig[abi_x86_32]
+ x11-libs/libICE[abi_x86_32]
+ x11-libs/libSM[abi_x86_32]
+ x11-libs/libXcomposite[abi_x86_32]
+ x11-libs/libXcursor[abi_x86_32]
+ x11-libs/libXdamage[abi_x86_32]
+ x11-libs/libXext[abi_x86_32]
+ x11-libs/libXfixes[abi_x86_32]
+ x11-libs/libXft[abi_x86_32]
+ x11-libs/libXi[abi_x86_32]
+ x11-libs/libXrandr[abi_x86_32]
+ x11-libs/libXrender[abi_x86_32]
+ x11-libs/libXxf86vm[abi_x86_32]
+ )
+ app-emulation/emul-linux-x86-xlibs
+ )
)"
+QA_PREBUILT="opt/atokx3/lib/server/*
+ opt/atokx3/lib/client/xaux/*
+ opt/atokx3/lib/client/*
+ opt/atokx3/bin/*
+ usr/libexec/*
+ usr/bin/*
+ usr/$(get_libdir)/*
+ usr/$(get_libdir)/gtk-2.0/immodules/*
+ usr/$(get_libdir)/iiim/le/atokx3/64/*
+ usr/$(ABI=x86 get_libdir)/*
+ usr/$(ABI=x86 get_libdir)/gtk-2.0/immodules/*
+ usr/$(ABI=x86 get_libdir)/iiim/*
+ usr/$(ABI=x86 get_libdir)/iiim/le/atokx3/*"
+
EMULTILIB_PKG="true"
S="${WORKDIR}"
@@ -147,14 +179,14 @@
local lib32="$(ABI=x86 get_libdir)"
local lib64="$(get_libdir)"
if [ "${lib32}" != "${lib64}" ] ; then
- for f in /usr/"${lib32}"/iiim/*iiim* ; do
- dosym "${f}" /usr/"${lib64}"/iiim/ || die
+ for f in xiiimp.so xiiimp.a iiim-xbe xiiimp.so.2 xiiimp.so.2.0.0 iiimd-watchdog xiiimp.la ; do
+ dosym "${EPREFIX}/usr/${lib32}/iiim/${f}" "/usr/${lib64}/iiim/${f}" || die
done
- for f in /usr/"${lib32}"/iiim/le/atokx3/atokx3*.so ; do
- dosym "${f}" /usr/"${lib64}"/iiim/le/atokx3/ || die
+ for f in atokx3aux.so atokx3.so ; do
+ dosym "${EPREFIX}/usr/${lib32}/iiim/le/atokx3/${f}" "/usr/${lib64}/iiim/le/atokx3/${f}" || die
done
- dosym /usr/"${lib64}"/iiim/le/atokx3/64 /usr/"${lib32}"/iiim/le/atokx3/64 || die
- dosym /usr/"${lib64}"/iiim/le/atokx3/64 /usr/"${lib32}"/iiim/le/atokx3/amd64 || die
+ dosym "${EPREFIX}/usr/${lib64}/iiim/le/atokx3/64" /usr/"${lib32}"/iiim/le/atokx3/64 || die
+ dosym "${EPREFIX}/usr/${lib64}/iiim/le/atokx3/64" /usr/"${lib32}"/iiim/le/atokx3/amd64 || die
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment