The turkish Hurjet engine for the TFX is entirely indigenous. It is not about being independent but it is about getting experience and pretty much getting the final products at your hand. Russian tech is currently really not that good and haven't produced anything good since the soviet era. If some minor components were from the West or if even Pakistan team-up with EU countries I don't see the issue not saying that this will be the case as west cooperation is not needed at this point.. Pakistan has already people to deliver that
Building an engine for jet-trainer is one thing, whereas design, development and build of an engine for a fifth generation stealth combat aircraft is an entirely different arena all together.
I have serious doubts of Turkey being able to design, develop and build, high performance, long endurance and with substantial TBO stats .... on its own. There are very few nations on earth that have the money, R&D and manufacturing base to develop engines for fifth generation fighters. And Turkey is not one of those nations.
In my view, Turkey has a far greater chance of success, if it collaborates with other engine designing nations, than going at it alone. Best example of that mind-set, is india, which has failed miserably to develop its own fighter-jet engines. india bled money, lost a substantial amount of time and still has neither an engine nor a fifth generation aircraft, to show for all its efforts.
China on the other hand, poured money, intellectual resources, a significant amount of time and established a full spectrum industry to design, develop and manufacture engines for not just fighter-jets and trainer-jets, but also large military cargo aircraft. China is also developing its own Commercial Jetliners. It takes sheer will and unrelenting determination to accomplish such a feat. Not to mention a ton of money and having a large pool of brain power and research facilities.