示例#1
0
def install():
    autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" %
                         (get.installDIR(), get.srcNAME()))

    pisitools.copytree(
        "../smplayer-oxygen-air-theme",
        "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
示例#2
0
def install():
    pisitools.copytree("usr", "%s/usr" % get.installDIR())

    pisitools.dosym("/usr/lib/libcnbpcmcm327.so.6.61.1",
                    "/usr/lib/libcnbpcmcm327.so.6")
    pisitools.dosym("/usr/lib/libcnbpcmcm327.so.6.61.1",
                    "/usr/lib/libcnbpcmcm327.so")
    pisitools.dosym("/usr/lib/libcnbpcnclapi327.so.3.3.0",
                    "/usr/lib/libcnbpcnclapi327.so.3")
    pisitools.dosym("/usr/lib/libcnbpcnclapi327.so.3.3.0",
                    "/usr/lib/libcnbpcnclapi327.so")
    pisitools.dosym("/usr/lib/libcnbpcnclbjcmd327.so.3.3.0",
                    "/usr/lib/libcnbpcnclbjcmd327.so.3")
    pisitools.dosym("/usr/lib/libcnbpcnclbjcmd327.so.3.3.0",
                    "/usr/lib/libcnbpcnclbjcmd327.so")
    pisitools.dosym("/usr/lib/libcnbpcnclui327.so.3.3.0",
                    "/usr/lib/libcnbpcnclui327.so.3")
    pisitools.dosym("/usr/lib/libcnbpcnclui327.so.3.3.0",
                    "/usr/lib/libcnbpcnclui327.so")
    pisitools.dosym("/usr/lib/libcnbpess327.so.3.0.9",
                    "/usr/lib/libcnbpess327.so.3")
    pisitools.dosym("/usr/lib/libcnbpess327.so.3.0.9",
                    "/usr/lib/libcnbpess327.so")
    pisitools.dosym("/usr/lib/libcnbpo327.so.1.0.3",
                    "/usr/lib/libcnbpo327.so.1")
    pisitools.dosym("/usr/lib/libcnbpo327.so.1.0.3", "/usr/lib/libcnbpo327.so")
示例#3
0
def install():
    autotools.rawInstall("-f client.mk DESTDIR=%s" % get.installDIR())

    # Any reason to do this renaming ?
    realdir = shelltools.ls("%s/usr/lib/firefox-?.?.?" % get.installDIR())[0].replace(get.installDIR(), "")
    pisitools.rename(realdir, "MozillaFirefox")

    pisitools.remove("/usr/bin/firefox") # Additional file will replace that

    #install locales
    for locale in locales:
        pisitools.copytree("dist/xpi-stage/locale-%s" % locale, "%s/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]" % (get.installDIR(), locale))
        pisitools.removeDir("/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/defaults" % locale)
        pisitools.remove("/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/chrome/%s/locale/branding/browserconfig.properties" % (locale, locale))
        pisitools.dosym("../../../../../../browserconfig.properties", "/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/chrome/%s/locale/branding/browserconfig.properties" % (locale, locale))

    pisitools.dodir("/usr/lib/MozillaFirefox/dictionaries")
    shelltools.touch("%s%s/dictionaries/tr-TR.aff" % (get.installDIR(), "/usr/lib/MozillaFirefox"))
    shelltools.touch("%s%s/dictionaries/tr-TR.dic" % (get.installDIR(), "/usr/lib/MozillaFirefox"))

    # Create profile dir, we'll copy bookmarks.html in post-install script
    pisitools.dodir("/usr/lib/MozillaFirefox/defaults/profile")

    # Install branding icon
    pisitools.insinto("/usr/share/pixmaps", "browser/branding/official/default256.png", "firefox.png")

    # Install docs
    pisitools.dodoc("LEGAL", "LICENSE")
示例#4
0
def install():
    shelltools.cd("objdir")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    #pisitools.domove("/usr/lib/%s-%s" % (get.srcNAME(), get.srcVERSION()), "/usr/lib", "MozillaFirefox")
    olddir = shelltools.ls("%s/usr/lib/firefox*" % get.installDIR())[0].replace(get.installDIR(), "")
    pisitools.domove(olddir, "/usr/lib", "MozillaFirefox")

    pisitools.remove("/usr/bin/firefox")

    #install locales
    for locale in locales:
        pisitools.copytree("dist/xpi-stage/locale-%s" % locale, "%s/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]" % (get.installDIR(), locale))

    # Remove these
    #pisitools.remove("/usr/lib/MozillaFirefox/defaults/profile/mimeTypes.rdf")
    pisitools.remove("/usr/lib/MozillaFirefox/defaults/profile/bookmarks.html")
    #pisitools.remove("/usr/lib/MozillaFirefox/.autoreg")

    shelltools.cd("..")

    # Install branding icon
    pisitools.insinto("/usr/share/pixmaps", "other-licenses/branding/firefox/default256.png", "firefox.png")

    # Install docs
    pisitools.dodoc("LEGAL", "LICENSE")
示例#5
0
def install():
    autotools.rawInstall(
        "QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s"
        % (get.installDIR(), get.srcNAME()))

    pisitools.copytree(
        "Oxygen-Air",
        "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
示例#6
0
def install():
    pisitools.insinto("/usr/lib/",
                      "mozilla/dist/bin",
                      "MozillaThunderbird",
                      sym=False)

    # Install language packs
    for locale in locales:
        pisitools.copytree(
            "mozilla/dist/xpi-stage/locale-%s" % locale,
            "%s/usr/lib/MozillaThunderbird/extensions/langpack-%[email protected]"
            % (get.installDIR(), locale))

    #install_enigmail()

    # Install default-prefs.js
    pisitools.insinto("%s/defaults/pref" % MOZAPPDIR,
                      ".pardus-default-prefs.js", "all-pardus.js")

    # Empty fake files to get Turkish spell check support working
    pisitools.dodir(
        "%s/extensions/[email protected]/dictionaries" %
        MOZAPPDIR)
    shelltools.touch("%s/%s/%s/dictionaries/tr-TR.aff" %
                     (get.installDIR(), MOZAPPDIR,
                      "extensions/[email protected]"))
    shelltools.touch("%s/%s/%s/dictionaries/tr-TR.dic" %
                     (get.installDIR(), MOZAPPDIR,
                      "extensions/[email protected]"))

    pisitools.removeDir("%s/dictionaries" % MOZAPPDIR)
    pisitools.dosym("/usr/share/hunspell", "%s/dictionaries" % MOZAPPDIR)

    # Remove useless file
    pisitools.remove("/usr/lib/MozillaThunderbird/.purgecaches")

    # Remove this to avoid spellchecking dictionary detection problems
    pisitools.remove("/usr/lib/MozillaThunderbird/defaults/pref/all-l10n.js")

    # Install icons
    pisitools.insinto("/usr/share/pixmaps",
                      "other-licenses/branding/thunderbird/mailicon256.png",
                      "thunderbird.png")
    pisitools.insinto("%s/icons" % MOZAPPDIR,
                      "other-licenses/branding/thunderbird/mailicon16.png")

    for s in (16, 22, 24, 32, 48, 256):
        pisitools.insinto(
            "/usr/share/icons/hicolor/%dx%d/apps" % (s, s),
            "other-licenses/branding/thunderbird/mailicon%d.png" % s,
            "thunderbird.png")

    # Install docs
    pisitools.dodoc("mozilla/LEGAL", "mozilla/LICENSE")
示例#7
0
def install():
    pisitools.copytree("usr", "%s/usr" % get.installDIR())

    pisitools.dosym("/usr/lib/libcnbpcmcm327.so.6.61.1", "/usr/lib/libcnbpcmcm327.so.6")
    pisitools.dosym("/usr/lib/libcnbpcmcm327.so.6.61.1", "/usr/lib/libcnbpcmcm327.so")
    pisitools.dosym("/usr/lib/libcnbpcnclapi327.so.3.3.0", "/usr/lib/libcnbpcnclapi327.so.3")
    pisitools.dosym("/usr/lib/libcnbpcnclapi327.so.3.3.0", "/usr/lib/libcnbpcnclapi327.so")
    pisitools.dosym("/usr/lib/libcnbpcnclbjcmd327.so.3.3.0", "/usr/lib/libcnbpcnclbjcmd327.so.3")
    pisitools.dosym("/usr/lib/libcnbpcnclbjcmd327.so.3.3.0", "/usr/lib/libcnbpcnclbjcmd327.so")
    pisitools.dosym("/usr/lib/libcnbpcnclui327.so.3.3.0", "/usr/lib/libcnbpcnclui327.so.3")
    pisitools.dosym("/usr/lib/libcnbpcnclui327.so.3.3.0", "/usr/lib/libcnbpcnclui327.so")
    pisitools.dosym("/usr/lib/libcnbpess327.so.3.0.9", "/usr/lib/libcnbpess327.so.3")
    pisitools.dosym("/usr/lib/libcnbpess327.so.3.0.9", "/usr/lib/libcnbpess327.so")
    pisitools.dosym("/usr/lib/libcnbpo327.so.1.0.3", "/usr/lib/libcnbpo327.so.1")
    pisitools.dosym("/usr/lib/libcnbpo327.so.1.0.3", "/usr/lib/libcnbpo327.so")
示例#8
0
def install():
    pisitools.insinto("/usr/lib/", "mozilla/dist/bin", "MozillaThunderbird", sym=False)

    # Install language packs
    for locale in locales:
        pisitools.copytree(
            "mozilla/dist/xpi-stage/locale-%s" % locale,
            "%s/usr/lib/MozillaThunderbird/extensions/langpack-%[email protected]" % (get.installDIR(), locale),
        )

    # install_enigmail()

    # Install default-prefs.js
    pisitools.insinto("%s/defaults/pref" % MOZAPPDIR, ".pardus-default-prefs.js", "all-pardus.js")

    # Empty fake files to get Turkish spell check support working
    pisitools.dodir("%s/extensions/[email protected]/dictionaries" % MOZAPPDIR)
    shelltools.touch(
        "%s/%s/%s/dictionaries/tr-TR.aff"
        % (get.installDIR(), MOZAPPDIR, "extensions/[email protected]")
    )
    shelltools.touch(
        "%s/%s/%s/dictionaries/tr-TR.dic"
        % (get.installDIR(), MOZAPPDIR, "extensions/[email protected]")
    )

    pisitools.removeDir("%s/dictionaries" % MOZAPPDIR)
    pisitools.dosym("/usr/share/hunspell", "%s/dictionaries" % MOZAPPDIR)

    # Remove useless file
    pisitools.remove("/usr/lib/MozillaThunderbird/.purgecaches")

    # Remove this to avoid spellchecking dictionary detection problems
    pisitools.remove("/usr/lib/MozillaThunderbird/defaults/pref/all-l10n.js")

    # Install icons
    pisitools.insinto("/usr/share/pixmaps", "other-licenses/branding/thunderbird/mailicon256.png", "thunderbird.png")
    pisitools.insinto("%s/icons" % MOZAPPDIR, "other-licenses/branding/thunderbird/mailicon16.png")

    for s in (16, 22, 24, 32, 48, 256):
        pisitools.insinto(
            "/usr/share/icons/hicolor/%dx%d/apps" % (s, s),
            "other-licenses/branding/thunderbird/mailicon%d.png" % s,
            "thunderbird.png",
        )

    # Install docs
    pisitools.dodoc("mozilla/LEGAL", "mozilla/LICENSE")
示例#9
0
def install():
    shelltools.cd("objdir")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    realdir = shelltools.ls("%s/usr/lib/firefox-?.?" %
                            get.installDIR())[0].replace(get.installDIR(), "")
    pisitools.rename(realdir, "MozillaFirefox")

    pisitools.remove("/usr/bin/firefox")  # Additional file will replace that

    #install locales
    for locale in locales:
        pisitools.copytree(
            "dist/xpi-stage/locale-%s" % locale,
            "%s/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]"
            % (get.installDIR(), locale))
        pisitools.removeDir(
            "/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/defaults"
            % locale)
        pisitools.remove(
            "/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/chrome/%s/locale/branding/browserconfig.properties"
            % (locale, locale))
        pisitools.dosym(
            "../../../../../../browserconfig.properties",
            "/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/chrome/%s/locale/branding/browserconfig.properties"
            % (locale, locale))

    pisitools.dodir("/usr/lib/MozillaFirefox/dictionaries")
    shelltools.touch("%s%s/dictionaries/tr-TR.aff" %
                     (get.installDIR(), "/usr/lib/MozillaFirefox"))
    shelltools.touch("%s%s/dictionaries/tr-TR.dic" %
                     (get.installDIR(), "/usr/lib/MozillaFirefox"))

    # Create profile dir, we'll copy bookmarks.html in post-install script
    pisitools.dodir("/usr/lib/MozillaFirefox/defaults/profile")

    shelltools.cd("..")

    # Install branding icon
    pisitools.insinto("/usr/share/pixmaps",
                      "other-licenses/branding/firefox/default256.png",
                      "firefox.png")

    # Install docs
    pisitools.dodoc("LEGAL", "LICENSE")
示例#10
0
def install():
    # Kernel driver
    pisitools.dodir("/lib/modules/%s/kernel/drivers/video" % get.curKERNEL())
    shelltools.copy("usr/src/nv/nvidia.ko","%s/lib/modules/%s/kernel/drivers/video/nvidia.ko" % (get.installDIR(),get.curKERNEL()))

    # X driver
    pisitools.dodir("/usr/lib/xorg/modules/drivers")
    shelltools.copy("usr/X11R6/lib/modules/drivers/nvidia_drv.so","%s/usr/lib/xorg/modules/drivers/nvidia_drv.so" % get.installDIR())

    # XvMC library
    pisitools.dodir("/usr/lib")
    shelltools.copy("usr/X11R6/lib/libXvMCNVIDIA*","%s/usr/lib" % get.installDIR())
    pisitools.dosym("/usr/lib/libXvMCNVIDIA.so.1.0.%s" % BuildNo,"/usr/lib/libXvMCNVIDIA.so")

    # Glx library & headers
    pisitools.dodir("/usr/lib/opengl/nvidia")

    pisitools.copytree("usr/include","%s/usr/lib/opengl/nvidia/include" % get.installDIR())
    pisitools.copytree("usr/lib", "%s/usr/lib/opengl/nvidia/lib" % get.installDIR())
    pisitools.copytree("usr/X11R6/lib/modules/extensions/", "%s/usr/lib/opengl/nvidia/extensions" % get.installDIR())

    pisitools.dosym("/usr/lib/opengl/nvidia/extensions/libglx.so.1.0.%s" % BuildNo,"/usr/lib/opengl/nvidia/extensions/libglx.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.%s" % BuildNo,"/usr/lib/opengl/nvidia/lib/libGLcore.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.%s" % BuildNo,"/usr/lib/opengl/nvidia/lib/libGLcore.so.1")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGL.so.1.0.%s" % BuildNo,"/usr/lib/opengl/nvidia/lib/libGL.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGL.so.1.0.%s" % BuildNo,"/usr/lib/opengl/nvidia/lib/libGL.so.1")

    # Our libc is TLS enabled so use TLS library
    pisitools.remove("/usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1.0.%s" % BuildNo)
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.1.0.%s" % BuildNo,"/usr/lib/libnvidia-tls.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.1.0.%s" % BuildNo,"/usr/lib/libnvidia-tls.so.1")

    # nVIDIA utilities
    pisitools.dobin("usr/bin/nvidia-bug-report.sh")
    pisitools.dobin("usr/bin/nvidia-settings")
示例#11
0
def install():
    # Kernel driver
    pisitools.dodir("/lib/modules/%s/kernel/drivers/video" % get.curKERNEL())
    shelltools.copy("usr/src/nv/nvidia.ko","%s/lib/modules/%s/kernel/drivers/video/nvidia.ko" % (get.installDIR(),get.curKERNEL()))

    # X driver
    pisitools.dodir("/usr/lib/xorg/modules/drivers")
    shelltools.copy("usr/X11R6/lib/modules/drivers/nvidia_drv.so","%s/usr/lib/xorg/modules/drivers/nvidia_drv.so" % get.installDIR())

    # XvMC library
    pisitools.dodir("/usr/lib")
    shelltools.copy("usr/X11R6/lib/libXvMCNVIDIA*","%s/usr/lib" % get.installDIR())
    pisitools.dosym("/usr/lib/libXvMCNVIDIA.so.%s" % get.srcVERSION(),"/usr/lib/libXvMCNVIDIA.so")

    # Glx library & headers
    pisitools.dodir("/usr/lib/opengl/nvidia")

    pisitools.copytree("usr/include","%s/usr/lib/opengl/nvidia/include" % get.installDIR())
    pisitools.copytree("usr/lib", "%s/usr/lib/opengl/nvidia/lib" % get.installDIR())
    pisitools.copytree("usr/X11R6/lib/modules/extensions/", "%s/usr/lib/opengl/nvidia/extensions" % get.installDIR())

    pisitools.dosym("/usr/lib/opengl/nvidia/extensions/libglx.so.%s" % get.srcVERSION(),"/usr/lib/opengl/nvidia/extensions/libglx.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGLcore.so.%s" % get.srcVERSION(),"/usr/lib/opengl/nvidia/lib/libGLcore.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGLcore.so.%s" % get.srcVERSION(),"/usr/lib/opengl/nvidia/lib/libGLcore.so.1")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGL.so.%s" % get.srcVERSION(),"/usr/lib/opengl/nvidia/lib/libGL.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGL.so.%s" % get.srcVERSION(),"/usr/lib/opengl/nvidia/lib/libGL.so.1")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libGL.so.%s" % get.srcVERSION(),"/usr/lib/opengl/nvidia/lib/libGL.so.1.2")

    # Cuda library
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libcuda.so.%s" % get.srcVERSION(),"/usr/lib/libcuda.so")

    # nvidia-cfg library
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.%s" % get.srcVERSION(), "/usr/lib/libnvidia-cfg.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.%s" % get.srcVERSION(), "/usr/lib/libnvidia-cfg.so.1")

    # libwfb.so replacement for some GPUs
    pisitools.insinto("/usr/lib/xorg/modules","usr/X11R6/lib/modules/libnvidia-wfb.so.%s" % get.srcVERSION())
    pisitools.dosym("/usr/lib/xorg/modules/libnvidia-wfb.so.%s" % get.srcVERSION(),"/usr/lib/xorg/modules/libwfb.so")

    # Our libc is TLS enabled so use TLS library
    pisitools.remove("/usr/lib/opengl/nvidia/lib/libnvidia-tls.so.%s" % get.srcVERSION())
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.%s" % get.srcVERSION(),"/usr/lib/libnvidia-tls.so")
    pisitools.dosym("/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.%s" % get.srcVERSION(),"/usr/lib/libnvidia-tls.so.1")

    # Documentation
    pisitools.dodir("/usr/share/doc")
    shelltools.copytree("usr/share/doc","%s/usr/share/doc/%s" % (get.installDIR(),get.srcTAG()))
    shelltools.copytree("usr/share/man/","%s/usr/share/man" % get.installDIR())

    # nVIDIA utilities
    pisitools.dobin("usr/bin/nvidia-bug-report.sh")
    pisitools.dobin("usr/bin/nvidia-settings")
    pisitools.dobin("usr/bin/nvidia-xconfig")
示例#12
0
def install():
    autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(), get.srcNAME()))

    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/blackPanther-Light",
        "%s/usr/share/smplayer/themes/blackPanther-Light" % get.installDIR(),
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/blackPanther-Real",
        "%s/usr/share/smplayer/themes/blackPanther-Real" % get.installDIR(),
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/blackPanther-VistaLike",
        "%s/usr/share/smplayer/themes/blackPanther-VistaLike" % get.installDIR(),
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Gnome", "%s/usr/share/smplayer/themes/Faenza" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Gnome", "%s/usr/share/smplayer/themes/Faenza-Darkest" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Gnome", "%s/usr/share/smplayer/themes/Faenza-Silver" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Gartoon", "%s/usr/share/smplayer/themes/Gartoon" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Gnome", "%s/usr/share/smplayer/themes/Gnome" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Monochrome", "%s/usr/share/smplayer/themes/Monochrome" % get.installDIR()
    )
    pisitools.copytree("../smplayer-themes-14.12.0/themes/Noia", "%s/usr/share/smplayer/themes/Noia" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Numix-uTouch", "%s/usr/share/smplayer/themes/Numix-remix" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Numix-uTouch", "%s/usr/share/smplayer/themes/Numix-uTouch" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Nuvola", "%s/usr/share/smplayer/themes/Nuvola" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Oxygen", "%s/usr/share/smplayer/themes/Oxygen" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Oxygen-Air", "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Oxygen-Air", "%s/usr/share/smplayer/themes/Oxygen-KDE" % get.installDIR()
    )
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Oxygen-Refit", "%s/usr/share/smplayer/themes/Oxygen-Refit" % get.installDIR()
    )
    pisitools.copytree("../smplayer-themes-14.12.0/themes/Silk", "%s/usr/share/smplayer/themes/Silk" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.12.0/themes/Tango", "%s/usr/share/smplayer/themes/Tango" % get.installDIR()
    )
示例#13
0
def install():
    autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(),get.srcNAME()))

    pisitools.copytree("../smplayer-oxygen-air-theme", "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/blackPanther-Light", "%s/usr/share/smplayer/themes/blackPanther-Light" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/blackPanther-Real", "%s/usr/share/smplayer/themes/blackPanther-Real" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/blackPanther-VistaLike", "%s/usr/share/smplayer/themes/blackPanther-VistaLike" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Gartoon", "%s/usr/share/smplayer/themes/Gartoon" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Gnome", "%s/usr/share/smplayer/themes/Gnome" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Noia", "%s/usr/share/smplayer/themes/Noia" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Nuvola", "%s/usr/share/smplayer/themes/Nuvola" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Oxygen", "%s/usr/share/smplayer/themes/Oxygen" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Oxygen-Refit", "%s/usr/share/smplayer/themes/Oxygen-Refit" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Silk", "%s/usr/share/smplayer/themes/Silk" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Tango", "%s/usr/share/smplayer/themes/Tango" % get.installDIR())
示例#14
0
def install():
    autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" %
                         (get.installDIR(), get.srcNAME()))

    pisitools.copytree(
        "../smplayer-themes-20120919/Oxygen-Air",
        "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-20120919/blackPanther-Light",
        "%s/usr/share/smplayer/themes/blackPanther-Light" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-20120919/blackPanther-Real",
        "%s/usr/share/smplayer/themes/blackPanther-Real" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-20120919/blackPanther-VistaLike",
        "%s/usr/share/smplayer/themes/blackPanther-VistaLike" %
        get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-20120919/Gartoon",
        "%s/usr/share/smplayer/themes/Gartoon" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Gnome",
                       "%s/usr/share/smplayer/themes/Gnome" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Noia",
                       "%s/usr/share/smplayer/themes/Noia" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-20120919/Nuvola",
        "%s/usr/share/smplayer/themes/Nuvola" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-20120919/Oxygen",
        "%s/usr/share/smplayer/themes/Oxygen" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-20120919/Oxygen-Refit",
        "%s/usr/share/smplayer/themes/Oxygen-Refit" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Silk",
                       "%s/usr/share/smplayer/themes/Silk" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Tango",
                       "%s/usr/share/smplayer/themes/Tango" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Black",
                       "%s/usr/share/smplayer/themes/Black" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Gonzo",
                       "%s/usr/share/smplayer/themes/Gonzo" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Mac",
                       "%s/usr/share/smplayer/themes/Mac" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-20120919/Modern",
        "%s/usr/share/smplayer/themes/Modern" % get.installDIR())
    pisitools.copytree("../smplayer-themes-20120919/Vista",
                       "%s/usr/share/smplayer/themes/Vista" % get.installDIR())
示例#15
0
def install():
    pisitools.copytree("usr", "%s/usr" % get.installDIR())

    for lib in shelltools.ls("%s/usr/lib/*.so*" % get.installDIR()):
        pisitools.dosym(os.path.basename(lib), "/usr/lib/%s.so" % os.path.basename(lib).split(".")[0])
示例#16
0
def install():
    autotools.rawInstall("QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(),get.srcNAME()))

    pisitools.copytree("Oxygen-Air", "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
示例#17
0
def install():
    autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(),get.srcNAME()))

    pisitools.copytree("../smplayer-oxygen-air-theme", "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
示例#18
0
def install():
    autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" %
                         (get.installDIR(), get.srcNAME()))

    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/blackPanther-Light",
        "%s/usr/share/smplayer/themes/blackPanther-Light" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/blackPanther-Real",
        "%s/usr/share/smplayer/themes/blackPanther-Real" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/blackPanther-VistaLike",
        "%s/usr/share/smplayer/themes/blackPanther-VistaLike" %
        get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/Gartoon",
        "%s/usr/share/smplayer/themes/Gartoon" % get.installDIR())
    pisitools.copytree("../smplayer-themes-14.9.0/themes/Gnome",
                       "%s/usr/share/smplayer/themes/Gnome" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/Monochrome",
        "%s/usr/share/smplayer/themes/Monochrome" % get.installDIR())
    pisitools.copytree("../smplayer-themes-14.9.0/themes/Noia",
                       "%s/usr/share/smplayer/themes/Noia" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/Numix-uTouch",
        "%s/usr/share/smplayer/themes/Numix-uTouch" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/Nuvola",
        "%s/usr/share/smplayer/themes/Nuvola" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/Oxygen",
        "%s/usr/share/smplayer/themes/Oxygen" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/Oxygen-Air",
        "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
    pisitools.copytree(
        "../smplayer-themes-14.9.0/themes/Oxygen-Refit",
        "%s/usr/share/smplayer/themes/Oxygen-Refit" % get.installDIR())
    pisitools.copytree("../smplayer-themes-14.9.0/themes/Silk",
                       "%s/usr/share/smplayer/themes/Silk" % get.installDIR())
    pisitools.copytree("../smplayer-themes-14.9.0/themes/Tango",
                       "%s/usr/share/smplayer/themes/Tango" % get.installDIR())
示例#19
0
def install():
    autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(),get.srcNAME()))

    pisitools.copytree("../smplayer-themes-18.6.0/themes/blackPanther-Light", "%s/usr/share/smplayer/themes/blackPanther-Light" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/blackPanther-Real", "%s/usr/share/smplayer/themes/blackPanther-Real" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/blackPanther-VistaLike", "%s/usr/share/smplayer/themes/blackPanther-VistaLike" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Breeze", "%s/usr/share/smplayer/themes/Breeze" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Breeze-dark", "%s/usr/share/smplayer/themes/Breeze-dark" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/ePapirus", "%s/usr/share/smplayer/themes/ePapirus" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Faenza", "%s/usr/share/smplayer/themes/Faenza" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Faenza-Darkest", "%s/usr/share/smplayer/themes/Faenza-Darkest" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Faenza-Silver", "%s/usr/share/smplayer/themes/Faenza-Silver" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Gartoon", "%s/usr/share/smplayer/themes/Gartoon" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Gnome", "%s/usr/share/smplayer/themes/Gnome" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Masalla", "%s/usr/share/smplayer/themes/Masalla" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Monochrome", "%s/usr/share/smplayer/themes/Monochrome" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Noia", "%s/usr/share/smplayer/themes/Noia" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Numix-remix", "%s/usr/share/smplayer/themes/Numix-remix" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Numix-uTouch", "%s/usr/share/smplayer/themes/Numix-uTouch" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Nuvola", "%s/usr/share/smplayer/themes/Nuvola" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Oxygen", "%s/usr/share/smplayer/themes/Oxygen" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Oxygen-Air", "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Oxygen-Air", "%s/usr/share/smplayer/themes/Oxygen-KDE" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Oxygen-Refit", "%s/usr/share/smplayer/themes/Oxygen-Refit" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Papirus", "%s/usr/share/smplayer/themes/Papirus" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/PapirusDark", "%s/usr/share/smplayer/themes/PapirusDark" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Silk", "%s/usr/share/smplayer/themes/Silk" % get.installDIR())
    pisitools.copytree("../smplayer-themes-18.6.0/themes/Tango", "%s/usr/share/smplayer/themes/Tango" % get.installDIR())